Commit Graph

3601 Commits

Author SHA1 Message Date
0a0c62f384 Fixes to CI bench comparison (#2319)
* Fixes to CI bench comparison

- The table columns did not match the header
- The last commit was not identified correctly

* review comments
2019-01-07 14:26:21 -08:00
6000df9779 Optimize has_duplicates() for short slices 2019-01-07 13:20:04 -07:00
24963e547c with_subset() -> get_subset_unchecked_mut()
A simpler, safer, and better documented use of unsafe code
2019-01-07 13:20:04 -07:00
3ad3dee4ef Retry node registration to avoid failing before the local vote signer starts 2019-01-07 11:02:35 -08:00
46d44ca99c Add make_rpc_request retry mechanism 2019-01-07 11:02:35 -08:00
06d1af8b18 Remove stale comment 2019-01-07 09:35:39 -08:00
d34b2c4ffd Bump tokio from 0.1.13 to 0.1.14
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.13...tokio-0.1.14)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 08:38:15 -07:00
0c52df7569 Consolidate locks and error handling when loading accounts(#2309) 2019-01-06 22:06:55 -08:00
91bd38504e Use vote signer service in fullnode (#2009)
* Use vote signer service in fullnode

* Use native types for signature and pubkey, and address other review comments

* Start local vote signer if a remote service address is not provided

* Rebased to master

* Fixes after rebase
2019-01-05 12:57:52 -08:00
71a2b794b4 Enable info logging on non-perf clusters to aid debug of failures 2019-01-05 08:28:32 -08:00
373714bf0b Disable publish snap again 2019-01-04 21:20:33 -08:00
ee769171b9 Restore publish snap 2019-01-04 20:46:44 -08:00
6ebadbcca3 Plot testnet-manager events 2019-01-04 20:12:11 -08:00
3f60d98163 Update comments (#2310) 2019-01-04 19:19:56 -08:00
ea00c1274e Add net sanity failure metric 2019-01-04 18:45:55 -08:00
b7dc9dbc76 RPC API now assumes a drone running on the bootstrap leader 2019-01-04 18:45:55 -08:00
8b357dcb32 cargo fmt 2019-01-04 16:39:04 -08:00
1f6346d880 De-dup ledgers - db_ledger is now the only ledger written to disk 2019-01-04 16:37:00 -08:00
b7bd38744c Spelling and formatting 2019-01-04 16:04:31 -08:00
f8a67e282a Ignore test_tpu_forwarder (#2307) 2019-01-04 16:02:50 -08:00
0a7e199c82 Don't follow the leader: assume drone runs on the network entrypoint 2019-01-04 15:58:42 -08:00
5143f6d6f1 Boot unused crate 2019-01-04 14:34:23 -07:00
30b662df39 Remove clones in native programs 2019-01-04 13:38:03 -07:00
33f2d83506 Add timeout and prints to port search
Otherwise nc can hang forever.
2019-01-04 11:07:17 -08:00
4244a14ad3 Bump rand from 0.6.2 to 0.6.3
Bumps [rand](https://github.com/rust-random/rand) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.6.2...0.6.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 11:09:27 -07:00
f031fe58fa Bump rand from 0.6.1 to 0.6.2
Bumps [rand](https://github.com/rust-random/rand) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.6.1...0.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 08:43:36 -07:00
84cc240f34 Enhance ledger-tool
Add a command-line argument (min-hashes) to restrict the entries
processed by ledger-tool.  For example, --min-hashes 1 will strip
"empty" Entries, i.e. those with num_hashes = 0.

Add basic ledger tool test
2019-01-04 08:17:43 -07:00
b26906df1b Bump rand_chacha from 0.1.0 to 0.1.1
Bumps [rand_chacha](https://github.com/rust-random/rand) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_chacha-0.1.0...rand_isaac-0.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 08:15:18 -07:00
56a3197f7f spelling 2019-01-03 18:48:24 -08:00
0505d7bd32 Don't double-clone every account 2019-01-03 17:42:37 -07:00
a448c0b81e implement per-thread, per-batch sleep in ms (throttling allows easier UI dev) (#2293)
* implement per-thread, per-batch sleep in ms (throttling allows easier UI development)
* tidy up sleep() call with Duration::from_millis() instead of Duration::new()
* fixup indentation style
* removing multinode-demo/client-throttled.sh (same functionality available via arguments)
2019-01-03 17:16:06 -05:00
8116fe8def Add proposed design for db_ledger (#2253)
* Add proposed design for db_ledger
2019-01-03 14:12:55 -08:00
7c6dcc8c73 Ignore wallet/target 2019-01-03 10:28:43 -08:00
1a9401e1f3 Permit build on Cargo.{lock,toml} changes 2019-01-03 09:35:11 -08:00
00d310f86d Remove some metrics datapoint, as it was causing excessive logging (#2287)
- 100 nodes test was bringing down the influx DB server
2019-01-03 09:25:11 -08:00
c4259fc8cc Bump libc from 0.2.45 to 0.2.46
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.45 to 0.2.46.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.45...0.2.46)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 09:13:03 -07:00
8c5614daa1 Bump serde_derive from 1.0.82 to 1.0.84
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.82 to 1.0.84.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.82...v1.0.84)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 15:54:13 -08:00
eb668c6466 Bump serde from 1.0.82 to 1.0.84
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.82 to 1.0.84.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.82...v1.0.84)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 16:42:35 -07:00
a461c5682d First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
e3478ee2ab svg logo and increased font size for better reading experience 2019-01-02 08:33:57 -07:00
0bea870b22 Dynamic N layer 'avalanche' broadcast and retransmit (#2058)
* Dynamic N layer avalanche broadcast and retransmit
2019-01-02 14:16:15 +05:30
5fbdc6450d Bump serde_json from 1.0.33 to 1.0.34
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.33...v1.0.34)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-30 21:15:59 -08:00
1531a1777a Add RPC API check 2018-12-24 22:51:36 -08:00
f38345fdad Cargo.lock 2018-12-24 22:51:36 -08:00
04d46ea33f Run oom-monitor as root 2018-12-24 22:51:36 -08:00
3a2fa9a650 Enable ledger/validator sanity for non-perf testnets 2018-12-24 22:51:36 -08:00
f5bbc5e961 Fix args 2018-12-23 20:56:13 -08:00
95c9fefbd0 Make sanity failure message more visible 2018-12-23 17:30:59 -08:00
073a48ab85 Restore timeout 2018-12-23 17:30:41 -08:00
753a783ba9 Add solana user to adm group for /var/log/syslog access 2018-12-23 17:28:35 -08:00