Commit Graph

3133 Commits

Author SHA1 Message Date
bc96bd3410 Fix peer count in edge dashboard (#2090)
Fixes #2075
2018-12-10 14:24:32 -08:00
094f0a8be3 Leader rotation flag plumbing 2018-12-10 14:07:59 -08:00
3d996bf080 Disable leader rotation on CI testnets until it's ready 2018-12-10 14:07:59 -08:00
4b05ee6811 Add hacky sleep 2018-12-10 14:05:00 -08:00
d7032aeb43 Add vote instruction debug log 2018-12-10 13:24:14 -08:00
4ea1c030bc Give bootstrap leader one more token 2018-12-10 13:24:14 -08:00
172e511e56 Use retry_transfer to test multiple times for replicator tokens
May fix failures in CI where replicator is trying to do an airdrop.
2018-12-10 12:19:00 -08:00
4481efd51e Merge pull request #2084 from CriesofCarrots/fix-wallet-accountinuse
Fix wallet accountinuse
2018-12-10 12:20:55 -07:00
337c2bfd29 Fix spelling 2018-12-10 09:31:17 -08:00
ffc82c027e Fix markdown rendering 2018-12-10 09:53:56 -07:00
e8fd5b4600 Correct keypair argument 2018-12-10 08:41:22 -08:00
67f8916aa8 Bump serde from 1.0.80 to 1.0.81
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.80...v1.0.81)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 08:38:52 -08:00
96e01f3a79 Bump itertools from 0.7.11 to 0.8.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.7.11 to 0.8.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Commits](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 08:58:26 -07:00
1e755f261f Bump serde_derive from 1.0.80 to 1.0.81
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.80...v1.0.81)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 08:56:45 -07:00
b2ddac610c Add option to skip setup during cluster start 2018-12-10 07:47:15 -08:00
ad05f64b13 crdt-vote-count metric is now named cluster_info-vote-count 2018-12-09 19:23:11 -08:00
9b472d36fc Add --path . to keep new cargo content 2018-12-09 18:09:03 -08:00
b54b0a1d25 Document that -P is now available for |config| 2018-12-09 15:25:27 -08:00
f5794de636 Clean up bootstrap leader terminology in comments and variable names 2018-12-09 15:25:27 -08:00
7ae9d9690b mkdir-p for the caller 2018-12-09 09:41:14 -08:00
db3cca7fbe Display wallet address before airdrop to help with debug on airdrop failures 2018-12-09 09:41:14 -08:00
b9743957fa Make directory to hold programs 2018-12-09 08:38:41 -08:00
0ef099421c cargo fmt 2018-12-08 23:19:55 -07:00
f1ae5b1795 Fix warnings 2018-12-08 23:19:55 -07:00
a8d6c75a24 cargo +nightly fix --features=bpf_c,cuda,erasure,chacha --edition-idioms 2018-12-08 23:19:55 -07:00
1c2394227e Enable Rust 2018 2018-12-08 23:19:55 -07:00
c49e2f8bbd cargo +nightly fix --features=bpf_c,cuda,erasure,chacha --edition 2018-12-08 23:19:55 -07:00
af403ba6fa Ignore broken chacha bench 2018-12-08 23:19:55 -07:00
ec5a8141eb cargo fix --edition 2018-12-08 23:19:55 -07:00
92584bd323 Only run the audit 2018-12-08 23:19:55 -07:00
586d9ee850 fix some nits (#2034)
rework maybe_cargo_install(), renamed to cargo_install_unless, updated to take a command to attempt
2018-12-08 19:14:19 -08:00
2de45a4da5 Update airdrop tokens to 3 for fullnode (#2051)
Filter out leader while computing the super majority stake
2018-12-08 16:54:42 -08:00
f5569e76db Relocate native programs to deps/ subdirectory of the current executable
This layout is `cargo build` compatible, no post-build file moves
required.
2018-12-08 16:31:01 -08:00
3a13ecba1f Upgrade to Rust 1.31.0 2018-12-08 11:45:59 -08:00
73b9ee9e84 Add solana_ prefix to native_loader program
This allows its logging to show up in the default RUST_LOG=solana=info
log setting
2018-12-08 11:04:45 -08:00
b1682558a6 Remove optional --identity argument to simplify command 2018-12-08 10:22:51 -08:00
0a7c07977d Follow-up to 872a3317b 2018-12-08 09:23:08 -08:00
0a83b17cdd Upgrade to Rust 1.31.0 (#2052)
* Upgrade to Rust 1.31.0
* Upgrade nightly
* Fix all clippy warnings
* Revert relaxed version check and update
2018-12-07 20:01:28 -07:00
2bad6584f6 Update solana-genesis arguments 2018-12-07 16:57:02 -08:00
872a3317b5 Fully switch to bootstrap-leader for command-line args 2018-12-07 16:57:02 -08:00
38901002b0 Accept an ip address in addition to domain name 2018-12-07 16:57:02 -08:00
1db6a882bb rsync of genesis ledger now works for non-snap deployments 2018-12-07 16:57:02 -08:00
571522e738 Update jsonrpc version 2018-12-07 17:47:54 -07:00
b5a80d3d49 Update ledger replication chapter (#2029)
* ledger block -> ledger segment

The book already defines a *block* to be a slight variation of
how block-based changes define it. It's the thing the cluster
confirms should be the next set of transactions on the ledger.

* Boot storage description from the book
2018-12-07 16:52:36 -07:00
3441d3399b Replicator rework
* Move more of the replicator logic into the replicator class
* Add support for the RPC interface to query the storage last_id value
  that the replicator would sign and use to pick a block.
* Fix replicator connecting to gossip and change test to exercise that
  scenario.
2018-12-07 15:20:36 -08:00
fa288ab197 Remove note about replicators mining on same identity
Replicators pick their own identity, validators sample from
those.
2018-12-07 14:41:53 -08:00
af11562627 Correct ledger path 2018-12-07 11:32:08 -08:00
286f08f095 Drop old validator name, use fullnode instead 2018-12-07 11:32:08 -08:00
92c3e26c7a Flip symlinks 2018-12-07 11:32:08 -08:00
6516c2532d Ensure native programs for the correct platform are installed 2018-12-07 11:32:08 -08:00