1b65f9189e
Add special handling for snapshot root slot in get_confirmed_block (bp #7430 ) ( #7434 )
...
automerge
2019-12-11 14:44:42 -08:00
57d91c9da0
Fix sigverify metrics ( #7393 ) ( #7405 )
...
automerge
2019-12-10 12:10:23 -08:00
a6e6ec63f1
Better space out show-stake-history columns ( #7403 )
...
automerge
2019-12-10 08:56:31 -08:00
b8b1e57df4
Fix offline stakes payer ( #7385 ) ( #7394 )
...
automerge
2019-12-09 23:44:51 -08:00
969afe54c2
Improve get-epoch-info output for longer epoch durations ( #7392 )
...
automerge
2019-12-09 23:17:18 -08:00
5a8d4dcbd7
Fix stable metrics graph: "Bank Height / Slot Distance ($hostid)"
2019-12-09 22:57:48 -07:00
685ef72288
Continue processing the ledger on InvalidTickCount errors ( #7387 )
...
automerge
2019-12-09 16:24:26 -08:00
521fd755ac
Fix Erasure Index ( #7319 ) ( #7371 )
...
automerge
2019-12-09 14:22:26 -08:00
74fe6163c6
Support local cluster edge case testing ( #7135 ) ( #7382 )
...
automerge
2019-12-09 13:42:16 -08:00
6e592dba17
Remove redundant check ( #7369 ) ( #7375 )
...
automerge
2019-12-09 01:58:53 -08:00
625a9fd932
Properly set parallelism ( #7370 ) ( #7372 )
...
automerge
2019-12-09 01:03:35 -08:00
5d37a0d108
Bump version to 0.21.3
2019-12-08 22:55:06 -07:00
68cb6aa1af
no lockups for community (bp #7366 ) ( #7367 )
...
automerge
2019-12-08 20:57:00 -08:00
9d0cb47367
500M SOL (bp #7361 ) ( #7365 )
...
automerge
2019-12-08 15:37:25 -08:00
569d0ccb4d
Add argument to configure the authorized pubkey for the bootstrap leader's stake ( #7362 ) ( #7363 )
...
automerge
2019-12-08 13:40:12 -08:00
ffe17566f1
Adjust show-validators column alignment ( #7359 ) ( #7360 )
...
automerge
2019-12-08 09:39:39 -08:00
293ad196f3
Account for all tokens at genesis (bp #7350 ) ( #7358 )
...
automerge
2019-12-08 09:07:39 -08:00
729e1159aa
Add Forbole ValidatorInfo ( #7355 ) ( #7357 )
...
automerge
2019-12-07 23:19:25 -08:00
f9d354f711
Add Stake Capital ValidatorInfo ( #7346 ) ( #7347 )
...
automerge
2019-12-07 01:39:30 -08:00
f9849b515b
getVoteAccounts RPC API no longer returns "idle" vote accounts, take II (bp #7344 ) ( #7345 )
...
automerge
2019-12-07 00:52:12 -08:00
fdc0276ed1
Update cargo version to 0.21.2 ( #7342 )
2019-12-06 21:32:39 -05:00
08569c81e9
getVoteAccounts RPC API no longer returns "idle" vote accounts ( #7339 ) ( #7341 )
...
automerge
2019-12-06 18:13:46 -08:00
3ba89f8363
Add more pool tokens ( #7338 ) ( #7340 )
...
automerge
(cherry picked from commit 8a908a6864
)
2019-12-06 18:04:26 -07:00
9161dbc08e
Fix typo ( #7336 ) ( #7337 )
...
(cherry picked from commit 2d6ed7142f
)
2019-12-06 16:50:33 -07:00
a1b2fa295a
cli: Confirm recovered pubkeys ( #7316 ) ( #7321 )
...
automerge
2019-12-06 13:34:32 -08:00
4f33eaa9dd
Increase signature confirmation timeout to fix wallet sanity ( #7283 ) ( #7332 )
...
automerge
2019-12-06 13:29:33 -08:00
3718bab078
Add spare validator accounts ( #7330 )
...
automerge
2019-12-06 11:55:24 -08:00
dfc48705a4
more genesis ( #7291 )
2019-12-06 10:50:26 -07:00
f59115b503
bs58 ( #7252 )
2019-12-06 10:49:14 -07:00
cac467118e
Update name
2019-12-06 10:15:51 -07:00
d0718075a7
Add pools ( #7324 )
2019-12-06 09:27:00 -07:00
ad55cc79b3
Add verify of keypair ( #7301 ) ( #7322 )
...
automerge
2019-12-06 08:26:33 -08:00
5111cc10ca
Add ChainFlow ValidatorInfo
2019-12-06 09:23:20 -07:00
a1736606dc
Fail fast if account paths cannot be canonicalized ( #7300 ) ( #7315 )
...
automerge
2019-12-05 19:45:39 -08:00
bae659b9c7
Add docs for using a paper wallet with solana cli ( #7311 ) ( #7317 )
...
automerge
2019-12-05 19:38:18 -08:00
c480c2225d
Add RockX ValidatorInfo ( #7310 ) ( #7312 )
...
automerge
2019-12-05 18:55:29 -08:00
52771c472e
Add ChorusOne ValidatorInfo ( #7306 ) ( #7308 )
...
automerge
2019-12-05 15:31:12 -08:00
5ce21827c8
Only serialize rooted append vecs ( #7281 ) ( #7307 )
...
automerge
2019-12-05 15:02:55 -08:00
a2c4a70fbf
Canonicalize paths before symlink-ing when generating snapshots ( #7294 ) ( #7299 )
...
automerge
2019-12-05 12:34:42 -08:00
d6e5f78834
custodian signs withdraw ( #7286 ) ( #7290 )
...
automerge
2019-12-04 21:57:47 -08:00
74eb408460
vote update node_id ( #7253 ) ( #7285 )
...
automerge
2019-12-04 18:24:00 -08:00
a4c6576ba4
Import validators ( #7282 ) ( #7284 )
...
automerge
2019-12-04 18:02:00 -08:00
1fcc391a8d
Fix typo, grammar, and formatting in Paper Wallet documentation ( #7268 ) ( #7271 )
...
automerge
2019-12-04 13:19:16 -08:00
2970f960a4
Sanitize whitespace in seed phrase input ( #7260 ) ( #7267 )
...
automerge
2019-12-04 12:32:28 -08:00
d06bea7fb2
genesis validators ( #7235 ) ( #7256 )
...
* genesis validators (#7235 )
* genesis validators
* slp1 nodes get 500SOL
* no commission
* clippy
2019-12-04 11:34:21 -08:00
45a57e8513
Use wrappable code snippet for paper wallet installation ( #7261 ) ( #7262 )
...
automerge
2019-12-04 09:33:49 -08:00
3622e513aa
make tx fee's burn percent in proper range ( #7226 ) ( #7228 )
...
automerge
2019-12-04 03:11:25 -08:00
c4e1faa853
genesis config hashmaps ( #7107 ) ( #7255 )
...
automerge
2019-12-03 23:44:24 -08:00
905428bee6
Allow generation of longer seed phrases with keygen ( #7210 ) ( #7249 )
...
automerge
2019-12-03 21:56:06 -08:00
9596e7772c
commission as percent ( #7239 ) ( #7251 )
...
automerge
2019-12-03 21:42:01 -08:00
5294fe6292
Remove extra installation options for paper wallet ( #7245 ) ( #7247 )
...
automerge
2019-12-03 20:12:57 -08:00
571cf53827
Add Paper Wallet Installation page to sidebar ( #7242 ) ( #7243 )
2019-12-03 22:13:20 -05:00
35ae76532a
Use procedural macro to generate static public keys (bp #7219 ) ( #7241 )
...
automerge
2019-12-03 19:07:19 -08:00
57dce86d5e
Update paper wallet documentation ( #7223 ) ( #7237 )
...
automerge
2019-12-03 17:32:55 -08:00
797cb01bb8
enforce proper range for rent burn_percent ( #7217 ) ( #7224 )
...
automerge
2019-12-03 11:59:16 -08:00
9eded7a227
Prevent passphrase mistakes with confirmation prompt ( #7207 ) ( #7211 )
...
(cherry picked from commit b874441a47
)
2019-12-03 11:48:13 -07:00
a8d32103d1
Ensure IpEchoServerMessage is not fragmented ( #7214 ) ( #7215 )
...
automerge
2019-12-02 23:00:56 -08:00
49d4925856
Fix typo ( #7202 ) ( #7205 )
...
automerge
2019-12-02 19:26:42 -08:00
f5fad5b43d
Correctly parse ip echo server response and fix broken test ( #7196 ) ( #7200 )
...
automerge
2019-12-02 18:11:10 -08:00
4c40f9dbc9
Drop default signature fee by 10x ( #7192 ) ( #7193 )
...
automerge
2019-12-02 14:17:37 -08:00
17db734783
Improve error handling when the user mixes up gossip (8001) and RPC (8899) ports ( #7158 ) ( #7184 )
...
automerge
2019-12-02 11:52:57 -08:00
6ce9f97254
More conservative purge_zero_lamport_accounts purge logic ( #7157 ) ( #7190 )
...
automerge
2019-12-02 11:46:46 -08:00
1688dd6b5c
Add Paper Wallet documentation to the book ( #7147 ) ( #7161 )
...
automerge
2019-11-26 21:11:18 -08:00
07ffcab857
Update cargo.toml file versions to 0.21.1 ( #7156 )
2019-11-26 19:11:07 -05:00
de6cf6b7e3
solana-keygen: Support pubkey recovery directly from seed phrase ( #7149 ) ( #7150 )
...
automerge
2019-11-26 13:16:48 -08:00
32cf04c77d
Ensure beta/stable testnets use public IPs
2019-11-26 11:23:44 -07:00
96df4c772f
Add getBlockTime rpc api ( #7130 ) ( #7140 )
...
automerge
2019-11-26 00:10:59 -08:00
640c2f88bd
mut
2019-11-25 22:49:39 -07:00
82f78a5610
keygen: Support not writing keypairs to disk ( #7136 ) ( #7138 )
...
* keygen: Add flag to prevent new from writing keypair to disk
* check_for_overwrite bails, do it before prompts
(cherry picked from commit 506ff5809e
)
2019-11-25 22:46:46 -07:00
cf8f8afbc6
Add offline signing support to CLI ( #7104 ) ( #7137 )
...
automerge
2019-11-25 21:45:37 -08:00
e6bc92f6c9
Stop open measurement before logging it
2019-11-25 22:20:54 -07:00
eaa3e87eb0
Support passphrases in keygen ( #7134 )
...
* Support passphrases in keygen
* remove short
* Update solana_keygen calls
2019-11-25 21:33:15 -07:00
9b3a1a99e5
Update backport labels
2019-11-25 21:24:41 -07:00
76a68c26c9
Track a Bank's parent slot independently from parent bank ( #7131 )
2019-11-25 15:34:51 -08:00
ef64f00cbb
Revert "Revert "add genesis stake placeholders ( #6969 )" ( #7109 )" ( #7124 )
...
This reverts commit 702f7cc51d
.
2019-11-25 15:11:55 -08:00
acbe89a159
shrink stakes ( #7122 )
2019-11-25 13:14:32 -08:00
0f66e5e49b
Add getConfirmedBlock test to rpc ( #7120 )
...
automerge
2019-11-25 11:08:03 -08:00
686aa3a150
Bump chrono from 0.4.9 to 0.4.10 ( #7113 )
...
automerge
2019-11-25 10:01:46 -08:00
d8bc828839
Colo: Refactor remote command dispatch for create and delete ( #7092 )
...
* Colo: Dump escaping mess in remote script templates
* Colo: Rename script templates so shellcheck can get 'em
* shellcheck and nits
* Brace all of the things
* Consistent heredoc tags
* Use bash built-in square bracketing consistently
* simplify logic
2019-11-25 10:32:17 -07:00
094c391cd7
Bump itertools from 0.8.1 to 0.8.2 ( #7111 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/commits/v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-25 10:22:47 -07:00
c8491724b4
Bump num-traits from 0.2.9 to 0.2.10 ( #7096 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.9...num-traits-0.2.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-25 10:22:10 -07:00
d5beb8a9e4
cli: Add --confirmed option to a couple commands, also add --no-header ( #7112 )
...
* Add --confirmed option to get-slot, get-epoch-info, get-transaction-count
* Add --no-header option
2019-11-24 17:34:18 -07:00
702f7cc51d
Revert "add genesis stake placeholders ( #6969 )" ( #7109 )
...
* Revert "add genesis stake placeholders (#6969 )"
This reverts commit 8a879faac7
.
* fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fmt
2019-11-23 23:15:21 -07:00
b8cd0a1bc0
Allow secure keypair input for solana-archiver
and solana
cli tools ( #7106 )
...
* Add seed phrase keypair recover to archiver
* Add seed phrase keypair to cli with ASK keyword
* cli main tweaks
2019-11-23 11:55:43 -05:00
7f87ac4b65
Improve coverage.sh's environment awareness ( #7101 )
...
* Improve coverage.sh's environment awareness
* Move version check into ci/rust-version.sh
* Embrace bashism
2019-11-23 14:53:39 +09:00
306fbd8bd8
install: Drop unneeded sha2 dependency ( #7108 )
...
* Poll for updates slower
* Drop sha2 dependency
2019-11-22 21:58:26 -07:00
3e0b272a20
Remove edge channel hardcode
2019-11-22 20:34:49 -07:00
6c89226ccf
Purge zero lamport accounts on snapshot ingestion ( #7010 )
...
Snapshots do not load the original index, so they must
purge zero lamport accounts again.
2019-11-22 18:22:28 -08:00
f040987c9f
Move date oracle to config program ( #7105 )
...
automerge
2019-11-22 15:10:53 -08:00
2a42ddbcbf
Don't panic if pubkeys are missing from Budget transaction ( #7102 )
2019-11-22 14:34:50 -07:00
8bb68c4e6a
Really remove mentions of 'genesis_block' ( #7099 )
2019-11-23 05:58:20 +09:00
4485b978c1
Clean up accounts hash internal state api ( #7090 )
2019-11-22 08:56:00 -08:00
68bad56e7d
Streamline multinode-demo/ restart logic ( #7094 )
...
* bootstrap-leader.sh will now restart the node automatically by default
* Streamline validator restart
2019-11-22 09:44:16 -07:00
ef55c15537
Remove unused --poll-for-new-genesis-config feature ( #7093 )
...
automerge
2019-11-22 08:12:08 -08:00
ce8d37984d
Allow secure keypair input for solana-validator cli ( #7080 )
...
* Allow secure keypair input for solana-validator cli
* feedback
* Add --skip-mnemonic-validation
* Update --identity to --identity-keypair
* Use struct instead of tuple
* Fix dependencies
* cargo fmt
* Add basic tests
* Use `seed phrase` instead of `mnemonic`
* Update passphrase prompt
2019-11-22 10:20:40 -05:00
c8166aed97
Correctly indicate genesis activation_epoch ( #7091 )
...
* Correctly indicate genesis activation_epoch
* Drop the '(Genesis)'
2019-11-22 15:35:02 +09:00
0bd41f98ed
Avoid jemalloc in windows build ( #7089 )
...
automerge
2019-11-21 18:39:29 -08:00
d8ead57fbb
Use bs58 strings to declare IDs rather then raw bytes ( #7082 )
2019-11-21 16:34:40 -08:00
d9e7a5fcbe
Use fork weight instead of individual bank weight for fork selection. ( #7079 )
...
* Fix weight calculation
* Fix tests
* fork weight
* wait until nodes are in the leader schedule
* enable sanity
* fewer long tests
2019-11-21 15:47:08 -08:00
c965a110f2
Use unbounded channel ( #7081 )
2019-11-21 14:23:40 -07:00
8a879faac7
add genesis stake placeholders ( #6969 )
...
* add investor stake placeholders
fixups
fixups
review comments, fixups
make more data-looky for easier management
rent may be zero
rework with more tables, derived keys
fixups
rebase-fix
fixups
fixups
* genesis is now too big to boot in 10 seconds
2019-11-21 12:05:31 -08:00
a2a9f1e331
Truncate new keypair files ( #7078 )
...
automerge
2019-11-21 10:02:04 -08:00
15d7568038
Bump cbindgen from 0.9.1 to 0.10.0 ( #7044 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/v0.10.0/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.9.1...v0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-21 10:58:04 -07:00
8cbc450192
Create genesis.tar.bz2 in solana-genesis ( #7039 )
...
* Use clap_utils
* Create genesis.tar.bz2 in solana-genesis
* Remove shell-based genesis.tar.bz2 generation
* Make Option=>Result conv more rusty
* stop using solana_logger
* Simplify by just using vec!
* clean up abit
2019-11-21 10:57:27 -07:00
79199711b8
Add gpu resource usage tracking ( #7075 )
2019-11-21 08:33:02 -08:00
2c1b8fdd39
Add another test for bank state hashes ( #7073 )
...
automerge
2019-11-20 23:03:42 -08:00
d9024db68d
Fix publish of move program ( #7072 )
2019-11-20 20:33:49 -08:00
96dd044f8e
Allow vest's terminator to recapture tokens ( #7071 )
...
* Allow vest's terminator to recapture tokens
* Less code
* Add a VestAll instruction
The terminator may decide it's impractical to maintain a vest
contract and want to make all tokens immediately redeemable.
2019-11-20 19:33:17 -07:00
e66b29943b
datapoint for best fork weight and slot in replay ( #7066 )
2019-11-20 17:26:52 -08:00
100b9dd12a
Fix num nodes metrics ( #7068 )
...
* Fix num nodes metric
* Fix node count metrics
2019-11-20 17:00:31 -08:00
3415db9739
Merge api/program into single units ( #7061 )
2019-11-20 16:32:19 -08:00
186bf7ae32
Plumb --gossip-host arg
2019-11-20 16:57:24 -07:00
97ca6858b7
Write transaction status and fee into persistent store ( #7030 )
...
* Pass blocktree into execute_batch, if persist_transaction_status
* Add validator arg to enable persistent transaction status store
* Pass blocktree into banking_stage, if persist_transaction_status
* Add validator params to bash scripts
* Expose actual transaction statuses outside Bank; add tests
* Fix benches
* Offload transaction status writes to a separate thread
* Enable persistent transaction status along with rpc service
* nudge
* Review comments
2019-11-20 16:43:10 -07:00
ee6b11d36d
Remove ability to deploy custom programs ( #7070 )
...
automerge
2019-11-20 15:37:42 -08:00
f58fef60fb
Fix program copy
2019-11-20 15:56:00 -07:00
a76eb64bbb
Copy all programs when starting a network ( #7069 )
2019-11-20 14:37:15 -08:00
8590326b50
Book: Add proposal for durable transaction nonces ( #6725 )
...
automerge
2019-11-20 14:33:02 -08:00
b0271394cd
Clean up --gossip-port argument ( #7067 )
...
--gossip-port now specifies exactly that, the gossip port to use. The
new --gossip-host argument can be used to specify the DNS name/IP
address for gossip if --entrypoint is not supplied (when --entrypoint is
supplied, the gossip address is automatically set to the node's ip
address as observed by the entrypoint)
2019-11-20 15:21:34 -07:00
c39633f968
nit: Circular dependency error is hard to read ( #7065 )
2019-11-20 13:13:22 -08:00
1fef74b00c
Fix solana-keygen new --force ...
( #7064 )
...
automerge
2019-11-20 12:46:16 -08:00
9f6a2e51b2
add credit-debit rent handling ( #6947 )
...
* add credit-debit rent handling
* add tests
* charge rent for validator account for fee credit
* rent is stored per tx instead of account
2019-11-21 01:57:02 +05:30
b150da837a
Use epoch as the gossip purge timeout for staked nodes. ( #7005 )
...
automerge
2019-11-20 11:25:18 -08:00
ba9aaee7cd
Update config.rs ( #7045 )
...
automerge
2019-11-20 11:10:46 -08:00
3aa67969f9
Add perf module to stable-perf CI ( #7060 )
2019-11-20 10:59:56 -08:00
d4f336db40
Fix unpin argument ( #7057 )
...
automerge
2019-11-20 10:22:26 -08:00
d184d3a732
Merge native programs parts into one unit ( #7047 )
2019-11-20 10:12:43 -08:00
42da1ce4e2
Fix bank hash not changing when no internal state has changed ( #7052 )
...
* Fix bank hash not changing when no internal state has changed
* Fix unnecessary call to hash_internal_state
* Add blockhash into the bank_hash
* Add blockhash into the bank_hash and update tests
* Refactor accounts_db slot_hashes
* More clarity in comments
* Add clippy suggestion
* Grammar
* Fix compile after clippy made me break it
* Schooled by clippy
2019-11-19 20:19:43 -08:00
d2ed921bc6
Cleanup nightly warnings ( #7055 )
2019-11-19 20:15:37 -08:00
d32a072190
Use ticks_per_slot to calculate maximum grace ticks ( #7024 )
...
* Use ticks_per_slot to calculate maximum grace ticks
* fix test
* fix votable candidate ordering
* fixes to pick_best_fork() and a unit test
* fixes
2019-11-19 17:55:42 -08:00
95c137158f
Fix gce.sh info ( #7054 )
...
automerge
2019-11-19 17:49:25 -08:00
7151b92239
Don't create keypair files with r+go ( #7051 )
2019-11-19 18:26:21 -07:00
716caeb17c
Use camelCase ( #7050 )
...
automerge
2019-11-19 14:55:32 -08:00
f8e4bdd23d
--bootstrap-storage-pubkey is now optional ( #7049 )
...
automerge
2019-11-19 14:35:56 -08:00
55dfd03007
wrong calculation ( #7028 )
...
matcher takes 2 B tokens as profit because amount of price difference is (7-6)*2B = 2B
2019-11-19 14:47:29 -07:00
854fc8d552
Add getConfirmedBlock to json-rpc docs ( #7046 )
2019-11-19 14:00:15 -07:00
f2badf2c5d
Fix a bug where gossip loops forever while splitting messages ( #7032 )
...
* Fix a bug where gossip loops forever while splitting messages
* Get rid of while loop
* Minor clean up and rename
2019-11-19 11:51:51 -08:00
ea656b1a3f
Add parent slot to getConfirmedBlock ( #7038 )
...
* Add parent slot to getConfirmedBlock
* Fix bad text-replace
* Use camelCase in getConfirmedBlock
2019-11-19 09:39:55 -07:00
5b7bd24f0a
Remove duplicated args ( #7036 )
2019-11-19 09:10:54 -07:00
2d7c7b0982
Fix missed rebase on net.sh ( #7037 )
2019-11-19 10:22:30 -05:00
b958bf9086
Fix confirmation metrics ( #7035 )
2019-11-19 09:51:50 -05:00
43144cfe8b
Make banks that fail threshhold check resettable ( #7027 )
2019-11-19 02:36:30 -08:00
11d2d2eccd
Fix progress map losing banks and recomputing stats ( #7026 )
...
* Fix progress map missing banks
* Fix confirmations
* Fix test
* Initialiize progress with frozen banks atartup
2019-11-19 02:36:00 -08:00
e22f89853f
Consider CI_TAG=
to be the same as unset CI_TAG
2019-11-18 23:43:38 -07:00
7ccc029f77
Make solana ping take optional lamports argument ( #7029 )
...
* Make solana ping take optional lamports argument
* Use clap's default_value
2019-11-19 14:50:09 +09:00
0eb78e461d
Relax requirement that the entrypoint node runs the RPC service ( #7019 )
2019-11-18 21:43:14 -07:00
3615209ce7
don't allow assignment to sysvar program ( #7017 )
...
automerge
2019-11-18 19:39:29 -08:00
6bfe0fca1f
Add a version field to shreds ( #7023 )
...
* Add a version field to shreds
* Clippy
* Fix Chacha Golden
* Fix shredder bench compile
* Fix blocktree bench compile
2019-11-18 18:05:02 -08:00
bfa2535ea1
Add non-fungible token program ( #7007 )
...
* Add non-fungible token program
* Remove issuer and id from state
* Boot NftInstruction and NftState
* Rename NFT to Ownable
Maybe this should be "Owned" to avoid confusion with an Ownable trait?
* Rename directory
* Delete unreachable branch
* Don't use copy_from_slice - need an error, not a panic.
* Rename contract_pubkey to account_pubkey
2019-11-18 18:09:42 -07:00
6ec918fabb
Update Move support to accomadate Libra's changes to compiler behavior ( #6993 )
2019-11-18 16:47:01 -08:00
cbf7c0080b
fix split instruction doc ( #7022 )
2019-11-18 15:31:17 -08:00
a6196901de
Generate net-shaper configuration from stdin, or randomly ( #7021 )
2019-11-18 14:47:07 -08:00
c09469fa3a
Rename verify_instruction() to verify_account_changes() ( #7020 )
2019-11-18 15:01:14 -07:00
3acd84d9c0
Allow creating an vote program ix where the withdrawer is also the "to" account ( #6992 )
...
automerge
2019-11-18 12:43:47 -08:00
c902fd0303
skip sysvars while assessing rent ( #7015 )
...
* skip sysvars while assessing rent
2019-11-19 01:31:27 +05:30
955aaef2e6
Fixes to net-shaper and net.sh ( #7002 )
...
* Fixes to net-shaper and net.sh
* fixes to default filters and cleanup
2019-11-18 11:33:33 -08:00
e0a2bb9d86
Legitimately map transactions to statuses in blocktree ( #7011 )
...
* Refactor rocksdb TransactionStatus to store/return struct; hook up map_transactions_to_statuses
* Cleanup use statements
2019-11-18 09:12:42 -07:00
3bc8d78801
Add ConfirmedBlock struct, and rework Blocktree apis to include block… ( #7004 )
...
* Add RpcConfirmedBlock struct, and rework Blocktree apis to include blockhash info and dummy tx statuses
* Remove unused lifetime
2019-11-17 20:17:15 -07:00
b66c03667c
Log for threshold failure ( #7008 )
2019-11-17 17:10:16 -08:00
6e04a646ba
Gossip entrypoint is now option of spy not solana-gossip ( #7006 )
2019-11-17 11:36:24 -05:00
086e5da8d0
feat: add TransactionStatus column family and test ( #6958 )
2019-11-17 11:26:01 -05:00
c1b06817a2
Add non-dev value for slots_per_epoch and use that as default ( #6984 )
...
When --dev flag is not passed.
2019-11-16 20:53:54 -08:00
c3926e6af0
|solana-gossip spy| no longer requires an entrypoint ( #6999 )
2019-11-16 14:16:28 -07:00
70322d1ff8
Add error logging to dead slots ( #7000 )
2019-11-16 02:54:51 -08:00
7c32640a9b
Set index and set data should write into shred data ( #6995 )
2019-11-16 02:41:59 -08:00
5ad09afc15
Improve run.sh for better developer experience ( #6945 )
...
* run.sh: Create genesis file for ad-hoc validators
* run.sh: Prefer release under NDEBUG
* run.sh: Add sanity test for run.sh
* run.sh: Conditionally re-gen drone and faucet keys
* Make shellcheck happy
* Address code review comments
* Clean up a bit
2019-11-16 15:56:29 +09:00
5d8c1a303e
fix: update run.sh arguments to solana-genesis ( #6996 )
2019-11-15 23:22:21 -05:00
24b254459b
Fix dev mode arg in run.sh ( #6997 )
2019-11-15 23:16:42 -05:00
30089841f6
Use correct faucet arg in run.sh ( #6994 )
...
automerge
2019-11-15 18:33:08 -08:00
0bee05b849
Pull TdS transaction fees to 0
2019-11-15 15:51:37 -07:00
afd9ae9999
Allow withdraws to the authorized withdrawer ( #6989 )
2019-11-15 17:16:24 -05:00
5ab70c4e97
genesis: rename mint account to faucet account and make it optional ( #6990 )
2019-11-15 14:50:26 -07:00
cab2232aba
Fix System Stats script ( #6985 )
...
automerge
2019-11-15 13:25:40 -08:00
946e937549
Create development vs softlaunch environment hooks into net scripts ( #6974 )
2019-11-15 15:18:45 -05:00
0ca943f49b
RecyclerCache for shred_sigverify ( #6986 )
...
automerge
2019-11-15 12:16:56 -08:00
b2db0b97fc
Add show-gossip command ( #6982 )
2019-11-15 13:15:34 -07:00
d565ec7968
Fixes to net-shaper, and net.sh option to start/stop shaper ( #6981 )
...
* Fixes to net-shaper, and net.sh option to start/stop shaper
* fix shellcheck
* more shellchecks
2019-11-15 12:10:48 -08:00
36e3ccfc68
Remvoe pinned memory ( #6976 )
2019-11-15 10:58:25 -08:00
892ca196f1
Improve error message when unable to read a file ( #6978 )
2019-11-15 10:39:05 -07:00
59413b3124
Fix rules for fork selection ( #6906 )
...
automerge
2019-11-15 08:36:33 -08:00
e1643c91c4
Pull a fixed and working version of shellcheck docker imaage ( #6975 )
2019-11-15 10:55:25 -05:00
3ce6248f8c
Add CPU and RAM usage to Metrics ( #6968 )
...
* Add CPU usage to Metrics
* Add RAM usage and rename to system-stats
* Shellcheck
* Remove SC exception
* Address review comments
2019-11-14 20:36:34 -08:00
006c39380a
Display 'none' instead of 0.0.0.0 ( #6973 )
2019-11-14 20:24:35 -07:00
22f2247f46
Cargo.lock
2019-11-14 16:59:30 -07:00
852a2146ab
Add Blocktree api to get transactions by slot ( #6966 )
...
* Add blocktree method to get confirmed-block txs
* Clean up use statements
* Add test, and fmt
* Plumb new blocktree method into getConfirmedBlock
2019-11-14 16:34:39 -07:00
99b42f210c
Remove unused sha2 dep ( #6964 )
...
automerge
2019-11-14 14:01:11 -08:00
ae3c9033c1
Stop running testsuites when only the book is modified ( #6956 )
2019-11-14 14:36:08 -07:00
03f7f0d18c
Rename getBlock to getConfirmedBlock; remove getBlocksSince ( #6961 )
...
automerge
2019-11-14 13:14:42 -08:00
79d7090867
Remove obsolete references to Blob ( #6957 )
...
* Remove the name "blob" from archivers
* Remove the name "blob" from broadcast
* Remove the name "blob" from Cluset Info
* Remove the name "blob" from Repair
* Remove the name "blob" from a bunch more places
* Remove the name "blob" from tests and book
2019-11-14 11:49:31 -08:00
e7f63cd336
Upgrade to rust 1.39.0 ( #6939 )
...
* Upgrade to rust 1.39.0
* 1.39.0 clippy
2019-11-14 12:27:01 -07:00
f108f483b7
Remove Blobs and switch to Packets ( #6937 )
...
* Remove Blobs and switch to Packets
* Fix some gossip messages not respecting MTU size
* Failure to serialize is not fatal
* Add log macros
* Remove unused extern
* Apparently macro use is required
* Explicitly scope macro
* Fix test compile
2019-11-14 10:24:53 -08:00
d6cbb02c92
Bump rocksdb from 0.12.4 to 0.13.0 ( #6952 )
...
automerge
2019-11-14 09:59:54 -08:00
42af8b199f
feat: add tests for invalid/failure cases ( #6951 )
2019-11-14 11:41:26 -05:00
dbbd9663b2
Consolidate error messaging into result detail ( #6950 )
2019-11-14 11:18:38 -05:00
f4846b6fe4
Update rent.rs
2019-11-14 08:55:09 -07:00
a28a34f61c
Clean up DB names in automation ( #6949 )
2019-11-14 10:20:10 -05:00
96d47c51a1
Tighten up AWS testcases ( #6948 )
2019-11-14 10:17:50 -05:00
f27c11ccd8
Add Azure testnet to automation ( #6911 )
...
* Add Azure testnet to automation
2019-11-14 09:14:53 -05:00
43e2301e2c
Fix roots overrunning broadcast ( #6884 )
...
* Add trusted pathway for insert_shreds to avoid checks
2019-11-14 00:32:07 -08:00
7b05b3dbb3
rent collector improvments ( #6888 )
...
* avoid account copying + pre-empt rent
* adding support for base rent
2019-11-14 10:56:49 +05:30
c96b8c8d68
Script to run net-shaper on remote nodes ( #6938 )
...
* Script to run net-shaper on remote nodes
* fixes
2019-11-13 20:31:44 -08:00
4fc767b3f6
Move version! from core:: to clap_utils:: ( #6944 )
...
* Move version! from core to clap-utils
* Completely move version! from core:: to clap_utils::
* rustfmt
* Do remaining transition after rebase
2019-11-14 13:10:38 +09:00
cc96848b01
Remove unneeded prepare_batch() assert ( #6941 )
...
automerge
2019-11-13 17:08:21 -08:00
6009801c5f
More granular timings in shred generation ( #6900 )
2019-11-13 16:30:12 -08:00
f116cdeed9
Add validator catchup command ( #6922 )
2019-11-13 15:58:14 -07:00
5f38fa379c
Tool to partition network and induce packet drops/delays ( #6933 )
...
* Tool to partition network and induce packet drops/delays
* clippy fixes
* review comments
2019-11-13 13:59:55 -08:00
e2fb9ac829
feat: remove unwraps from client code, fixes #6915 ( #6927 )
2019-11-13 14:41:54 -07:00
f83254d760
Update Iftop command in testnet automation ( #6908 )
...
* Update iftop command
2019-11-13 14:41:42 -05:00
ee5cc733a1
Log blocktree and snapshot open times ( #6930 )
...
automerge
2019-11-13 11:20:39 -08:00
18a17cfbbf
Implement Display trait ( #6929 )
2019-11-13 11:44:07 -07:00
a3a830e1ab
Delete Service trait ( #6921 )
2019-11-13 11:12:09 -07:00
4b1e9ada18
Fix busted failure messaging for slack app uploading ( #6928 )
...
* Add informative failure message
* Correctly expand variable names inside failed command string
2019-11-13 13:04:14 -05:00
9026339d35
Restore is_frozen() asserts ( #6925 )
2019-11-13 10:40:51 -07:00
0be13a6295
Silence cargo install error in bpf script ( #6926 )
...
automerge
2019-11-13 08:57:12 -08:00
fcc2874591
Remove/address some TODOs ( #6923 )
2019-11-13 09:43:15 -07:00
9246bee12b
feat: default 8gb hard memory limit for redis ( #6913 )
2019-11-13 11:09:20 -05:00
30a08f4282
Cleanup ledger macros ( #6916 )
...
automerge
2019-11-13 07:14:09 -08:00
e5c5f34f9a
Make solana-validator check vote account at start ( #6790 )
...
* Make solana-validator check vote account at start
* Don't abort tests...
* Fix test breakage
* Remove extra semicolon
* Attempt to fix cluster-tests
* rustfmt
* Change behavior of vote_account ephemeral pubkeys
* save
* clean up
* clean up
* rustfmt && clippy
* Reorder for simpler diff
* Fix rebase...
* Fix message a bit
* Still more rebase fixes....
* Fix yet more
* Use find_map over filter_map & next and revert message
* More through error checks
* rustfmt & clippy
* Revert
* Revert core/src/validator.rs
* Cleanup
* Cleanup
* Cleanup
* Rebase fix
* Make clippy & rustfmt happy
* save
* Clean up
* Show rpc error detail
* Check node lamports only after pubkey matching
* rustfmt
2019-11-13 16:48:55 +09:00
361eab1bf7
Remove unused dependencies ( #6917 )
...
automerge
2019-11-12 22:00:29 -08:00
2fd2140f64
🍢 banking-bench/, genesis-programs/ and local-cluster/ ( #6920 )
...
* git mv genesis_programs genesis-programs
* git mv local_cluster local-cluster
* git mv banking_bench banking-bench
2019-11-12 22:20:48 -07:00
86faa3f995
Properly type RpcClient::get_version() ( #6919 )
2019-11-12 22:01:04 -07:00
81acd94153
Cleanup local cluster ( #6897 )
...
* Boot integration tests from unit test build
* Move bench-tps and bench-exchange integration tests out of local_cluster
* Fix build
2019-11-12 20:30:35 -07:00
48987bed67
Bump num-traits from 0.2.8 to 0.2.9 ( #6914 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.8...num-traits-0.2.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-12 20:27:30 -07:00
4405e8a15b
Automatically run dot to generate PDFs or PNGs ( #6912 )
2019-11-12 20:27:15 -07:00
24cb4798bc
Map all private IP to public IP for log-analyzer ( #6907 )
...
* Map all private IP to public IP for log-analyzer
* fixes
* shellcheck fixes
2019-11-12 15:48:46 -08:00
986e9e268e
Revive the parallel bank client from v0.16 ( #6903 )
2019-11-12 15:26:21 -07:00
71bf8c5f85
Keygen grind fix and improve --ignore-case ( #6901 )
...
* keygen: grind --ignore-case was not honored
* keygen: Improve grind --ignore-case ergonomics
Don't silently require the user to know their search term needs to be lowercase
* fmt
2019-11-12 14:24:37 -07:00
5a629ff387
Bump num_cpus from 1.11.0 to 1.11.1 ( #6905 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.11.0...v1.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-12 14:24:05 -07:00
148a58865e
Make creating new snapshot.tar.bz2 truly-atomic ( #6902 )
2019-11-12 14:21:56 -07:00
2523fa73cf
Use release as default ( #6896 )
2019-11-12 13:39:12 -07:00
6d76c34291
Handle dead slots when loading ledger ( #6887 )
2019-11-12 13:38:26 -07:00
3faeb7fa79
Rename solana-netutil to solana-net-utils for consistency ( #6895 )
...
* sed -i -e 's/netutil/net_utils/g' $(git grep --files-with-matches netutil :**.rs)
* sed -i -e 's/netutil/net-utils/g' $(git grep --files-with-matches netutil)
* git mv netutil/ net-utils
* Tweak a bit
* Fix rustfmt & clippy
2019-11-12 13:37:13 -07:00
bb00904fc8
add rent reserve for bootstrap stakes ( #6876 )
...
* genesis investor stakes
* assert rent is sufficient for these bootstrappers
2019-11-12 12:33:40 -08:00
73e3fc7c4f
Add packet loss analyzer to testnet automation ( #6715 )
...
* Add packet loss analyzer to testnet automation
2019-11-12 14:51:36 -05:00
5903339c17
feat: return bank/block info with block-related results ( #6716 )
2019-11-12 14:49:41 -05:00
2688ae614c
Add public IP address option to automation ( #6899 )
...
* Add public IP address option to automation
* Make public IP use the default behavior
2019-11-12 13:55:19 -05:00
5670cafda4
Fix caching data shreds as coding shreds ( #6877 )
2019-11-12 10:29:58 -08:00
4bc8fd3267
Add --no-genesis-fetch flag ( #6893 )
2019-11-12 10:42:04 -07:00
bb2fa9957a
Increase default AWS instance size to match GCE and Azure ( #6773 )
2019-11-12 12:27:59 -05:00
c6b108ef4f
Don't panic in sdk/ when genesis fails to load ( #6892 )
2019-11-12 10:24:49 -07:00
bb158a9b48
Add provider specific self destruct timeouts ( #6894 )
2019-11-12 12:21:24 -05:00
c2fdbde68f
forks graph can now optionally display all validator votes ( #6885 )
2019-11-12 10:13:16 -07:00
7e82450d7b
Serialize transaction in proper wire format instead of json ( #6889 )
2019-11-12 10:45:10 -05:00
188dbdb068
Ignore symlinked logdir in repo root ( #6891 )
2019-11-12 10:36:53 -05:00
25866f3652
print command now supports multiple slots and decodes system/vote instructions ( #6878 )
2019-11-11 23:22:20 -07:00
c7e2057d2d
Install xargo if a new version is available ( #6882 )
...
automerge
2019-11-11 20:32:07 -08:00
d84f367317
Extract duplicate clap helpers into clap-utils ( #6812 )
2019-11-12 09:42:08 +09:00
95d6586dd7
Remove debug datapoint that isn't being plotted ( #6873 )
2019-11-11 14:25:25 -08:00
e8e13fdeeb
Insert coding shreds to blocktree only if needed in future ( #6836 )
...
* Insert coding shreds to blocktree only if needed in future
* fixes
2019-11-11 13:12:55 -08:00
816b2d7ff8
Tune repair to be less aggressive ( #6868 )
2019-11-11 13:12:22 -08:00
91cfa0aac9
Upgrade xargo if old ( #6869 )
2019-11-11 12:58:24 -08:00
4be646c695
discover() by gossip sockaddr instead of just by gossip ip address ( #6865 )
2019-11-11 12:42:58 -07:00
a23c6177d5
Use reusable provider-specific testnet keypairs ( #6866 )
...
* Use reusable provider-specific testnet keypairs
* shellcheck
2019-11-11 12:08:22 -07:00
cc6e1ea200
Stub out getBlocksSince
and getBlock
methods ( #6853 )
...
* Add getBlocksSince rpc method, and initial stub of getBlock method
* Return test transactions from getBlock method
* clippy
* Add comment on get_block method
2019-11-11 13:18:34 -05:00
596d30661a
Echo failed command to results app ( #6859 )
2019-11-11 09:37:11 -07:00
b971eeca4b
Add ryoqun to ssh authorized keys ( #6860 )
2019-11-11 17:12:24 +09:00
cfab36cb1d
Include channel and commit info in the version of pre-release builds ( #6819 )
2019-11-10 22:39:13 -07:00
5835b3b8eb
Increase timeout when confirming airdrop for max commitment ( #6858 )
...
* Increase timeout when confirming airdrop for max commitment
* Add commitment to airdrop rpc trace
* Flip commitment check
2019-11-10 12:20:52 -05:00
62eea636b0
Update jsonrpc-api.md
2019-11-09 19:46:04 -05:00
b14e61ff79
Filter any net/log* directory from rsync ( #6857 )
2019-11-09 13:38:17 -08:00
59adc25c23
Implement non-GPU mode testcase for colo ( #6856 )
2019-11-09 09:38:06 -07:00
86ead6a65c
Update book toc for readonly accounts ( #6854 )
2019-11-09 08:25:24 -07:00
fbfbafa3d4
Update readonly accounts docs ( #6801 )
2019-11-09 07:35:37 -07:00
1ddf90ed08
Compress contact_info_trace() output to improve CI log rendering ( #6852 )
2019-11-09 01:12:18 -07:00
0fbd508c5f
Only check the entrypoint's RPC address ( #6851 )
2019-11-09 00:56:31 -07:00
24a7b0ce74
Add print-genesis-hash command ( #6849 )
2019-11-08 23:17:48 -07:00
68eafb3f30
Ensire config dir exists
2019-11-08 22:18:21 -07:00
2649f6bdd6
Avoid excessive log/ relinking
2019-11-08 21:57:50 -07:00
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
63425bed10
Move move tests into its own job ( #6847 )
2019-11-08 20:40:03 -07:00
02058ea699
Reject blocks with invalid last ticks in replay stage ( #6833 )
...
* Reject blocks with invalid last ticks in replay stage
* slot_full
2019-11-08 20:21:54 -05:00
91be35731c
Fix freeze and register_tick race ( #6799 )
...
* Fix freeze and register_tick race
* Add test
2019-11-08 17:21:17 -08:00
d1daeb44e6
Remove custom stack_size() ( #6844 )
2019-11-08 17:11:07 -07:00
efdfc5c327
Remove TODOs ( #6843 )
2019-11-08 16:43:18 -07:00
9c00ad9ff2
Remove some low-hanging TODOs ( #6839 )
2019-11-08 16:41:36 -07:00
151adab739
earlyoom now works on reboots ( #6841 )
2019-11-08 16:40:38 -07:00
162b1bdef7
Add more tests ( #6834 )
...
automerge
2019-11-08 15:07:11 -08:00
da425cc225
Don't insert coding shreds into blocktree on leader ( #6831 )
2019-11-08 13:54:23 -08:00
346213da4c
Check for LD_DW at the end of a program ( #6821 )
2019-11-08 13:30:44 -08:00
8babecd890
Remove todo from account ( #6827 )
2019-11-08 13:30:21 -08:00
2855c55ac1
Move loader does not need genesis auth key ( #6818 )
2019-11-08 11:52:56 -08:00
bb9649e18d
Replacd todo with issue ( #6823 )
2019-11-08 11:48:07 -08:00
2f7d0e7884
TODO already covered by issue ( #6828 )
2019-11-08 11:45:17 -08:00
dfc4d7cb50
Remove unsupported test ( #6820 )
2019-11-08 11:37:47 -08:00
b800642fa4
Add new fork log message for when the node is leader for consistency ( #6808 )
2019-11-08 12:30:25 -07:00
5b6c590057
run.sh logs validators to stderr ( #6817 )
2019-11-08 11:30:19 -08:00
66a0f54097
Replay should respect order of register_ticks with respect to blockhashes ( #6805 )
2019-11-08 12:29:41 -07:00
f8e64aad5b
ci/shellcheck.sh now only audits files that git knows about ( #6815 )
2019-11-08 10:25:59 -07:00
cd5ec8cd35
Fix blind keyed_account indexing in BPF and Move loader ( #6810 )
2019-11-08 09:19:19 -08:00
75fd13de5d
Prevent ci/nits.sh from incorrectly nitting on ci/nits. ( #6814 )
2019-11-08 09:40:25 -07:00
807af8670e
Clean up net logs ( #6813 )
2019-11-08 10:25:17 -05:00
5bd05fba09
require to
account signature ( #6658 )
...
* require to signature
* fixing invocation to create_account
* fix create_account references
* address review comment
* whacking bugs in tests
* fixing stake program tests
2019-11-08 15:57:35 +05:30
f7b6e777bf
Revert "Clean up net/log symlinks ( #6794 )" ( #6809 )
...
This reverts commit 68353b7e57
.
2019-11-07 22:15:45 -07:00
68353b7e57
Clean up net/log symlinks ( #6794 )
2019-11-07 23:45:19 -05:00
8e81bc1b49
Fix pinning ( #6604 )
...
Remove Deref implementations and add more pass-throughs to the PinnedVec
wrapper.
Warm recyclers
set_pinnable
2019-11-07 19:48:33 -08:00
80a89b5e6d
Revert "Revert "Add inflation to epoch phases ( #6787 )" ( #6802 )" ( #6806 )
...
automerge
2019-11-07 18:33:14 -08:00
b64b54f48f
unfork dalek ed25519 ( #6776 )
2019-11-07 17:08:10 -08:00
20a52f153b
Fix iftop not being stopped correctly ( #6803 )
...
automerge
2019-11-07 17:03:14 -08:00
d89271528e
Revert "Add inflation to epoch phases ( #6787 )" ( #6802 )
...
automerge
2019-11-07 16:43:09 -08:00
ccac35fc01
Increase FEC ratio to 32:32 ( #6800 )
...
automerge
2019-11-07 16:38:06 -08:00
23e232b496
Avoid : in default log filename ( #6796 )
2019-11-07 15:36:29 -07:00
ddcf906a88
Add docs for FEC rate calculation ( #6788 )
...
automerge
2019-11-07 12:44:40 -08:00
09e8124017
Tool to reconfigure netem on testnet ( #6781 )
...
automerge
2019-11-07 11:14:33 -08:00
67d1e2903c
Upgrade Repair be more intelligent and agressive ( #6789 )
...
* Upgrade Repair be more intelligent and agressive
* Fix u64 casts
* Fix missing bracket
* Add 1 second delay to test to allow repair to kick in
2019-11-07 11:08:09 -08:00
a9c4cd6cbe
Add inflation to epoch phases ( #6787 )
2019-11-07 10:53:04 -08:00
180bc1784e
Book: Add blockhash to terminology ( #6711 )
...
automerge
2019-11-07 10:46:04 -08:00
f984feda42
Use get_slot_with_commitment ( #6791 )
2019-11-07 10:41:58 -07:00
56fc15f44d
Fix units on dead slots graph
2019-11-07 08:26:13 -07:00
e0d9f7d1d4
Fix genesis arg names in run.sh ( #6785 )
2019-11-06 23:27:10 -05:00
87ba66b6d0
Add net/ support for reusable identity keypairs ( #6783 )
2019-11-06 21:14:05 -07:00
e420800aeb
Update terminology for block height and genesis block ( #6782 )
2019-11-06 23:09:03 -05:00
a684984f8b
feat: add confirm_transaction, add rpc client test ( #6778 )
2019-11-06 22:08:03 -05:00
079682fbdc
Add ping cli option to use CommitmentLevel::Max, instead of CommitmentLevel::Recent ( #6775 )
2019-11-06 18:54:17 -07:00
2491719f36
Fix windows build ( #6774 )
2019-11-06 16:07:28 -07:00
65de227520
Don't panic on packet data ( #6769 )
2019-11-06 14:32:37 -08:00
29f3b198cf
Update snapshot verification proposal ( #6764 )
...
automerge
2019-11-06 13:48:28 -08:00
0ace79939b
Add reference tick to data shreds ( #6772 )
...
* Add reference tick to data shreds
* fix tests
2019-11-06 13:27:58 -08:00
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
5e8668799c
Fewer recyclers. ( #6770 )
...
automerge
2019-11-06 12:35:51 -08:00
8fa6935c9d
Validators now log to a file by default (use -o -
/--log -
for stderr) ( #6768 )
...
automerge
2019-11-06 11:47:34 -08:00
a1fe6265fd
use pubkeys in genesis ( #6750 )
2019-11-06 11:18:25 -08:00
67f636545a
Refactor sigverify to stage for signing shreds on the GPU ( #6635 )
...
automerge
2019-11-06 10:52:30 -08:00
ec50c20400
Add time in net/logs path ( #6701 )
2019-11-06 10:43:12 -08:00
18f146ace5
validator/: Restructure main() to fully parse cli arguments first ( #6765 )
2019-11-06 11:34:31 -07:00
a91bf296d7
Add some addition packages to DC installer scripts ( #6755 )
...
* Add 'cmake' to default DC node installer
* Add 'sysstat' to default DC node installer
For 'iostat'
* Add 'perf' to default DC node installer
* Add 'iftop' to default DC node installer
2019-11-06 09:48:45 -07:00
bb8985d76c
[Security] Bump spin from 0.5.0 to 0.5.2 ( #6621 )
...
Bumps [spin](https://github.com/mvdnes/spin-rs ) from 0.5.0 to 0.5.2. **This update includes security fixes.**
- [Release notes](https://github.com/mvdnes/spin-rs/releases )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-06 08:31:25 -07:00
7ff2a44a63
Make last shred for an interrupted slot signed + typed ( #6760 )
2019-11-06 08:25:17 -07:00
b5074d8577
Enable JSON RPC request/response logging by default ( #6758 )
2019-11-06 08:23:13 -07:00
5c1abaf43c
Bump cc from 1.0.46 to 1.0.47 ( #6741 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.46...1.0.47 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-06 08:23:00 -07:00
dc3988eff8
CLI changes required for to
account signing ( #6678 )
...
* CLI changes draft
* use tempfile
* remove un-necessary error handling
* use keypair instead of pubkey
2019-11-06 20:17:34 +05:30
24102a7435
Allow voting on empty banks ( #6719 )
...
* Allow votes on empty banks
* Remove making first bank is_delta true, no longer necessary for idling
* Remove votable from ledger tool
2019-11-06 01:02:26 -08:00
9614d17024
Limit deserialization of data coming off the wire ( #6751 )
...
* Limit deserialization of data coming off the wire
* Feedback and cleanup
2019-11-06 00:07:57 -08:00
8e3be6413e
Cargo.lock
2019-11-05 20:02:09 -07:00
09e648f957
ledger-tool/: Include full validator voting history in fork-graph ( #6756 )
2019-11-05 19:40:00 -07:00
0c2bf022fa
Apply netem packet rules to only UDP traffic ( #6754 )
2019-11-05 18:34:04 -08:00
1c5d2a85cf
Fix substitution of private IP with public IP in iftop logs ( #6748 )
...
automerge
2019-11-05 15:08:35 -08:00
8993b15248
Integrated use of netem with testnet scripts ( #6746 )
...
automerge
2019-11-05 15:04:06 -08:00
8f91b5aab3
Add threshold to repairman for same slot ( #6728 )
2019-11-05 12:48:45 -08:00
46391397b8
Bump indicatif from 0.12.0 to 0.13.0 ( #6736 )
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/compare/0.12.0...0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-05 13:25:28 -07:00
85c9a231c1
Include the affected slot in blocktree error metrics ( #6734 )
2019-11-05 13:25:21 -07:00
c312d4fba0
Calculate proofs collected and don't encrypt if there are none ( #6698 )
2019-11-05 11:38:50 -08:00
7203036e3e
Adjust nofiles within Blocktree::open() for all ledger/ users ( #6737 )
...
automerge
2019-11-05 11:18:49 -08:00
b9d8e3e55a
Only copy whats needed to verify an instruction after processing ( #6669 )
2019-11-05 10:57:32 -08:00
08973f9f05
Adjust default signature fee for base-10 lamports ( #6738 )
2019-11-05 11:21:45 -07:00
c6931dcb07
Remove credit-only account handling ( #6726 )
...
* Renaming
- credit-only/credit-debit to read-only/read-write
- debitable to writable
* Remove credit handling, making credit-only accounts read-only
* Update programs to remove deprecated credit-only account designation
* Use readonly and writable instead of underscored types
2019-11-05 09:38:35 -07:00
cea13e964c
Add --graph-forks option ( #6732 )
2019-11-04 23:18:30 -07:00
d207a34736
remove duplicate signal handling ( #6702 )
2019-11-05 11:36:51 +05:30
fba1af6ea9
ledger-tool can now load a ledger snapshot ( #6729 )
2019-11-04 22:14:55 -07:00
b825d04597
Pull perf into a separate module. ( #6718 )
...
automerge
2019-11-04 20:13:43 -08:00
3133ee2401
Fix limited iftop output and failure to stop iftop ( #6723 )
...
* Fix limited iftop output and failure to stop iftop
* Shellcheck
* Ignore shellcheck
2019-11-04 18:12:07 -08:00
4d52f47f87
Move get_bank_forks() into ledger/ so its available for use by ledger-tool/ ( #6720 )
2019-11-04 19:10:06 -07:00
f54cfcdb8f
Store and persists full stack of tower votes in gossip ( #6695 )
...
* vote array
wip
wip
wip
update
gossip index should match tower index
tests build
clippy
test index after expired vote
test
bank specific last vote sync time
* verify
* we are likely to see many more warnings about old votes now
2019-11-04 16:19:54 -08:00
57983980a7
Lower verify-batch-size to debug ( #6722 )
...
automerge
2019-11-04 16:00:59 -08:00
33f4aaf3fd
Rename confidence to commitment ( #6714 )
2019-11-04 16:44:27 -07:00
c138d692b1
Show all ports for nodes in gossip table ( #6717 )
...
* Show all ports for nodes in gossip table
* review comments
2019-11-04 15:05:08 -08:00
fb12136975
Add genesis_accounts module ( #6708 )
2019-11-04 13:46:33 -07:00
efe260f12e
sysvar trait ( #6667 )
...
* sysvar trait
* get the new guy in on it
2019-11-04 12:31:24 -08:00
b9b535c30f
move system_instruction::transfer() to
credit-debit ( #6677 )
...
* transfer no credit only
* use a credit-only transfer in the credit-only test
2019-11-04 12:30:59 -08:00
d085c8626f
GCE: Add instances self-destruct ( #6363 )
...
automerge
2019-11-04 10:30:26 -08:00
5e3697807c
Fail gracefully if AVX support is missing ( #6705 )
2019-11-04 11:03:39 -07:00
5416c114cf
SDK: Add sysvar to expose recent block hashes to programs ( #6663 )
...
* SDK: Add sysvar to expose recent block hashes to programs
* Blockhashes is one word
* Missed one
* Avoid allocs on update
* unwrap_or_else
* Use iterators
* Add microbench
* Revert "unwrap_or_else"
This reverts commit a8f8c3bfbe
.
* Revert "Avoid allocs on update"
This reverts commit 486f01790c
.
2019-11-04 10:51:15 -07:00
a0127e63c6
pay subcommand now accepts a keypair file for convenience ( #6703 )
2019-11-04 09:36:49 -07:00
8b2327ed34
Remove unneeded lib.rs
2019-11-04 08:11:40 -07:00
3938142535
keygen: add dedicated solana-keygen grind
command ( #6697 )
...
* Remove dead code
* Speed up vanity key grinding
2019-11-03 19:41:26 -08:00
66f76c8067
Bump console from 0.9.0 to 0.9.1 ( #6700 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.0...0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-03 19:41:16 -08:00
568475e2db
Fix incorrectly signed CrdsValues ( #6696 )
2019-11-03 10:07:51 -08:00
9ea398416e
Sign shreds on the GPU ( #6595 )
...
* sign gpu shreds
* wip
* checks
* tests build
* test
* tests
* test
* nits
* sign cpu test
* write out the sigs in parallel
* clippy
* cpu test
* prepare secret for gpu
* woot!
* update
* bump perf libs
2019-11-02 06:23:14 -07:00
50a17fc00b
Use Slot and Epoch type aliases instead of raw u64 ( #6693 )
...
automerge
2019-11-02 00:38:30 -07:00
f9a9b7f610
Better output layout for iftop logs ( #6690 )
...
automerge
2019-11-01 16:36:02 -07:00
a57f6b70da
Fix swapped repair and forwards addrs ( #6691 )
...
automerge
2019-11-01 16:01:42 -07:00
bae83ba2b6
Compare iftop logs using log-analyzer ( #6684 )
...
* Compare iftop logs using log-analyzer
* fixes
* fix clippy errors
2019-11-01 14:48:23 -07:00
385b4ce959
Get rid of verified packets and use the Meta::discard flag ( #6674 )
...
* get rid of verified packets and use the disabled meta field everywhere
2019-11-01 14:23:03 -07:00
7b6e3a23be
Add new pubkey to auth keys ( #6687 )
2019-11-01 14:44:10 -06:00
1cc8956f74
Get Azure provider working again ( #6659 )
...
* Wait for node creation before continuing
* Programatically set networking rules
* Add network security group to nodes upon creation
* shellcheck
2019-11-01 14:43:31 -06:00
e6c8bfd008
Add --use-move flag to cargo-install-all.sh and net/net.sh ( #6670 )
2019-11-01 07:53:30 -07:00
2d67962c2f
Send repairman shreds to the repair socket ( #6671 )
2019-10-31 18:23:50 -07:00
2e30926ac3
New program to process iftop
log output ( #6668 )
...
* New program to process iftop log output
* fixes
* fix shellcheck
* address review comments
* more review comments
2019-10-31 18:22:57 -07:00
d2c66c40c6
Have cargo-install-all.sh also look in program target dirs for so's ( #6631 )
2019-10-31 14:40:54 -07:00
a4d48df30a
Add assertion when filling blocktree slot with ticks ( #6664 )
...
automerge
2019-10-31 14:15:07 -07:00
c52830980a
Rework get_slot_meta ( #6642 )
...
* Assert slotmeta is not orphan
* Clean up get_slot_meta functionality
* Add test
2019-10-31 14:03:41 -07:00
e8e5ddc55d
Verify number of hashes for each block of entries ( #6262 )
...
* Verify number of hashes for each block of entries
* Fix blocktree processor tick check
* Rebase once more
2019-10-31 16:38:50 -04:00
111942a47d
document clock ( #6662 )
2019-10-31 13:26:55 -07:00
bc88180058
stake split ( #6402 )
...
* stake split
* stake split
2019-10-31 11:07:27 -07:00
3a616de47b
Implementation of AWS support in automation ( #6602 )
...
* Implementation of AWS support in automation
* Add 10 node testcase
* Add cleanup for ec2 provider and single zone testcase
2019-10-31 12:00:10 -06:00
9d65e6f183
Fix check in should_insert_data_shred ( #6649 )
2019-10-30 23:37:25 -07:00
328a6a866e
Fix code comment ( #6640 )
...
automerge
2019-10-30 22:21:34 -07:00
5264fded00
Avoid alloc due to vector pushes ( #6632 )
2019-10-30 21:55:17 -07:00
83d5115a02
Add --starts-with for vanity key grinding ( #6647 )
2019-10-30 20:47:42 -07:00
0559212df7
log bench ( #6643 )
2019-10-30 19:51:44 -07:00
f131255066
Add ~/.cargo/bin to PATH ( #6641 )
2019-10-30 19:41:24 -07:00
59f3dc3b6b
Fix PohRecorder Metrics ( #6644 )
...
* Update Poh Recorder Dashboard
* Update PohRecorder logging
2019-10-30 18:55:29 -07:00
6454bfe754
Rework get_index_meta ( #6636 )
2019-10-30 16:48:59 -07:00
7bb224f54a
Install ag on nodes ( #6634 )
...
automerge
2019-10-30 16:43:16 -07:00
fa12a5f70b
kill rent calculator ( #6625 )
2019-10-30 16:25:12 -07:00
d2d78a073f
Remove lingering references to base-2 SOLs ( #6629 )
...
automerge
2019-10-30 14:59:44 -07:00
6d403f2d85
Remove stray println
2019-10-30 14:44:26 -07:00
8032141311
Add --no-multi-client ( #6624 )
2019-10-30 14:43:30 -07:00
38491c8c4b
Reduce verify-batch-size log ( #6623 )
2019-10-30 13:41:11 -07:00
627664b785
Re-enable tests ( #6615 )
...
automerge
2019-10-29 21:34:20 -07:00
dfa1c7493c
Ignore flaky move test ( #6616 )
...
automerge
2019-10-29 21:21:35 -07:00
801337a422
Refactor Weighted Shuffle ( #6614 )
...
automerge
2019-10-29 21:02:11 -07:00
4ec95043d7
Update sol:lamport ratio to base-10 ( #6611 )
...
* Update sol:lamport ratio
* Update various SOL quantities in bash scripts
2019-10-29 20:03:48 -06:00
b4dc1a7263
Remove move feature ( #6605 )
...
automerge
2019-10-29 17:14:07 -07:00
ef3aa2731c
Fix Weighted Best calculation ( #6606 )
...
automerge
2019-10-29 17:04:11 -07:00
e738019c48
Add Ramp TPS table
2019-10-29 16:18:58 -07:00
a5ef78f709
Expand CF's ( #6528 )
2019-10-29 16:18:03 -07:00
4156cea704
Fixup running-validator docs ( #6607 )
...
* Fixup validator docs
* Remove $
2019-10-29 17:13:20 -06:00
a587d05098
fix re delegate ( #6603 )
2019-10-29 14:42:45 -07:00
489dc657c6
Update libra to new fork ( #6523 )
...
* Update to new libra branch
* Use core and association addresses
2019-10-29 10:39:10 -07:00
029a2837e4
Bump jsonrpc-http-server from 14.0.1 to 14.0.3 ( #6597 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.1...v14.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-29 10:30:06 -07:00
618ecfd1c6
Bump base64 from 0.10.1 to 0.11.0 ( #6596 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.10.1...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-29 10:29:58 -07:00
83174b919c
Remove unstable default-run directive ( #6599 )
...
automerge
2019-10-29 10:28:48 -07:00
d952b38f93
Ensure nofiles is not capped at 1024 on a node reboot
2019-10-28 23:21:34 -07:00
1e2ab89b47
Ensure redis-server is started on a reboot
2019-10-28 20:58:46 -07:00
34a9619806
SigVerify stage for shreds. ( #6563 )
2019-10-28 16:07:51 -07:00
9ee65009cd
Implement allowing validator boot failure into automation ( #6589 )
...
* Pass allow boot failures through create AND start
* Extend sleep timeout to all nodes
* Add 100 node testcase
* Reduce consistent sleep
2019-10-28 16:43:40 -06:00
85ccba366a
Run localnet in development mode ( #6587 )
2019-10-28 15:35:17 -07:00
579a02529d
Fix unnecessarily copying shreds in broadcast stage ( #6588 )
...
* Optimize coalesce_shreds to not explictly clone
* Remove Coalesce Shreds altogether
* fn no longer needs clippy exception
2019-10-28 14:58:27 -07:00
b04c8c1c1a
Demote blocktree metrics log level ( #6590 )
...
automerge
2019-10-28 14:46:43 -07:00
243fa6cf63
Shred gpu sigverify ( #6520 )
...
Implement APIs for verifying shred signatures on the GPU.
2019-10-28 10:29:38 -07:00
30c0a7d069
Bump serde from 1.0.101 to 1.0.102 ( #6581 )
...
automerge
2019-10-28 09:19:39 -07:00
71b4e765c8
Bump itertools from 0.8.0 to 0.8.1 ( #6583 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 08:26:15 -07:00
73dd5aa2d1
Bump serde_derive from 1.0.101 to 1.0.102 ( #6582 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.101...v1.0.102 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 08:24:13 -07:00
96e209db49
Colo: Don't fail without a message ( #6558 )
2019-10-28 09:20:49 -06:00
0c14ca58c7
Invoke on-reboot from cloud startup script to avoid racing with cron ( #6579 )
...
automerge
2019-10-27 10:56:16 -07:00
f3c0aa154a
-a is optional
2019-10-26 22:48:24 -07:00
6efaaa9d7a
Blocktree metrics ( #6527 )
...
* Add metrics for blocktree performance
* Plumb metrics through window service
2019-10-26 16:15:59 -07:00
08238e8307
Add proposal for tick verification in slots ( #6512 )
...
* Add proposal for tick verification in slots
2019-10-26 16:14:30 -07:00
e1b35f9847
Fix race in blocktree.insert_shreds
( #6550 )
...
* Add guard for blocktree insert_shreds
* Add test
2019-10-26 04:09:58 -07:00
e174af7838
Use iftop to collect network bandwidth usage ( #6560 )
...
* Use iftop to collect network bandwidth usage
* fix shellcheck
* more shellchecks
* review comments
2019-10-26 00:06:46 -07:00
be74801236
Add NET_NUM_xyz variables
2019-10-25 23:00:14 -07:00
68acfd36d0
Bootstrap leader's stake is now authorized to the bootstrap leader's identity key ( #6571 )
2019-10-25 22:58:35 -07:00
c9cea2152b
optimize verify_instruction ( #6539 )
2019-10-25 21:47:16 -07:00
e966c96644
Disable sigverify on blockstreamer node
...
This node get overloaded at high TPS trying to manage both a validator
and the blockexplorer. Reduce it's workload by turning off sigverify,
which doesn't really matter since this node doesn't even vote
2019-10-25 21:33:08 -07:00
73c31d873e
Update Cargo.toml versions from 0.20.0 to 0.21.0 ( #6568 )
2019-10-25 17:40:49 -06:00
a2a9d54985
Increase node start stagger ( #6566 )
2019-10-25 17:35:29 -06:00
ea2b26e5f5
Fix scp client mint keypair ( #6565 )
2019-10-25 16:23:52 -07:00
d68e2c4d06
Revert "Make instruction data opaque to runtime ( #6470 )" ( #6564 )
...
This reverts commit 6eeca9c6f1
.
2019-10-25 16:22:41 -07:00
0cfa3d3de7
Return error if stake history deser fails in cli ( #6559 )
2019-10-25 16:44:09 -05:00
0d1f463f7f
Update testnet-manager.sh
2019-10-25 10:56:20 -07:00
ff34bfebde
Define 10, 25, 50 node testcases ( #6557 )
2019-10-25 11:43:53 -06:00
e103789994
Ignore exit code when the first mount fails
2019-10-25 10:11:32 -07:00
8a37b1e742
Bump jsonrpc-ws-server from 14.0.1 to 14.0.3 ( #6553 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:42 -07:00
0cf4eb2ee4
Bump jsonrpc-core from 14.0.1 to 14.0.3 ( #6552 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:25 -07:00
5496f85dbc
Bump crc from 1.8.1 to 1.9.0 ( #6511 )
...
Bumps [crc](https://github.com/mrhooray/crc-rs ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/mrhooray/crc-rs/releases )
- [Commits](https://github.com/mrhooray/crc-rs/compare/1.8.1...v1.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:17 -07:00
71ff269780
Add show-stake-history command to cli ( #6541 )
2019-10-25 12:20:08 -04:00
3879109e4c
Display full blocktree error
2019-10-25 08:37:39 -07:00
f901d71202
Update
2019-10-25 07:51:12 -07:00
1738632822
Bump jsonrpc-pubsub from 14.0.1 to 14.0.3 ( #6551 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 07:41:09 -07:00
bbd5dde66d
Bump jsonrpc-derive from 14.0.1 to 14.0.3 ( #6554 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.1...v14.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 07:41:03 -07:00
43c0103e4c
Enforce machine type definition on GCE ( #6555 )
2019-10-25 08:10:25 -06:00
6eeca9c6f1
Make instruction data opaque to runtime ( #6470 )
2019-10-24 22:38:57 -07:00
28d3af6f35
Add "bounds" command to ledger-tool and fix broken funtionality ( #6540 )
2019-10-24 22:20:52 -07:00
7f3072d53a
ignore test_fail_entry_verification_leader ( #6537 )
...
* Revert "Revert "Restore CUDA-based unit tests (#6518 )""
This reverts commit 27f38a3770
.
* ignore test_fail_entry_verification_leader
2019-10-24 21:16:17 -07:00
90461245f9
Reduce TdS fees to 1 lamport per sig, and slots_per_epoch/2 ( #6542 )
2019-10-24 20:37:23 -07:00
1c91c1e880
Remount /mnt/extra-disk on reboot
2019-10-24 20:14:26 -07:00
53c7be32b6
Add more retransmit and streamer stats ( #6534 )
2019-10-24 19:27:19 -07:00
397ea05aa7
spy nodes are now gossip entrypoints ( #6532 )
2019-10-24 15:35:33 -07:00
dadcb632d8
Specify machine type without necessarily enabling GPU ( #6529 )
...
* Specifiy machine type without necessarily enabling GPU
* Make long arg, extend --enable-gpu to automation
* Set machine types only in one place
* Fixup
* Fixup flag in automation
* Typo
* shellcheck
2019-10-24 15:12:25 -06:00
2de2fbd5e3
Remove stray setup_secondary_mounts
2019-10-24 13:48:57 -07:00
14eca5aea6
Remove setup_secondary_mount knowledge from multinode-demo/ ( #6530 )
2019-10-24 13:40:16 -07:00
27f38a3770
Revert "Restore CUDA-based unit tests ( #6518 )"
...
This reverts commit dc52b17c4d
.
2019-10-24 11:34:53 -07:00
7a7abe692e
Add mint keypair to solana clients for convenience ( #6536 )
2019-10-24 14:31:06 -04:00
f46a2cec3c
owner and executable checks ( #6526 )
...
* owner_checks
* only system program may assign owner, and only if pre.owner is system
* moar coverage!
* moar coverage, allow re-assignment IFF data is zeroed
2019-10-24 11:06:00 -07:00
8e5e48dd92
Add get-rpc-url --all flag ( #6533 )
2019-10-24 10:44:05 -07:00
a2543e5a8d
Upgrade RocksDB ( #6496 )
...
* Upgrade rocksdb
* Delete BatchProcessor
Those methods don't need to be `&mut self` and they're causing
compilation failures.
2019-10-24 11:30:53 -06:00
e9bdee3dc7
Add getEpochSchedule to rpc docs ( #6535 )
2019-10-24 11:30:11 -06:00
88033bccbb
Add mint keypair to validators for convenience ( #6531 )
2019-10-24 12:50:32 -04:00
b4119c454a
credit_only credits forwarding ( #6509 )
...
* credit_only_credits_forwarding
* whack transfer_now()
* fixup
* bench should retry the airdrop TX
* fixup
* try to make bench-exchange a bit more robust, informative
2019-10-23 22:01:22 -07:00
d398898c38
show-validators: display current/delinquent stake, and flag delinquent nodes ( #6525 )
2019-10-23 21:40:35 -07:00
39fc677781
Add 5 node GCE test cases ( #6524 )
...
* Add 5 node GCE test cases
* shell check
2019-10-23 22:05:05 -06:00
dc52b17c4d
Restore CUDA-based unit tests ( #6518 )
2019-10-23 20:09:28 -07:00
ddefc96433
Limit deserialization of program inputs ( #6522 )
2019-10-23 19:56:07 -07:00
955d0ab76f
Cleanup blocktree ( #6508 )
...
* Cut down on liberal use of borrow()
* No need to map_err(Into::into)
* Group From instances
* Remove Direction indirection
* Let rustfmt order imports
* Better copypasta
* Cleanup copypasta
* Add explicit lifetimes so that it doesn't get pegged to 'static when we upgrade rocksdb
* Remove redundant type aliases
2019-10-23 17:13:21 -06:00
f1172617cc
Purge accounts with lamports=0 on rooted forks ( #6315 )
2019-10-23 12:46:48 -07:00
6ce115ec95
Add commitment metrics implementation to book ( #5903 )
...
* Add commitment metrics implementation to book
2019-10-23 12:35:47 -07:00
03d29a8311
Async poh verify ( #6353 )
...
* Async poh verify
* Up ticks_per_s to 160
GPU poh verify needs shorter poh sequences or it takes forever to
verify. Keep slot time the same at 400ms.
* Fix stats
* Don't halt on ticks
* Increase retries for local_cluster tests and make repairman test serial
2019-10-23 12:11:04 -07:00
35cc74ef25
Add GenesisBlock::OperatingMode to control how cluster features are activated ( #6430 )
2019-10-23 11:50:10 -07:00
35d6196384
Surface nvidia-smi errors in CI
2019-10-23 10:59:30 -07:00
01fe7c90a5
Do not break build on missing curl results ( #6516 )
2019-10-23 11:04:15 -06:00
26b8747014
Exit cleanly for idle clients
2019-10-23 09:56:05 -07:00
bedb05bdeb
Plumb GEOLOCATION_API_KEY down to the blockexplorer ( #6514 )
2019-10-23 09:53:06 -07:00
6829b8a6fb
Ensure solana commands are added to idle clients ( #6513 )
2019-10-23 11:15:00 -04:00
e462a7d1d5
net: Add ability to only start/stop client nodes ( #6503 )
...
* Add info --eval
* net: Add ability to start idle client nodes
2019-10-22 16:08:49 -07:00
4c515d0ef1
Sagar: Add ssh keys for colo ( #6507 )
2019-10-22 15:59:39 -07:00
7d650eff8d
Match TPS stats to Grafana dashboard ( #6506 )
...
* Match TPS stats to Grafana dashboard
* Add label names
2019-10-22 16:27:26 -06:00
0b2d4f32fa
feat: get epoch schedule rpc, update cli ( #6500 )
2019-10-22 16:41:18 -04:00
4f25013954
Explicitly define commit SHA ( #6499 )
2019-10-22 13:55:58 -06:00
5c7735c40f
Increase drone airdrop request cap to 1_000_000 SOL ( #6497 )
2019-10-22 12:35:52 -07:00
e6438098e1
Increase archiver polling timeout ( #6501 )
...
automerge
2019-10-22 12:15:55 -07:00
45b2c138e5
Remove circular dependencies in blocktree ( #6494 )
...
* Delete dead code
* Flatten modules
* Break blocktree dependency cycle
* Move BloctreeError into blocktree_db
Fewer dependency cycles
* Inline column family names
Fewer circular dependencies
* Cleanup imports
* Fix build
2019-10-22 09:20:19 -06:00
75d68edfe7
Remove unused re-exports of database types and related dead code ( #6490 )
2019-10-22 06:36:42 -06:00
f80a5b8c34
Remove some TODOs ( #6488 )
...
* Remove stale TODOs
* Ban TODO markers from markdown
* Scrub all TODOs from ci/ and book/
2019-10-21 22:25:06 -07:00
1b1980ad49
Rename TEST_DURATION to TEST_DURATION_SECONDS ( #6493 )
2019-10-21 23:24:46 -04:00
3b9b9b1500
Rename remaining uses of fullnode to validator ( #6476 )
...
automerge
2019-10-21 20:21:21 -07:00
18feba2431
ADDITIONAL_FLAGS not handling multiple flags correctly ( #6492 )
...
* Fix ADDITIONAL_FLAGS parsing to handle multiple flags
* shellcheck
2019-10-21 23:17:41 -04:00
929a81e636
Beautify solana validator-info get
output ( #6483 )
...
automerge
2019-10-21 17:10:22 -07:00
00809a67c0
Push perf test results to slack app ( #6371 )
...
* Add script to publish testnet results to slack
* Obscure webhook URL
* fixup
* Replace read with cat redirection
* Turn back on net restart
* Pick nits
* Make symlink before trying to delete its contents
* Display test config in slack and pick Trents nit not to maybe rm -rf /*
* Clean up results print
* Minor nits
* Turn the test settings back up to 11
* typo
* Shellcheck
* Just a few more fields
* fix payload formatting
* Del clear-config.sh
* Mount secondary
* Add commit SHA link and Grafana time range URL
* Add fancy buttons instead of text URLs
* Tighten up test config display
* Fixup display nits
* chellsheck
* Rebase and fix typo
2019-10-21 20:00:17 -04:00
d1b18a5060
archiver.rs -> multinode-demo/archiver.sh ( #6487 )
...
automerge
2019-10-21 16:46:04 -07:00
3fb70b8d47
Ban XXX, TBD, FIXME comments ( #6486 )
2019-10-21 16:43:11 -07:00
b38bf90de7
Deshred blocks in parallel ( #6461 )
...
* Deshred in parallel
* Add tests for corrupt slots and parallel deshred
* Rename load_blocktree_entries to load_blocktree_entries_with_shred_count
2019-10-21 16:15:10 -07:00
8319fa05d0
solana-cli: selectively require keypair ( #6477 )
...
* Make parse_command consistent
* Strip pubkey out of parse_stake_create_account
* Move validator-info args into module
* Strip pubkey out of parse_validator_info_command
* Strip pubkey out of parse_vote_create_account
* Strip pubkey out of balance parsing
* Strip pubkey out of parse pay
* Only verify keypair existence if command requires it
* Use struct instead of tuple
2019-10-21 17:08:09 -06:00
564c14a2c6
net.sh: Ensure external disk link is setup before cleaning config dir ( #6481 )
...
automerge
2019-10-21 15:38:58 -07:00
6996f45d54
Print machine hostname in log ( #6480 )
...
automerge
2019-10-21 14:59:03 -07:00
b1c2c6009e
Exclude net/log in rsync script ( #6475 )
...
automerge
2019-10-21 14:06:36 -07:00
934f69b660
Colo verbosity ( #6473 )
...
automerge
2019-10-21 13:49:12 -07:00
84e911361a
Use constants instead of lazy_static for shred header sizes ( #6472 )
2019-10-21 12:46:16 -07:00
364583ea5c
Fix copying packets in Window Service ( #6429 )
...
* Fix copying packets in Window Service
* Parallelize over batches instead of within batches
2019-10-21 12:04:52 -07:00
951e1f8b48
feat: grant access to sunny@ ( #6471 )
2019-10-21 11:17:06 -07:00
9232057e95
Rename replicator to archiver ( #6464 )
...
* Rename replicator to archiver
* cargo fmt
* Fix grammar
2019-10-21 11:29:37 -06:00
6c79f56c2c
Add --skip-ledger-verify arg
2019-10-21 10:22:40 -07:00
48eafcc74f
Remove dead code in Rocks wrapper ( #6469 )
...
automerge
2019-10-21 10:18:54 -07:00
dec9272813
Skip ledger verification on restart to avoid timing out net/ ( #6468 )
...
automerge
2019-10-21 09:27:45 -07:00
eb3093d43e
Beautify show-account output ( #6467 )
...
automerge
2019-10-21 08:48:21 -07:00
09abbd93b1
Cleanup register_tick special handling ( #6462 )
2019-10-21 10:51:02 -04:00
91920cc390
Bump jsonrpc-pubsub from 14.0.0 to 14.0.1 ( #6465 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.0...v14.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 07:48:28 -07:00
cc1cc7be94
Bump jsonrpc-derive from 14.0.0 to 14.0.1 ( #6466 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.0...v14.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 07:48:14 -07:00
2636418659
Move blocktree_processor to solana_ledger ( #6460 )
...
* Drop core::result dependency in bank_forks
* Move blocktree_processor into solana_ledger
2019-10-20 09:54:38 -06:00
31e9074ae5
Rename leader_after_slots to leader_after_n_slots ( #6459 )
2019-10-19 23:28:33 -04:00
e2c316d2d0
system_instruction_processor updates ( #6448 )
...
* zero lamport account creation
* whack create_user_account, take 2
* target->to
* ..
* ..
* update chacha golden
* update chacha golden
* ..
* ..
2019-10-19 18:23:27 -07:00
74ee88d9bc
Add storage stage and bank_forks tests to integration ( #6458 )
2019-10-19 12:09:45 -07:00
f52c813fc2
Setup each bench-tps account with 1 SOL by default ( #6457 )
2019-10-19 07:57:57 -07:00
badeb4d31a
Rework shred headers to fix position of signature ( #6451 )
...
* Rework shred headers to fix position of signature
* fix clippy
2019-10-18 22:55:59 -07:00
e59af8269e
Add increment docs infra to increment-cargo-version ( #6456 )
2019-10-18 20:53:45 -07:00
785c2574cd
Check that transaction fee-payer is a debitable account ( #6454 )
...
automerge
2019-10-18 20:39:05 -07:00
1a77f7ce3b
Change to 0x7f which is a valid short_vec len ( #6455 )
...
automerge
2019-10-18 19:56:48 -07:00
6e7dccbbfb
Add an error enum to snapshot_utils ( #6453 )
2019-10-18 19:16:06 -06:00
32bfced6a4
Add offset checks for sigverify ( #6452 )
...
* Add offset checks for sigverify
* decode_len returning error instead of unwrap
2019-10-18 17:52:59 -07:00
985f5c7351
Use serde-bytes to serialize u8 efficiently ( #6442 )
...
automerge
2019-10-18 17:18:06 -07:00
621c67a8cb
Adjust default cluster signature fees ( #6436 )
2019-10-18 17:00:51 -07:00
f2fd53e773
coverage over multiple packages ( #6420 )
2019-10-18 16:23:34 -07:00
0fc3c7eee2
Bump Trent's keys... ( #6445 )
...
automerge
2019-10-18 15:42:50 -07:00
e81ba8e79f
Split snapshot_package module ( #6447 )
...
automerge
2019-10-18 14:58:16 -07:00
35461df92d
Adjust crate-features to prevent rebuilds ( #6444 )
...
automerge
2019-10-18 13:52:05 -07:00
a19ffb353d
Don't hide serialization errors ( #6443 )
...
automerge
2019-10-18 13:35:05 -07:00
35ed432d1a
Make benchmark useful ( #6440 )
...
function is verify_hash_internal_state
2019-10-18 12:59:47 -07:00
8c29700402
Remove the DbCursor struct ( #6441 )
2019-10-18 13:11:59 -06:00
171c0d5421
Bump jsonrpc-core from 14.0.0 to 14.0.1 ( #6439 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:17:25 -07:00
c01bc4afbd
Bump jsonrpc-http-server from 14.0.0 to 14.0.1 ( #6437 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:04:30 -07:00
c404008743
Bump jsonrpc-ws-server from 14.0.0 to 14.0.1 ( #6438 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:03:58 -07:00
193c9a08e0
Reject TXs when there is a mismatch ( #6236 )
...
automerge
2019-10-18 09:48:35 -07:00
5468be2ef9
Add solana-ledger crate ( #6415 )
...
automerge
2019-10-18 09:28:51 -07:00
6f58bdfcb1
Remove validator sanity check ( #6435 )
...
automerge
2019-10-18 08:26:08 -07:00
9cf9de6044
Remove the Cursor struct ( #6426 )
2019-10-18 09:18:36 -06:00
a48dcb1421
Add "Subject to change" for legal purposes. ( #6432 )
2019-10-18 08:06:46 -07:00
51dad397ed
Bump libc from 0.2.64 to 0.2.65
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.64 to 0.2.65.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.64...0.2.65 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 08:05:49 -07:00
27c0d30a07
Fix logging ( #6417 )
2019-10-18 02:06:41 -07:00
6c33c3a5ba
Update shred tests to use specific error codes ( #6428 )
...
automerge
2019-10-17 22:50:38 -07:00
e6198debd6
Remove unused set_thread_count() ( #6424 )
...
automerge
2019-10-17 20:55:05 -07:00
298ba34c3c
Add flag to mark a packet as discarded ( #6427 )
2019-10-17 16:26:29 -07:00
52b5edcb8f
Bump cc from 1.0.45 to 1.0.46
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.45...1.0.46 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-17 16:16:46 -07:00
c73e8d9a82
Bump env_logger from 0.7.0 to 0.7.1
...
Bumps [env_logger](https://github.com/sebasmagri/env_logger ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/sebasmagri/env_logger/releases )
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.7.0...v0.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-17 16:16:40 -07:00
842eaf90df
Exclude bench-exchange from coverage report
2019-10-17 16:03:49 -07:00
24846b7b61
Don't use BlocktreeError from Shredder ( #6423 )
...
automerge
2019-10-17 15:44:15 -07:00
326a4282bb
Compute max blockhash age accounting for slot duration ( #6421 )
...
* Compute max blockhash age accounting for slot duration
* Update comment for the constant
2019-10-17 15:21:05 -07:00
854c62e208
Reduce kernel networking buffer for rmem and wmem ( #6422 )
...
automerge
2019-10-17 14:52:24 -07:00
1759968c1e
Colo: Put NVMe disks to use ( #6357 )
...
automerge
2019-10-17 14:44:45 -07:00
9e52d11ad0
Remove Backend trait ( #6407 )
2019-10-17 15:19:27 -06:00
d865f1f0c5
Add vest program to genesis
2019-10-17 14:07:09 -07:00
2747c9db23
Fix metrics dashboard layout ( #6419 )
2019-10-17 13:39:50 -07:00
bfc67e8680
gzip -f
2019-10-17 13:08:51 -07:00
d3068c3918
Remove circular dependencies in core ( #6408 )
...
* Remove core::result dependency from blocktree
* Remove core::result dependency from shred
* Move Packet from core::packet to sdk::packet
This way we don't need to split perf_libs yet.
* Disable packet when compiling BPF programs
2019-10-17 11:37:30 -06:00
a931ad40c8
Remove unused code in entry ( #6414 )
...
automerge
2019-10-17 09:59:40 -07:00
b4ed88e0f7
Fail faster on boot up ( #6412 )
2019-10-17 12:26:12 -04:00
b7b71b31d3
Magically improve coverage ( #6345 )
...
automerge
2019-10-16 16:53:07 -07:00
83c1831a01
Fix replay stage test ( #6406 )
2019-10-16 15:41:43 -07:00
b85996494b
BPF script nits ( #6405 )
2019-10-16 15:35:16 -07:00
26d31b68d7
Update Rust-BPF to v0.1.8 ( #6404 )
2019-10-16 15:08:29 -07:00
8740bb42c0
Close down banking stage in banking_bench ( #6401 )
...
Maybe fixes pthread crash?
2019-10-16 14:45:05 -07:00
ccb4e32ee0
ReplayStage metrics ( #6358 )
...
* ReplayStage metrics
* Add more metrics
* Refactor get_slot_entries_with_shred_count() to detect wasted work
* Update dashboard
* Update broadcast slots to micros
* Add broadcast dashboard
2019-10-16 14:32:18 -07:00
2d351d3952
Prevent ping stats header from confusing buildkite log folding
2019-10-16 13:36:16 -07:00
7ae5ff838b
Revert "collect rent from accounts (take:2) ( #6360 )" ( #6400 )
...
This reverts commit c1b401a04a
.
2019-10-16 13:31:21 -07:00
605b477e06
Permit finding more nodes than expected (./gce.sh config)
2019-10-16 13:21:00 -07:00
7e6e7e8406
Remove special handling of first ledger tick ( #6263 )
...
* Remove special handling of first ledger tick
* Fix subtraction overflow
* @garious feedback
* Back to height
* More tick_height name changes
* Fix off-by-one
* Fix leader tick error
* Fix merge conflict
* Fix recently added test
2019-10-16 15:53:11 -04:00
e267dfacdd
Stabilize some banking stage tests ( #6251 )
...
* Stabilize some banking stage tests
Fixes #5660
* Fix CI...
* clean up
* Fix ci
* Address review nits
* Use bank.max_tick_height due to off-by-one for no PohRecord's clearing bank
* Fix CI...
* Use bank.max_tick_height() instead for clarity
2019-10-16 12:37:27 -07:00
f4c5da3c72
Fix unaligned read of short_vec pubkey_size in sigverify ( #6388 )
...
automerge
2019-10-16 11:09:17 -07:00
a258e1e0b3
Fix flaky test_recv_mmsg_batch_size ( #6399 )
...
automerge
2019-10-16 11:01:41 -07:00
1fd84cb52b
Enforce only system program can allocate accounts ( #6386 )
2019-10-16 10:47:45 -07:00
8dd24bc7d9
Put dedicated arg in the right place
2019-10-16 10:36:29 -07:00
b7af5f08d6
Avoid more non-standard ping. macOS 💔
2019-10-16 10:35:41 -07:00
781dfd9dc4
Drop non-standard ping -o option
2019-10-16 10:05:46 -07:00
f6b48b0a67
Bump libc from 0.2.62 to 0.2.64
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.62 to 0.2.64.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.62...0.2.64 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-16 10:03:06 -07:00
ee099b0880
Delete ref annotations ( #6394 )
...
automerge
2019-10-16 09:27:49 -07:00
51ac05b3cf
Request dedicated instances
2019-10-16 08:10:31 -07:00
9267931ef6
Add support for preemptible GCP instances
2019-10-16 08:10:31 -07:00
60141e0c2c
Bump ws from 0.9.0 to 0.9.1
...
Bumps [ws](https://github.com/housleyjk/ws-rs ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/housleyjk/ws-rs/releases )
- [Changelog](https://github.com/housleyjk/ws-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/housleyjk/ws-rs/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-16 07:58:53 -07:00
609d6cdf61
Enforce move loader program account size ( #6385 )
...
automerge
2019-10-15 23:42:59 -07:00
a3ccbe02d0
Create genesis with the requested amount ( #6384 )
2019-10-15 22:40:31 -07:00
996c8cf2eb
Don't add bogus native loader if loader account already exists ( #6377 )
...
* Don't add bogus native loader account if it already exists
* Add assert for native loader account owner
2019-10-16 00:33:15 -04:00
528d0b6af8
Update bench tps default configuration ( #6372 )
...
* Update bench tps default configuration
* Allow local clients to run unhinged
2019-10-15 20:53:37 -07:00
33052c1dd2
Cleanup shred header structures ( #6378 )
...
automerge
2019-10-15 20:48:45 -07:00
c1b401a04a
collect rent from accounts (take:2) ( #6360 )
...
* collect rent from credit debit accounts
* collect rent from credit only account
* rent_collector now can deduct partial rent + no mem copy + improved design
* adding a test to test credit only rent
* add bank level test for rent deduction
* add test to check if hash value changes or not
* adding test scenario for lamport circulation
2019-10-16 07:45:47 +05:30
78d5c1de9a
Move loader enforces account size ( #6379 )
...
* Move loader enforces account size
* Fix librapay test
2019-10-15 18:30:45 -07:00
2ee05f1234
Fix move testing ( #6374 )
2019-10-15 15:58:49 -07:00
20e800230f
Don't deserialize coding header for data shreds ( #6367 )
...
* Don't deserialize coding hdr for data shreds
* review comments
* fix tests
2019-10-15 15:18:23 -07:00
37a29b979f
--force
2019-10-15 15:12:25 -07:00
1afc527919
Lower cluster_info-num_nodes datapoint ( #6368 )
2019-10-15 14:42:19 -07:00
d89174ee82
Default to no client nodes to avoid unnecesary cost
2019-10-15 14:37:52 -07:00
f6255c2f9e
Fix blind keyed accounts indexing in Config program ( #6369 )
2019-10-15 14:35:42 -06:00
ae41c88eb2
Boot the Builder pattern from GenesisBlock ( #6364 )
2019-10-15 13:52:44 -06:00
41067de5e4
multiple deactivation ( #6354 )
2019-10-15 12:50:31 -07:00
dfca2b510b
Lower shred/receiver stats ( #6365 )
...
too many messages
2019-10-15 11:43:52 -07:00
8bc9d8988f
-
2019-10-15 07:58:40 -07:00
f7279804b4
Ensure solana-cli has a keypair
2019-10-15 07:47:45 -07:00
47e1ea107b
Add show-validators
2019-10-14 23:04:31 -07:00
799d6aeb19
Update cluster_query.rs
2019-10-14 23:00:13 -07:00
f8ccd90eeb
Add ForkConfidenceCache methods ( #6359 )
...
automerge
2019-10-14 22:14:20 -07:00
169b772398
Show validators during net sanity
2019-10-14 20:38:51 -07:00
d2e28b0f7e
Add show-validators command
2019-10-14 20:38:51 -07:00
88bb55ffd2
Add get_vote_accounts() to RPC client
2019-10-14 20:38:51 -07:00
5508ac6272
Add root slot to getVoteAccounts
2019-10-14 20:38:51 -07:00
2be03ca631
Bump reqwest from 0.9.21 to 0.9.22
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.22/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.21...v0.9.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-14 16:33:16 -07:00
9803f167bd
Revert "collect rent from the accounts ( #6181 )" ( #6356 )
...
automerge
2019-10-14 16:16:44 -07:00
6a161c740d
Stop activating stake after deactivation ( #6351 )
2019-10-14 18:40:24 -04:00
5d99853502
Add getBlockConfidence rpc endpoint ( #6350 )
...
automerge
2019-10-14 15:24:10 -07:00
c2ebf466fd
reestablish parameter semantics for withdraw ( #6330 )
2019-10-14 15:02:24 -07:00
3313b2ff58
Fetch stage batching of forwarded txs ( #6349 )
...
automerge
2019-10-14 13:32:29 -07:00
e210e76bd5
collect rent from the accounts ( #6181 )
...
* collect rent from credit-debit account
* collect rent from credit only account
* improved design for rent collection
* only process if collected rent is non zero
* rent_collector now can deduct partial rent + no mem copy
* adding a test to test credit only rent
* add bank level test for rent deduction
* add test to check if hash value changes or not
* adding test scenario for lamport circulation
* combining rent debtors into credit only locks
2019-10-15 02:00:29 +05:30
b75438ff32
gce.sh: Unwind allocation upon failure ( #6343 )
...
automerge
2019-10-14 09:36:20 -07:00
82fea9ce73
net.sh: Add support for selecting validator GPU mode ( #6326 )
...
automerge
2019-10-14 09:33:32 -07:00
79e32c92c1
Skip deploy attempt on sanity failure
2019-10-12 22:18:41 -07:00
322fcea6e5
More fullnode to validator renaming ( #6337 )
2019-10-11 13:30:52 -06:00
5650231df3
Increase buffer size for erasure meta DB column ( #6335 )
2019-10-11 12:18:11 -07:00
78b2e4df9f
Revert "Revert "Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )" ( #6328 )" ( #6336 )
...
This reverts commit 578aa439be
.
2019-10-11 13:19:13 -04:00
bf9c815b9e
Increase Index column buffers ( #6268 )
2019-10-10 23:17:39 -07:00
798065fc71
Better Vest code coverage ( #6329 )
...
automerge
2019-10-10 21:35:10 -07:00
578aa439be
Revert "Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )" ( #6328 )
...
This reverts commit c2761a1259
.
2019-10-11 00:32:06 -04:00
364781366a
Use sendmmsg for broadcasting shreds ( #6325 )
...
* Replace packet with slice of data in sendmmsg
* fixes
* fix bench
2019-10-10 19:38:48 -07:00
fa64a0b367
gce.sh: Be strict about fullnode count w/o --allow-boot-failures ( #6321 )
...
automerge
2019-10-10 17:13:59 -07:00
ba46bc4624
Fix system program blind derefs ( #6317 )
...
automerge
2019-10-10 16:43:49 -07:00
c6e4641781
Remove many uses of legacy term 'fullnode' ( #6324 )
2019-10-10 17:33:00 -06:00
9cde67086f
solana-keygen - Poor mans keypair encryption ( #6259 )
...
* SDK: Refactor (read|write)_keypair
Split file opening and data writing operations
Drop filename == "-" stdio signal. It is an app-level feature
* keygen: Move all non-key printing to stderr
* keygen: Adapt to SDK refactor
* keygen: Factor keypair output out to a helper function
2019-10-10 17:01:03 -06:00
f8b36f4658
smaller fix for system_instruction_processor's blind indexing ( #6322 )
...
automerge
2019-10-10 15:43:32 -07:00
753bd77b41
Use multicast to send retransmit packets ( #6319 )
2019-10-10 15:02:36 -07:00
a9276700ea
Stake program: reorder withdraw keys to allow to == authorized withdrawer ( #6314 )
...
automerge
2019-10-10 14:46:38 -07:00
1960ea8ed7
Add benches for shredding and poh ( #6307 )
...
* Add benches for shredding and poh
* ignore poh bench
* Factor out Poh bench as separate function
2019-10-10 14:00:24 -07:00
1b775044f7
Use multiple retransmit stage threads/sockets ( #6279 )
2019-10-10 13:24:03 -07:00
570b98c7bc
Multicast same packet to multiple destinations via sendmmg ( #6316 )
...
* Implement multicast same packet to multiple destinations using sendmmsg()
2019-10-10 13:09:15 -07:00
81fb9e6a59
gce.sh: Rename -f flag to better reflect usage ( #6318 )
...
automerge
2019-10-10 12:57:03 -07:00
c2761a1259
Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )
...
* Bump jsonrpc-core from 13.2.0 to 14.0.0
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 13.2.0 to 14.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.2.0...v14.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Bump all jsonrpc versions
2019-10-10 10:32:38 -06:00
0f7bf28617
Allow Vest to set terminator ( #6313 )
...
* Use transport::Result instead of TransportError
* Split payer and terminator
* Add SetTerminator instruction
2019-10-10 10:25:23 -06:00
60e8cf5a47
Implement nightly performance tests ( #6140 )
...
* Implement nightly performance tests on colo
2019-10-10 11:12:13 -04:00
10cf728e11
More object-oriented version of Vest ( #6310 )
2019-10-10 08:54:18 -06:00
eca56eb87d
Add next_keyed_account() to instruction_processor_utils ( #6309 )
...
* Cleanup KeyedArguments traversal
* Better error message
* Fix clippy warning
* Rename next_arg to next_keyed_account
* Fix clippy warning
* Shorter
2019-10-10 06:30:42 -06:00
54d0168746
BPF call trace script ( #6311 )
...
automerge
2019-10-10 01:10:47 -07:00
e58e48e919
make sysvar creation a bit more foolproof ( #6294 )
2019-10-09 23:22:33 -07:00
1f345ce2d9
Don't grab keypair from cluster info on every iteration of broadccast ( #6303 )
2019-10-09 17:36:45 -07:00
ed85aa43a4
Implement sendmmsg() API ( #6304 )
...
* Implement sendmmsg()
* fixes
2019-10-09 17:06:56 -07:00
33e34cbba9
Plug potential panic in Vest ( #6302 )
...
automerge
2019-10-09 16:27:49 -07:00
4b0250192a
Remove remnants of the cuda feature flag ( #6298 )
...
automerge
2019-10-09 16:09:36 -07:00
dd66d16fdb
Broadcast final shred for slots that are interrupted ( #6269 )
...
* Broadcast final shred for slots that are interrupted
2019-10-09 16:07:18 -07:00
de82e60c64
Fix unrealistic hash rate expectations in genesis ( #6295 )
2019-10-09 15:47:48 -07:00
72d227ae91
Bench-tps: swap consts ( #6296 )
2019-10-09 16:31:30 -06:00
4713cb8675
Colo: Prefer public IPs, part 2 ( #6297 )
...
automerge
2019-10-09 15:17:24 -07:00
fdaee4ab17
Colo: Add running process cleanup to delete logic ( #6281 )
2019-10-09 15:49:33 -06:00
32312f3c16
Do not retransmit Repair responses ( #6284 )
...
* Do not retransmit Repair responses
* Add a test
* Refactor neighboring functionality
2019-10-09 13:11:19 -07:00
95d15dc720
Add jstarry to authorized keys ( #6293 )
2019-10-09 15:04:44 -04:00
2db83e1a21
Remove greedy fetch in shred_fetch stage ( #6278 )
...
* Remove greedy fetch in shred_fetch stage
* cleanup
2019-10-09 10:36:05 -07:00
cfbfcb5734
Bump dir-diff from 0.3.1 to 0.3.2 ( #6265 )
...
Bumps [dir-diff](https://github.com/steveklabnik/dir-diff ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/steveklabnik/dir-diff/releases )
- [Changelog](https://github.com/assert-rs/dir-diff/blob/master/CHANGELOG.md )
- [Commits](https://github.com/steveklabnik/dir-diff/compare/v0.3.1...v0.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-09 11:12:15 -06:00
c28633a949
Fix book SVGs ( #6286 )
2019-10-09 10:48:47 -04:00
7cf90766a3
add epoch_schedule sysvar ( #6256 )
...
* add epoch_schedule sysvar
* book sheesh!
2019-10-08 22:34:26 -07:00
f2ee01ace3
Fix blocktree processor entry callback test ( #6285 )
2019-10-08 20:38:05 -04:00
9fbbb17c3b
GitBook: [master] 17 pages and 65 assets modified
2019-10-08 23:35:34 +00:00
5e31565574
Expand blocktree processor options ( #6248 )
...
* Refactor blocktree processor args and support full leader cache
* Add entry callback option
* Rename num_threads to override_num_threads
* Add test for entry callback
* Refactor cached leader schedule changes
* Add tests for blocktree process options
* Refactor test
* @mvines feedback
2019-10-08 17:58:49 -04:00
723f9a9b81
Remove unnecessary locking in retransmit stage ( #6276 )
...
* Add more detailed metrics to retransmit
* Remove unnecessary locking and add more metrics
2019-10-08 14:41:16 -07:00
baf4e767e1
Increase number of transaction send retries. ( #6273 )
2019-10-08 13:04:27 -07:00
c5e5342325
Rearrange broadcast stats ( #6274 )
2019-10-08 12:50:59 -07:00
6123d2f9e8
Add print to bench-tps about blockhash time ( #6272 )
2019-10-08 11:34:10 -07:00
788296047a
Increase batch size for recvmmsg() ( #6260 )
...
* Increase batch size for recvmmsg()
* fix tests
* new test
2019-10-08 09:54:49 -07:00
9dceb8ac74
Broadcast/Shredding Metrics ( #6270 )
...
automerge
2019-10-08 01:42:42 -07:00
ac2374e9a1
Shred entries in parallel ( #6180 )
...
* Make shredding more parallel
* Fix erasure tests
* Fix replicator test
* Remove UnfinishedSlotInfo
2019-10-08 00:42:51 -07:00
667f9e0d79
Colo: Factor out inlined scripts to own files ( #6266 )
...
automerge
2019-10-07 22:05:36 -07:00
57916f8be6
Colo: Prefer public IPs ( #6264 )
...
automerge
2019-10-07 20:44:57 -07:00
e12c577b16
remove verify_hash_internal_state ( #6261 )
2019-10-07 16:38:54 -07:00
ba7efbb136
Retransmit stage optimization, don't copy packets ( #6250 )
2019-10-07 15:33:22 -07:00
79987e788e
Remove vote pubkey from deactivate_stake ( #6257 )
...
* Remove vote pubkey from deactivate_stake
* Fix test
* Update docs
2019-10-07 16:07:01 -06:00
4a071b06bd
Remove deprecated script ( #6258 )
2019-10-07 14:14:55 -06:00
17f169f446
BlobFetchStage cleanup post shred work ( #6254 )
2019-10-07 11:08:01 -07:00
6662986169
Fix vest_api output filename ( #6253 )
...
automerge
2019-10-07 10:31:04 -07:00
1c86160e16
Reorder parameters ( #6252 )
...
automerge
2019-10-07 09:42:56 -07:00
c34cc4918f
Prevent repeated accounts in genesis to avoid breaking account hashing
2019-10-07 08:12:18 +09:00
4870a2cbac
Panic when a snapshot fails to verify
2019-10-07 08:12:18 +09:00
da7d94d0f0
Retransmit stage benchmark ( #6249 )
2019-10-06 12:56:17 -07:00
cdef065cca
Broadcast Metrics ( #6166 )
...
* Add timing logigng to broadcast
* Shred metrics
* Fixes
2019-10-05 22:51:47 -07:00
e6676b4d4d
Cli refactor: move cluster query-related functionalities ( #6244 )
...
* Reorder and label parse_command's giant match
* Move cluster query processing into separate module
* Reorder and label process_command match
2019-10-04 19:54:09 -07:00
896351e0e8
Bump serde_yaml from 0.8.9 to 0.8.11 ( #6246 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.9 to 0.8.11.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.9...0.8.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-04 19:33:45 -06:00
fb39bd45d7
Revert "Rename solana-runtime to sealevel ( #6239 )" ( #6247 )
...
This reverts commit 2e921437cd
.
2019-10-04 19:33:29 -06:00
5ef012b2c1
Tweak debug to remove unreadable datapoints ( #6060 )
2019-10-04 16:25:22 -07:00
9c9754fa0f
Cli refactor: rename wallet to cli ( #6243 )
...
* Rename Wallet structs to Cli
* Rename wallet to cli more broadly
* Update to cli/config.yml, and update docs
2019-10-04 16:13:21 -06:00
2e921437cd
Rename solana-runtime to sealevel ( #6239 )
...
automerge
2019-10-04 15:02:44 -07:00
5617162cb6
Add Vest program ( #5987 )
...
automerge
2019-10-04 14:43:50 -07:00
0c3ff6b75c
Cli refactor: vote and storage program functionalities ( #6242 )
...
automerge
2019-10-04 14:18:19 -07:00
7f53737000
Periodically pull from the entrypoint if it's no longer in Crdt ( #6240 )
2019-10-04 14:18:07 -07:00
23ea8ae56b
Optimize retransmit stage ( #6231 )
...
* Optimize retransmit stage
* Remove comment
* Fix test
* Skip iteration to fixup 0 stakes
2019-10-04 11:52:02 -07:00
b5f7a4bff9
Add Bankless Leader design ( #6224 )
...
* bankless leader proposal
* docs
* mvines feedback
* clarify CD status of the execution key
* s/execution key/fee account
* remove weird spacing
* robs review comments
* document how base fork is reset
* frozen bank, not finalized
* nit
* add rationale
2019-10-04 11:13:46 -07:00
18653b825b
Preserve previous fullnode log file on restart
2019-10-04 07:58:33 -07:00
aa3694cca8
Bench tps: improve fund_keys ( #6225 )
...
automerge
2019-10-04 01:16:07 -07:00
844d231d74
Add default-run key for dev convenience ( #6235 )
...
automerge
2019-10-03 21:59:37 -07:00
d759a447be
Bump serde_json from 1.0.40 to 1.0.41 ( #6226 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.40...v1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-03 21:03:05 -06:00
ffae4662bc
Use AtomicU64 now that it's stabilized ( #6222 )
2019-10-03 20:02:28 -07:00
a05d772aa9
Add colo access pubkey ( #6232 )
...
* Add colo access pubkey
* Change the key to ed25519
2019-10-03 19:55:39 -07:00
cf3bbc09b6
Jump to nightly-2019-10-03 ( #6233 )
...
* Reduce what gets build for coverage to avoid OoM with nightly 2019-10-03
* Update nightly to 2019-10-03
2019-10-03 20:05:44 -06:00
d25576f8ef
clippy ( #6230 )
2019-10-03 19:36:54 -06:00
4b42fa2d75
Ensure all builds are triggered on a rust upgrade ( #6229 )
2019-10-03 16:31:50 -07:00
c1c7e0ff08
Remove reduntant semicolon
2019-10-03 16:25:00 -07:00
1d503faa2c
clippy
2019-10-03 16:14:28 -07:00
18c0f76f89
clippy
2019-10-03 15:59:37 -07:00
4d458a5e00
Keep the build green when there's nowhere to publish
2019-10-03 14:55:04 -07:00
92ea11fca1
make executable, vote and stake account rent exempt ( #6017 )
...
* add missing convenience method
* require vote account to be exempt
* make stake account rent exempt
* making executable rent exempt
* rent will be initialized in genesis
* add test for update_rent
2019-10-04 02:52:48 +05:30
cf2bcee607
Increase testnets to 4 validator nodes to avoid the need for 100% consensus
2019-10-03 09:53:31 -07:00
db7a3ac826
Revert "GitBook: [master] 12 pages and 33 assets modified"
...
This reverts commit f792171ae9
.
2019-10-02 23:53:20 -07:00
f792171ae9
GitBook: [master] 12 pages and 33 assets modified
2019-10-03 06:41:01 +00:00
81550e609b
Assume stable is already installed
2019-10-02 23:35:10 -07:00
c28d0d7c34
Avoid TRAVIS_RUST_VERSION check
2019-10-02 23:28:40 -07:00
6cb0790796
Fix crate metadata
2019-10-02 23:20:19 -07:00
c2961617bd
Add description tag
2019-10-02 23:13:19 -07:00
08e59b4a3c
Add description tag
2019-10-02 22:59:58 -07:00
7ac4ce637f
Bump reqwest from 0.9.20 to 0.9.21 ( #6221 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.21/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.20...v0.9.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-02 22:52:48 -07:00
586e0a67ef
Suppress nighly safety_doc warning
2019-10-02 22:51:14 -07:00
5aab2866e1
Rebuild SVGs
2019-10-02 22:51:14 -07:00
a20f12865a
Upgrade to rust 1.38
2019-10-02 22:51:14 -07:00
0bf1a24bf5
Enable patch branches
2019-10-02 22:45:02 -07:00
f9f5bc2eb5
More clippy
2019-10-02 21:21:07 -07:00
9fe8c98047
Switch to solana-reed-solomon-erasure temporarily to fix windows build ( #6211 )
2019-10-02 19:01:55 -07:00
13fc518268
Clippy work towards rust 1.38 ( #6219 )
2019-10-02 18:04:18 -07:00
c06876eb3d
Fix date formatting to work on Mac OS ( #6214 )
2019-10-02 14:44:52 -07:00
f331f1d1e9
Don't forward transaction to self ( #6218 )
2019-10-02 14:07:34 -07:00
054deb809b
Remove token program ( #6217 )
2019-10-02 14:07:23 -07:00
865ddfc63f
fix clippy ( #6215 )
2019-10-02 13:51:54 -07:00
315940b6a9
Bump BPF instruction cap ( #6213 )
2019-10-02 10:07:44 -07:00
211cae5811
Remove dead constants ( #6207 )
2019-10-01 18:22:57 -07:00
2c6599c73b
Bench-tps: flush tx queue when too old ( #6201 )
...
* Flush transaction VecDeque when hit old transactions
* Fixup too-old threshold
2019-10-01 15:43:36 -06:00
58139ce5ae
Add buildkite-agent key for colo access ( #6205 )
2019-10-01 13:24:04 -07:00
8e888059d8
Use built-in solana-gossip timeout for better error messages ( #6189 )
2019-10-01 12:30:11 -07:00
8d0236e3f1
Rename bank height to block_height and expose method ( #6199 )
...
* Rename bank bank_height to block_height
* Expose block_height method
2019-10-01 14:55:39 -04:00
774e9df2e5
Finish unfininished slot before processing new slots ( #6197 )
2019-10-01 11:46:14 -07:00
faae122375
Remove bogus wait
2019-10-01 11:08:52 -07:00
a6363e56b6
Add native_token module to sdk ( #6192 )
2019-10-01 13:53:28 -04:00
214c041bf7
cli code review ( #6183 )
2019-10-01 10:34:45 -07:00
ae7700296d
broadcast_shreds opt ( #6175 )
...
* Don't clone/copy/sort ContactInfo vec
2019-10-01 09:38:29 -07:00
f09183765c
Output timestamp to console for better logs
2019-10-01 09:17:47 -07:00
2f92b92a8a
Expose current stake accounts of a bank for use in cli tooling ( #6184 )
2019-09-30 21:57:49 -04:00
fee97236bf
Create vote account with at least 1 lamport ( #6188 )
2019-09-30 17:07:44 -06:00
520f7c3e18
Optimize BPF logs ( #6186 )
2019-09-30 14:21:29 -07:00
97752b4937
Fixup create-stake-account command ( #6187 )
...
automerge
2019-09-30 14:17:49 -07:00
2c8c2029d8
cli: enforce rent-exemption balance for stake, vote and program accounts in cli ( #6118 )
...
* require minimum balance for stake, vote and program accounts
2019-10-01 01:14:49 +05:30
4fbe36d9c6
Update stake-delegation-and-rewards.md ( #6182 )
...
* Update stake-delegation-and-rewards.md
* Update stake-delegation-and-rewards.md
* Update stake-delegation-and-rewards.md
2019-09-30 12:30:55 -07:00
4f4618441c
split wallet staking commands ( #6168 )
...
* split wallet staking commands
* elide real home
* unit->UNIT for usage
* unit->UNIT, don't try to run SUBCOMMANDS: ;)
* more fixup
* fixups
* actually check
* shellcheck
* preserve #6158 after rebase
* fixup
* test
* too hard
* remove test
2019-09-29 21:18:15 -07:00
e5a7d08966
Add --expected-genesis-blockhash validator argument ( #6174 )
...
automerge
2019-09-29 19:09:24 -07:00
11fc684f3c
Clear download progress bar to avoid flicker during archive extraction ( #6162 )
2019-09-29 17:56:33 -07:00
d50aef8404
Add get-epoch-info command ( #6161 )
...
automerge
2019-09-27 22:00:30 -07:00
5637f88aff
Don't try signging coding shred if fec rate is 0 ( #6171 )
...
automerge
2019-09-27 21:58:53 -07:00
f14bc0bb59
Bump num-derive from 0.2.5 to 0.3.0 ( #6165 )
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.2.5...num-derive-0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-27 20:20:57 -06:00
c50d2a6311
Update solana_rbpf to v0.1.18 ( #6170 )
...
* Update solana_rbpf to v0.1.18
* lock
2019-09-27 19:17:12 -07:00
284273a73f
Cleanly error when trying to delegate-stake an existing stake account ( #6158 )
2019-09-27 14:35:49 -07:00
4c5d0fc51f
Validator-info doc update ( #6152 )
2019-09-27 13:26:02 -07:00
75a92d58cb
Featureize move ( #5897 )
...
* Featureize move
* Add move featured test
2019-09-27 12:19:06 -07:00
db18611c86
Add ability to manually create a db ( #6151 )
2019-09-27 12:03:20 -07:00
bf199a2ebc
doc: update validator-info publish arguments ( #6146 )
2019-09-27 11:15:38 -07:00
db05864a69
Add ssh key check ( #6149 )
2019-09-27 10:55:51 -07:00
f97d33e3a7
Add sakridge pubkey ( #6142 )
2019-09-27 10:55:38 -07:00
16e3ba86d5
get_new_blockhash() now retries longer (5s instead of 2s) ( #6143 )
2019-09-27 10:36:38 -07:00
cc05019bbb
Create vote account with 1 lamport instead of 1 SOL
2019-09-27 08:14:10 -07:00
f57e48a209
Avoid storing epoch 0 credits if no credits where earned in epoch 0 ( #6132 )
2019-09-26 20:57:35 -07:00
7c964cf79f
Add specific hardware setup to performance metrics doc. ( #6131 )
2019-09-26 18:59:41 -07:00
c9e58743e7
Prevent subtract overflow panic when slot < MAX_LOCKOUT_HISTORY ( #6135 )
2019-09-26 19:40:18 -06:00
a09cf1470a
Remove libstd statics to eliminate .bss ( #6134 )
...
automerge
2019-09-26 17:38:08 -07:00
57dc46fcfe
staking rewards reinvestment ( #6129 )
2019-09-26 15:57:18 -07:00
06b445ac07
Skip if --custom-cpu is used as well. ( #6130 )
2019-09-26 15:52:03 -07:00
b4da83a3ab
Remove CUDA feature ( #6094 )
2019-09-26 13:36:51 -07:00
a964570b1a
add authorities to stake init ( #6104 )
...
* add authorities to stake init
* fixups
* code review
2019-09-26 13:29:29 -07:00
50bbe34b66
rename locktower to tower ( #6120 )
2019-09-26 13:29:05 -07:00
c10b2e6cc0
Cleanup Rust BPF sysroot ( #6124 )
2019-09-26 13:27:33 -07:00
c4ed80d544
colo-utils: Disable StrictHostKeyChecking for SSH calls ( #6117 )
...
automerge
2019-09-26 11:22:07 -07:00
67d07254c2
Add rent estimation rpc ( #6109 )
...
* server side new rpc endpoint
* client side rpc
* take data_len as usize
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* add test and documentation
2019-09-26 23:27:13 +05:30
74a648accb
Enable SOL or lamports for create-vote-account, show-{stake,vote}-account commands ( #6114 )
...
automerge
2019-09-26 10:26:47 -07:00
35365974bf
Remove serializing all ForkHashes ( #6110 )
2019-09-26 02:01:25 -07:00
355a40800d
remove consensus.msc ( #6106 )
2019-09-25 18:15:14 -07:00
701d90a41d
Remove some AccountStorage Serialization ( #6047 )
...
* Remove serialization of AccountStorageEntry fields
* Add metric for evaluating BankRc serialization time
* Serialize AppendVec current len
* Add dashboard metrics
* Move flush of AppendVecs to packaging thread
2019-09-25 18:07:41 -07:00
56f6ee84f1
Fix Bench-tps being too strict ( #6105 )
...
automerge
2019-09-25 17:43:13 -07:00
e2a5ec9cd2
Change formula used in erasure statistics graph ( #6102 )
...
automerge
2019-09-25 14:57:16 -07:00
aea0326b82
coverage by package ( #6099 )
2019-09-25 14:01:09 -07:00
93ad637c5c
typo
2019-09-25 16:58:53 -04:00
6be5e21aaf
GitBook: [master] 17 pages and 59 assets modified
2019-09-25 20:58:40 +00:00
43795193c4
add authorized parameters to vote api ( #6072 )
...
* add authorized parameters to vote api
* code review
2019-09-25 13:53:49 -07:00
62429585ba
Bump bincode from 1.1.4 to 1.2.0 ( #6065 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.1.4...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-25 14:44:29 -06:00
e987d0094f
Move status cache serialization to the Snapshot Packager service ( #6081 )
...
* Move status cache serialization to the Snapshot Packager service
* Minor comment updates
* use ok_or_else instead of ok_or
* satus cache
* Remove assert when snapshot format is wrong
* Fix compile
* Remove slots_to_snapshot from bank forks
* Address review comment
* Remove unused imports
2019-09-25 13:42:19 -07:00
093b5b5267
Prune fork_hashes with dead forks ( #6085 )
2019-09-25 11:16:14 -07:00
678a5aff83
Remove brace expansion in arg list ( #6091 )
2019-09-25 12:52:07 -04:00
03dc4a20a1
Single threaded LLD ( #6088 )
2019-09-25 07:44:33 -07:00
de3765ab70
Add erasure recovery stats to dashboard ( #6079 )
...
automerge
2019-09-24 19:59:42 -07:00
5f079137e5
Remove kvstore ( #6075 )
...
automerge
2019-09-24 19:59:32 -07:00
94f0c081a6
Fix staker / voter credit redemption ( #6074 )
...
* Fix staker / voter credit redemption
* Rename variables
2019-09-24 22:58:31 -04:00
229836511d
Remove local_cluster tests from stable-perf job, removee other tests from local-cluster job ( #6067 )
2019-09-24 19:05:25 -07:00
f2f041bb7c
Avoid accidential tx_count mismatches when using an accounts file ( #6069 )
2019-09-24 18:46:43 -07:00
3562774f8b
Reduce poll sleep ( #6068 )
...
* Reduce sleep in poll_for_signature_confirmations
* Unignore test_repairman_catchup
2019-09-24 17:01:18 -06:00
374b776a3e
Fix using temp file for archive ( #6058 )
...
* Fix using temp file for archive
* Rename the temp archive instead of hardlinking it
2019-09-24 15:24:54 -07:00
5763d63737
Additional tests for should_retransmit_and_persist ( #6062 )
...
automerge
2019-09-24 14:54:10 -07:00
9d805dfc59
Tweak Bank Slot Distance graph
2019-09-24 14:52:29 -07:00
e6390b754f
Bump env_logger from 0.6.2 to 0.7.0 ( #6044 )
2019-09-24 14:22:26 -07:00
7babfd00c1
Revert back to reqwest, using rustls feature ( #6041 )
...
* Revert back to reqwest, using rustls feature
* Cargo.lock and crate-features
* Ignore test
2019-09-24 14:10:59 -06:00
571dc4e387
Update stale code references for vote program in book ( #6061 )
2019-09-24 15:55:32 -04:00
3ed34b571c
Window service is filtering out coding shreds ( #6052 )
...
* Window service is filtering out coding shreds
* update erasure stats to indicate recovery count
* filter out outdated coding shreds
* address review comments
2019-09-24 12:25:25 -07:00
d7e4c8e3cf
Support primordial accounts with no data ( #6053 )
2019-09-24 10:42:33 -07:00
57e90948a8
Remove dead code from cluster_info ( #6051 )
2019-09-24 10:27:59 -07:00
26a20a7e62
nits ( #6032 )
2019-09-24 10:10:49 -07:00
b6a8268da3
Fix BPF program static linking ( #5992 )
2019-09-24 07:09:53 -04:00
61d7467ba8
Flip order of arg to ensure -t sticks
2019-09-23 22:20:22 -07:00
7fa809c16d
Avoid hardlinking as that confuses tar ( #6042 )
2019-09-23 20:12:16 -07:00
84f74807d4
Skip considering banks older than the latest vote slot ( #6037 )
...
automerge
2019-09-23 19:40:03 -07:00
4f59077318
Fix vote metrics ( #6038 )
...
automerge
2019-09-23 18:09:20 -07:00
3a9c03cc89
Don't recover coding shreds ( #6034 )
...
* Don't recover coding shreds
* cleanup
2019-09-23 16:24:21 -07:00
f055d2f0cc
' => " ( #6035 )
2019-09-23 16:03:38 -07:00
72fb52ec60
rename balance ( #5984 )
2019-09-23 15:20:45 -07:00
62c22c6cb1
Fix really old banks triggering log spam ( #6025 )
2019-09-23 13:59:16 -07:00
dbd337c616
Upgrade to ReedSolomon 4.0 release ( #6026 )
2019-09-23 13:53:52 -07:00
eeda7338cc
Dump tar stdout/err on failure for better debug ( #6024 )
2019-09-23 13:05:09 -07:00
261ea00efb
Fix race between observing tick height being set to last tick and blockhash being observed on a bank ( #6013 )
2019-09-23 12:54:39 -07:00
02647c25a9
net: Add Trent's work laptop pubkey ( #6022 )
...
automerge
2019-09-23 10:25:36 -07:00
433b0808e4
Remove the _/deps symlink, just copy instead ( #6020 )
2019-09-23 09:16:56 -07:00
529b163bd0
GitBook: [master] 156 pages and 12 assets modified
2019-09-23 03:38:34 +00:00
9c9991db1d
Update cargo toml and lock files to v0.20.0 ( #6016 )
2019-09-22 21:45:56 -04:00
aacead62c0
Move images from img/ to .gitbook/assets
2019-09-21 22:26:45 -07:00
ae5a6a06bb
Revert "GitBook: [master] 156 pages and 8 assets modified"
...
This reverts commit 60320e6b6e
.
2019-09-21 22:24:11 -07:00
60320e6b6e
GitBook: [master] 156 pages and 8 assets modified
2019-09-22 04:31:10 +00:00
169ece8226
Rename client.sh to bench-tps.sh ( #6014 )
2019-09-21 21:12:10 -07:00
5020a4aa6b
Add required port to --entrypoint arg in docs. ( #6015 )
2019-09-21 21:12:01 -07:00
4c49566a89
Enable nvidia persistence mode on instance reboots
2019-09-21 10:45:20 -07:00
ab60c578b9
Unconditionally redeploy the edge testnet hourly to better exercise snapshot restarts
2019-09-21 09:28:59 -07:00
050021cf77
Add SVGs for Gitbook ( #6009 )
2019-09-21 07:59:36 -07:00
8240d1fe0a
Confidence implementation ( #5993 )
...
* Change confidence parameters
* Add status_cache_ancestors to get all relevant ancestors of a bank including roots from status cache
* Fix and add tests
* Clippy
2019-09-20 19:38:56 -07:00
fd6e7020eb
Fix bank overlapping another bank's broadcast ( #6012 )
2019-09-20 19:37:40 -07:00
261b869e27
Update book links to gitbook
2019-09-20 16:06:36 -07:00
d6d5b4429c
Remove \r
2019-09-20 16:04:55 -07:00
67d7375ab9
Add more descriptive error on a stuck blockhash ( #6010 )
...
automerge
2019-09-20 15:50:43 -07:00
020d34187c
Fetch logs on redeploy failure
2019-09-20 15:45:47 -07:00
5486e4c364
Inline BPF log functions ( #6007 )
2019-09-20 15:40:41 -07:00
33e2af341a
Add deps/ symlink so solana-validator-cuda can find native programs
2019-09-20 15:26:49 -07:00
cca08c3923
Sort terminology in book ( #6008 )
2019-09-20 15:16:35 -07:00
bb9f07183b
Only fetch logs on sanity failure
2019-09-20 14:47:56 -07:00
22e807c212
Bump jsonrpc-ws-server from 13.1.0 to 13.2.0 ( #5976 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.1.0...v13.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-20 15:16:59 -06:00
a60a3efc1a
Revert "require stake, vote and executable accounts to be rent exempt ( #5928 )" ( #6005 )
...
This reverts commit 11e6197a83
.
2019-09-20 14:10:39 -07:00
558a362c46
Replace blob with shred in book ( #6004 )
2019-09-20 13:27:09 -07:00
19ae556857
hash account state on store ( #5573 )
2019-09-20 13:21:12 -07:00
5dd3a07a23
Avoid changing the current working directory
2019-09-20 12:46:29 -07:00
58a6c9a5f0
Adjust path to perf-libs
2019-09-20 12:27:09 -07:00
7053978861
Fix cp src
2019-09-20 12:15:05 -07:00
3d44cffcda
✨ Beautify metrics datapoint logging ( #5998 )
2019-09-20 12:00:43 -07:00
4b1de02bbb
solana-validator-cuda wrapper is now net.sh compatible
2019-09-20 11:37:45 -07:00
078a3aeccd
Properly build solana-validator-cuda ( #5999 )
2019-09-20 11:36:57 -07:00
abaccd6882
Pull in Rust-BPF v0.1.6 ( #5997 )
...
automerge
2019-09-20 11:21:01 -07:00
3fe54206aa
Btc spv - variable int improvements ( #5990 )
...
* var_int tests
* variable int fix
* moved tests
2019-09-20 10:57:57 -06:00
debee350f8
Remove whitespace
2019-09-20 08:20:19 -07:00
890be36fd3
Fix check
2019-09-20 08:19:57 -07:00
c9be9acd14
log snapshot time ( #5996 )
2019-09-20 08:03:00 -07:00
8eab673b1c
Bump serde from 1.0.100 to 1.0.101 ( #5994 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-20 07:05:16 -06:00
e5806d07a6
Bump jsonrpc-pubsub from 13.1.0 to 13.2.0 ( #5995 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.1.0...v13.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-20 07:04:14 -06:00
11e6197a83
require stake, vote and executable accounts to be rent exempt ( #5928 )
...
* require vote account to be exempt
* make stake account rent exempt
* add rent exempted system instruction
* use rent exemption instruction in vote and stake api
* use rent exempted account while creating executable account
* updating chacha golden hash as instruction data has changed
* rent will be initialized for genesis bank too
2019-09-20 16:52:17 +05:30
accd49f2e4
Remove unneeded --all
2019-09-19 23:30:08 -07:00
54cf9aaa1e
Preserve public network flag when testnet-edge is restarted
2019-09-19 23:02:47 -07:00
8bbc8343ff
Place verison.yml in the right location
2019-09-19 22:41:27 -07:00
a4e72ac037
Avoid airdropping to a validator that's already configured
2019-09-19 22:33:41 -07:00
1d0be265d9
Add explicit validator-cuda crate ( #5985 )
2019-09-19 20:50:34 -07:00
d379786c90
Fix bind errors ( #5986 )
...
* Add ability to bind to a common tcp/udp port
* Extend port range for local-net sanity and fix validator executable
2019-09-19 17:16:22 -07:00
ca9d4e34df
Broadcast stage tuning ( #5989 )
2019-09-19 16:29:52 -07:00
6657312f44
dyn for runtime benches ( #5983 )
2019-09-19 14:21:09 -07:00
2636a9c9f1
Add script for managing colo resourse ala gce.sh ( #5854 )
...
automerge
2019-09-19 14:08:22 -07:00
05ada97d00
Clean up log folding
2019-09-19 13:44:59 -07:00
4c54245969
net/gce.sh: Sync cloud_CreateInstances docs and usage ( #5982 )
...
automerge
2019-09-19 13:28:25 -07:00
5157bdd8ce
Bump jsonrpc-http-server from 13.1.0 to 13.2.0 ( #5975 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.1.0...v13.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-19 13:10:54 -06:00
8fa28f965c
clear config ( #5980 )
2019-09-19 12:10:29 -07:00
51b3451e20
feat: use redis version 5+ via ppa:chris-lea ( #5981 )
2019-09-19 12:04:06 -07:00
fee5c6c057
testnet-edge/testnet-beta now update while preserving the ledger ( #5979 )
...
* Check if an update is current before deploying it again
* Add (new) update command to deploy testnet updates
* Add --deploy-if-newer flag to permit conditional net updates
2019-09-19 12:03:47 -07:00
9917ece826
Kill the old blockexplorer harder
2019-09-19 10:37:27 -07:00
8d94972d88
Publish version information as stand-alone file for easy access
2019-09-19 10:26:51 -07:00
5cbd1190b2
transaction batch ( #5962 )
...
* transaction batch
* fixup
2019-09-19 10:06:08 -07:00
1a71804ef2
Bump bs58 from 0.2.5 to 0.3.0 ( #5974 )
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.2.5...0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-19 10:39:37 -06:00
1650519962
SOLANA_CUDA=1 works again ( #5968 )
...
* SOLANA_CUDA=1 works again
* Minor comment reformat
* Set SOLANA_CUDA=1 explictly
2019-09-19 08:52:00 -07:00
355564e486
net/net.sh start --skip-setup ...
now works again (#5977 )
2019-09-19 08:31:22 -07:00
1e3543e953
Ignore tests ( #5972 )
2019-09-18 23:57:50 -07:00
e83f6332bf
Bump serde_derive from 1.0.100 to 1.0.101 ( #5945 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-18 21:29:40 -07:00
0dbf7995b5
Remove unnecessary serialize of shred data ( #5967 )
...
* Remove unnecessary serialize of shred data
* remove obsolete code
* fix golden hash
2019-09-18 20:08:27 -07:00
0d16db2d1b
Remove bloat due to test symbols ( #5965 )
2019-09-18 19:54:10 -07:00
10565277d6
btc-spv transaction parsing ( #5858 )
...
* Transaction and input parsing/decoding + utils
* Transaction input & output parsing
* public struct members, tx parsing test
* format and clippy fixes
* update block data/test material fetching utils
* update tx parsing tests
* format changes
* rename for consistency
2019-09-18 20:30:27 -06:00
e0858cfe06
Add parallel shred signing to shredder ( #5964 )
2019-09-18 18:00:07 -07:00
48d754220b
Add verifying snapshots book entry ( #5885 )
2019-09-18 17:19:19 -07:00
958cbe688b
Dump debug version of BPF shared object ( #5937 )
2019-09-18 16:34:22 -07:00
783e8672e7
Removed Shred enum ( #5963 )
...
* Remove shred enum and it's references
* rename ShredInfo to Shred
* clippy
2019-09-18 16:24:30 -07:00
d93b552e8c
move cluster economics to implemented ( #5953 )
2019-09-18 16:17:42 -07:00
365fe70f77
Delete dead code ( #5948 )
2019-09-18 16:09:10 -06:00
6c4e656795
Remove obsoleted code from shred ( #5954 )
...
* Remove obsoleted code from shred
* fix broken test
2019-09-18 13:56:44 -07:00
86213d38fe
Release builds for local cluster tests ( #5891 )
...
* Release builds for test
* Remove setting thread count in local cluster
* Increase timeout
* Move local cluster to separate job
* Extract out local cluster test from bench-tps
* Make local cluster inaccessible from outside crate
* Update test-stable.sh to exclude local_cluster in stable, include it in local-cluster CI job
* Move bench-exchange to local cluster
* Remove local cluster from coverage
2019-09-18 13:10:50 -07:00
b757294864
Add minor performance bump to shredding ( #5956 )
2019-09-18 12:35:52 -07:00
8b99e6dfbe
Narrow wildcard matching for solana tarball ( #5950 )
2019-09-18 12:28:13 -07:00
0d4a2c5eb0
simplify poh recorder => broadcast channel ( #5940 )
...
* simplify poh recorder broadcast channel
* fixup
* fixup
2019-09-18 12:16:22 -07:00
64f23ab26a
Remove old accepted design proposals ( #5951 )
...
* remove passive-stake-delegation-and-rewards from summary
* Delete passive-stake-delegation-and-rewards.md
2019-09-18 12:01:16 -07:00
31a276b628
Bump jsonrpc-core from 13.1.0 to 13.2.0 ( #5894 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.1.0...v13.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-18 11:44:47 -06:00
742562fc2e
Set maintenance policy to terminate and restart for GCE ( #5935 )
2019-09-18 10:38:38 -07:00
ce65604154
Rewrite wallet sanity test to use the ping command ( #5946 )
...
automerge
2019-09-18 10:03:54 -07:00
75c0a268e0
Bump jsonrpc-derive from 13.1.0 to 13.2.0 ( #5893 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.1.0...v13.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-18 10:48:37 -06:00
badcb8b0e3
Clarify runtime vs program rules ( #5934 )
...
* Clarify runtime vs program rules
And define "smart contract"
* Apply review feedback
* Rename secret key to private key
* Rename pubkey to public key in book
"pubkey" is a great shorthand in code, but it's not common in the
industry or something we want to spend time explaining to users.
2019-09-18 10:47:50 -06:00
c48c9be913
Add solana-cli uptime subcommand ( #5944 )
...
automerge
2019-09-18 09:29:57 -07:00
92295dea4f
Exit cleanly with error message when the user supplies a bad cluster entrypoint ( #5947 )
...
automerge
2019-09-18 08:44:22 -07:00
76223f5ae7
Print airdrop request in proper units ( #5941 )
...
* Make airdrop msg units consistent
* Make sol prints prettier
2019-09-17 23:59:35 -06:00
ea015ccbe8
Update Gitbook YAML to add summary
2019-09-17 20:50:15 -06:00
2f50d0e145
Refactor confidence from replay stage ( #5938 )
2019-09-17 19:43:40 -07:00
268beb3489
Revert "GitBook: [master] 82 pages and 4 assets modified"
...
This reverts commit 20d13f51a9
.
2019-09-17 20:39:15 -06:00
20d13f51a9
GitBook: [master] 82 pages and 4 assets modified
2019-09-18 02:22:18 +00:00
ffdf36c65b
remove grants from inflation ( #5936 )
2019-09-17 18:52:39 -07:00
ff608992ee
Replace Shred usage with ShredInfo ( #5939 )
...
* Replace Shred usage with ShredInfo
* Fix tests
* fix clippy
2019-09-17 18:22:46 -07:00
7e31a67d81
Ignore release branches that exist only for gitbook
2019-09-17 15:31:13 -07:00
c0ec2ca27a
Add gitbook configuration
2019-09-17 15:20:19 -07:00
a2595b44c6
test randomize with error ( #5916 )
...
* test randomize with error
* update magic numbers
* fixup
* fixup
* fixup
* no more blobs
* fixup
2019-09-17 15:11:29 -07:00
180f415736
Update release instructions ( #5933 )
2019-09-17 14:01:33 -07:00
6541d9fbb0
Bump hex from 0.3.2 to 0.4.0 ( #5930 )
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-17 14:04:28 -06:00
de4f564780
fix test name ( #5932 )
2019-09-18 01:14:44 +05:30
14cb6353c0
Change erasure ratio to 0.25 and increase data shreds to 16 ( #5931 )
...
* Change erasure ratio to 0.25 and increase data shreds to 16
* Fix case where no coding shreds are requested
2019-09-17 11:59:14 -07:00
9e680112e7
Exclude GitBook synchronization commits from CI ( #5929 )
2019-09-17 11:15:21 -07:00
c90595cba1
Cleanup nits ( #5914 )
2019-09-17 10:21:22 -07:00
de1636c792
Enable --limit-ledger-size on testnets ( #5927 )
...
automerge
2019-09-17 10:05:41 -07:00
e26f68fe62
Get transactions from LockedAccountsResults when possible ( #5923 )
2019-09-17 08:41:56 -07:00
39ba9cb489
fix broken link to rent description ( #5925 )
2019-09-17 07:21:57 -07:00
08d4570ce5
Bump sys-info from 0.5.7 to 0.5.8 for rayon-threadlimit ( #5924 )
2019-09-17 07:21:16 -07:00
084706c5ea
Bump pretty-hex from 0.1.0 to 0.1.1 ( #5926 )
...
Bumps [pretty-hex](https://github.com/wolandr/pretty-hex ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/wolandr/pretty-hex/releases )
- [Commits](https://github.com/wolandr/pretty-hex/compare/v0.1.0...v0.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-17 07:20:39 -07:00
d63518a835
Rent tangential stuff ( #5910 )
...
* rename rent.rs to rent_calculator.rs
* add rent sysvar
* integrate rent_calculator with bank
* rent_calculator integration with genesis
* add test for rent sysvar
2019-09-17 17:12:55 +05:30
b31d334ef4
update economics section to provide detail on expected inflation parameters ( #5615 )
2019-09-17 10:39:23 +02:00
5c4c562a2d
Update validator-stake.md ( #5922 )
...
* Update validator-stake.md
* Update validator-stake.md
2019-09-16 21:54:44 -07:00
f10438d530
Respect randomized transaction order when unlocking accounts ( #5918 )
2019-09-16 21:45:16 -07:00
7459eb15c3
A new data-structure in shreds for partial deserialization ( #5915 )
...
* A new datastructure in shreds for partial deserialization
* fix chacha golden hash
* fix clippy and address review comments
2019-09-16 20:28:54 -07:00
c44e7ce184
Leaders should not broadcast to replicators ( #5917 )
2019-09-16 17:56:34 -07:00
bd19fe5909
add custodian to stake ( #5900 )
...
* add custodian to stake
* nits
2019-09-16 17:47:42 -07:00
82615c703b
Switch erasure to solana-reed-solomon-erasure ( #5913 )
...
* Switch to solana-reed-solomon-erasure
* Disable Rayon for solana-reed-solomon-erasure
2019-09-16 16:14:55 -07:00
bc2141fbe0
Bump ureq from 0.11.0 to 0.11.1 ( #5905 )
...
Bumps [ureq](https://github.com/algesten/ureq ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/algesten/ureq/releases )
- [Commits](https://github.com/algesten/ureq/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-16 16:51:45 -06:00
f5964b4f3c
unable to reproduce linkage issue ( #5912 )
2019-09-16 14:35:58 -07:00
d5ba90d375
Don't verify blobs that are less than root in window service ( #5901 )
2019-09-16 13:13:53 -07:00
167adff22c
Strip ELF files ( #5898 )
2019-09-16 11:11:33 -07:00
5f54573613
More shred related cleanup ( #5909 )
...
* More shred related cleanup
* fix uncle
2019-09-16 10:28:28 -07:00
2b43b117dc
Demote vote-native datapoint from warn to info ( #5911 )
2019-09-16 10:12:55 -07:00
1aec9e38fa
Restore default time range to now-5m
2019-09-16 08:45:27 -07:00
c1880e3f3e
Reduce number of shreds per FEC block ( #5908 )
2019-09-15 10:37:12 -07:00
c490a50c91
Restore blocktree_error graph
2019-09-14 21:41:48 -07:00
ee791e2e3e
Optimizations to shred writing and signing ( #5890 )
...
* Optimizations to shred writing and signing
* fix broken tests
* fixes
2019-09-14 21:05:54 -07:00
140d4ccf77
Add dead slot table to stablity section
2019-09-14 20:54:23 -07:00
ceacc42126
Call gpu init earlier to force compilation. ( #5902 )
2019-09-14 12:32:57 -07:00
a6479eb6e9
Data points are now logged according to their level, instead of always debug! ( #5906 )
...
Note that Counters remain at debug! to avoid excessive default logging
2019-09-14 08:52:09 -07:00
84c8a5bbec
Add replay-stage-mark_dead_slot datapoint ( #5907 )
2019-09-14 08:50:53 -07:00
e1f4e8a84a
Add solana-crate-features workaround to avoid cargo feature thrashing ( #5904 )
...
automerge
2019-09-13 23:46:21 -07:00
8135279335
Reduce serialize/deserialize in shred recovery ( #5887 )
2019-09-12 21:52:13 -07:00
5dceeec1ca
Add authorize_staker functionality ( #5880 )
...
* Add authorized_staker functionality
* Generalize authorize names; implement for Lockup
* Fix authorize() usage and improve tests
2019-09-12 20:03:28 -06:00
8f5a1535af
Add mnenomic keypair generation and recovery to cli ( #5889 )
...
* Add mnenomic keypair generation and recovery to cli
* Use password input to retrieve mnemonic phrase
* Direct users without keypair file to use solana-keygen
2019-09-12 18:37:29 -07:00
92a5979558
net/config/ is now shellcheck compliant ( #5888 )
...
automerge
2019-09-12 16:11:13 -07:00
8b64de0a3c
Add restart-explorer script, to easily restart the network explorer on a testnet ( #5886 )
2019-09-12 15:12:10 -07:00
9c30e98df6
Fix cargo lock ( #5881 )
2019-09-12 12:07:06 -07:00
c1d788880d
Limit Rayon threadpool threads ( #5871 )
2019-09-12 11:39:39 -07:00
385086359c
Reduce serializations/deserializations of shreds ( #5879 )
2019-09-12 10:10:25 -07:00
176c7d8b13
Pull all the Rust BPF tests into a single workspace so they share dependencies ( #5878 )
2019-09-11 14:55:58 -07:00
a85604b2ba
Bump sys-info from 0.5.7 to 0.5.8 ( #5877 )
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-11 10:53:23 -07:00
bf1ecc2441
Remove ledger verification, it's racy and essentially globaly disabled already ( #5867 )
2019-09-11 10:53:10 -07:00
92d2452f33
redelegate stake ( #5868 )
...
* redelegate stake
* boil this down to just delegate(), which can be offered any number of times
2019-09-11 09:48:29 -07:00
1853771930
Add support for SDK sysvar types ( #5876 )
2019-09-10 18:53:02 -07:00
772ee4b29d
Add num_lamports_per_account as a configurable argument ( #5869 )
2019-09-10 16:24:43 -07:00
c62a4a1c13
Interpret Solana-CLI amount requests in SOL by default ( #5866 )
...
automerge
2019-09-10 16:16:40 -07:00
008dcd71b9
BPF loader message nits ( #5870 )
2019-09-10 16:13:23 -07:00
ee4266bc59
Remove banks in locktower not in bank_forks ( #5837 )
...
* Remove unnecessary calculations from collect_vote_lockouts
* Add test for locktower startup from snapshot
2019-09-10 13:58:27 -07:00
294d531e0b
Bump serde_derive from 1.0.99 to 1.0.100 ( #5864 )
...
automerge
2019-09-10 13:31:11 -07:00
e05f8faa74
Print account balances in SOL by default ( #5857 )
...
* Print account balances in SOL by default
* Review comments
* Fix wallet-sanity
2019-09-10 13:36:59 -06:00
fc4aa71193
GCE-based nodes now reboot on maintenance events instead of terminating ( #5861 )
2019-09-10 12:30:06 -07:00
0d7efe5176
Bump serde from 1.0.99 to 1.0.100 ( #5862 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-10 12:27:41 -07:00
b426dfb2c0
Change tx batching in banking process and record ( #5832 )
...
* Change tx batching in banking process and record
* Change batching to reduce impact on replay stage
2019-09-10 11:04:03 -07:00
fd33b27af1
Fix coding shred generator ( #5865 )
2019-09-10 09:35:07 -07:00
39f89e5a56
Fix bench clients reading primordial account files ( #5860 )
...
* Fix bench-tps balance lookup
* Also fix bench-exchange
2019-09-09 19:48:43 -07:00
b881029de3
make voter_pubkey a function of epoch ( #5830 )
...
* make voter_pubkey a function of epoch
* fixups
2019-09-09 18:17:32 -07:00
7682db4826
Generate coding shreds on the fly based on erasure limits ( #5852 )
...
* Generate coding shreds on the fly based on erasure limits
* fix uncle
2019-09-09 17:26:51 -07:00
61fe1aa9cf
SDK cleanup to reduce featurization ( #5856 )
2019-09-09 16:38:52 -07:00
468095ede2
Update project to use new account serialization format ( #5848 )
2019-09-09 16:17:10 -07:00
9dc5da7dbd
net/net.sh: Add flag to skip build ( #5853 )
...
automerge
2019-09-09 15:40:12 -07:00
a18cd29411
Remove unsigned division from FeeCalculator ( #5851 )
2019-09-09 15:07:32 -07:00
b13c690f0c
Bump indicatif from 0.11.0 to 0.12.0 ( #5844 )
...
automerge
2019-09-09 12:26:34 -07:00
a7fd726872
Bump console from 0.8.0 to 0.9.0 ( #5843 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.8.0...0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-09 11:15:24 -07:00
6a082d2310
Bump cc from 1.0.41 to 1.0.45 ( #5842 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.41 to 1.0.45.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.41...1.0.45 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-09 11:15:13 -07:00
a317e9513f
Add sysvar support ( #5838 )
2019-09-09 10:55:35 -07:00
ee0c570d54
Rework solana-validator-cuda to automatically prepare the perf-libs env ( #5849 )
...
automerge
2019-09-08 21:20:08 -07:00
7607800d47
Refactor restart function in local cluster to support separate exit and restart functions ( #5845 )
2019-09-08 17:53:34 -07:00
b35c022629
More types ( #5846 )
...
automerge
2019-09-08 11:13:59 -07:00
11cec8f24e
Move appveyor off the system drive
2019-09-08 10:05:58 -07:00
df205f8752
Use ureq instead of influx_db_client ( #5839 )
2019-09-07 12:48:45 -07:00
affcb5ec43
remove hashmap from stake_history ( #5834 )
2019-09-07 10:33:06 -07:00
bdda79343e
scripts/cargo-install-all.sh: Ensure solana-genesis
is built last ( #5827 )
...
Workaround for #5826
2019-09-06 20:00:24 -07:00
1833db51a5
Cleanup program account def ( #5833 )
2019-09-06 17:32:14 -07:00
81c36699c4
Add support for BPF program custom errors ( #5743 )
...
* Add support for BPF program custom errors
* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00
d3052d094c
fmt does not work with cfg_if ( #5829 )
2019-09-06 15:33:58 -07:00
4c4b7d39b8
Cleanup program's ProcessInstruction ( #5828 )
2019-09-06 14:44:41 -07:00
e8d88f3237
Split SDK's timing.rs ( #5823 )
2019-09-06 14:30:56 -07:00
cc8575dd96
multinode-demo/validator.sh: Don't exit from kill_node
( #5825 )
...
That's `kill_node_and_exit`'s job
2019-09-06 15:08:30 -06:00
f28782cb84
Bump chrono from 0.4.8 to 0.4.9 ( #5775 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.8 to 0.4.9.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits/v0.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-06 13:55:36 -06:00
c58e7dd631
[Security] Bump blake2 from 0.8.0 to 0.8.1 ( #5824 )
...
Bumps [blake2](https://github.com/RustCrypto/hashes ) from 0.8.0 to 0.8.1. **This update includes a security fix.**
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/blake2-v0.8.0...sha1-v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-06 13:55:06 -06:00
d9817c153a
Switch programs to use Pubkey from SolPubkey ( #5821 )
2019-09-06 12:40:01 -07:00
6057768fdc
Support arbitrary account creation in genesis ( #5799 )
2019-09-06 23:45:23 +05:30
4a20c2aa1b
add stake and vote errors ( #5814 )
...
* add stake errors
* remove self from type_of
* sheesh
* better
* add stake errors
* update wallet error handling
* fixup
2019-09-06 10:55:03 -07:00
e5f902369c
Rust BPF programs depend on Solana SDK ( #5819 )
2019-09-06 09:20:14 -07:00
1f9fde5f7b
ThinClient internal name grooming ( #5800 )
2019-09-06 09:07:40 -07:00
c3782082bc
Add retries to smooth over ThinClient internal experiments ( #5813 )
2019-09-06 07:24:04 -07:00
a452249bf3
Use retain on Packets instead of creating new ones ( #5804 )
...
* Use remove on Packets instead of creating a new one
* Fix compile after rebase
2019-09-05 19:16:18 -07:00
3d3b03a123
Verify signature of recovered shred before adding them to blocktree ( #5811 )
...
* Verify signature of recovered shred before adding them to blocktree
* fix failing tests, and review comments
2019-09-05 18:20:30 -07:00
719c03d33f
Update stake-delegation-and-rewards.md ( #5801 )
2019-09-05 17:48:40 -07:00
609b18c2cd
multinode-demo/validator.sh: Correct new_genesis_block()
logic ( #5812 )
...
automerge
2019-09-05 16:14:15 -07:00
5279b83d34
multinode-demo/validator.sh: Sync CLI options with solana-validator ( #5810 )
...
automerge
2019-09-05 14:57:35 -07:00
05d2eec45c
Remove unnecessary erasure config references ( #5809 )
2019-09-05 14:46:41 -07:00
0cbc0dc79c
Update solana validator-info commands for testnets ( #5806 )
2019-09-05 13:20:38 -07:00
9210f40c38
Update RELEASE.md
2019-09-05 14:34:52 -04:00
3237e897d7
Adjust packet batching post-decoupling from blobs ( #5783 )
2019-09-05 11:22:39 -07:00
f1110f2e85
Ignore test_snapshots_blocktree_floor ( #5798 )
...
automerge
2019-09-05 10:49:19 -07:00
5ffb6b874b
cli: get command now shows default values instead of 'not set' ( #5796 )
...
* get command now shows default values instead of 'not set'
* Add default indicator
2019-09-05 10:14:23 -07:00
c4a5442146
Confirm validator ports are reachable by the entrypoint at startup ( #5795 )
2019-09-04 23:10:35 -07:00
bd74e63702
Offload remaining confidence cache computation to separate thread ( #5792 )
...
* Move remaining confidence cache computation to separate thread
* Move confidence cache out of bank forks
2019-09-04 23:10:25 -07:00
f78b865cba
Cleanup shreds to remove FirstShred data structure ( #5789 )
...
* Cleanup shreds to remove FirstShred data structure
* Also reduce size used by parent slot information in shred header
* clippy
* fixes
* fix chacha test
2019-09-04 21:06:47 -07:00
7062fe4b47
Refactor Blocktree for clarity and correctness ( #5700 )
...
* Refactor shreds to prevent insertion of any metadata on bad shreds
* Refactor fetching Index in blocktree
* Refactor get_slot_meta_entry
* Re-enable local cluster test
* cleanup
* Add tests for success/fail insertion of coding/data shreds
* Remove assert
* Fix and add tests for should_insert coding and data blobs
2019-09-04 17:14:42 -07:00
b6da5a3f47
build all tests ( #5785 )
...
* build all tests
* try again
* try again
2019-09-04 17:01:38 -07:00
5fb2d7a98f
Add libstd support to Rust BPF ( #5788 )
2019-09-04 16:00:11 -07:00
ceaf4781b0
Pull in rbpf v0.1.15 ( #5787 )
2019-09-04 14:37:51 -07:00
933e835838
add stake lockup ( #5782 )
...
* add stake lockup
* fixup
2019-09-04 13:34:09 -07:00
94eb78d399
Update stake-delegation-and-rewards.md ( #5774 )
2019-09-04 13:19:05 -07:00
02ee2a601c
Further cleanup of blocktree after Blob deprecation ( #5780 )
2019-09-04 12:47:09 -07:00
b19d9a50d3
Transition to ureq http client ( #5777 )
...
* Transition to ureq http client
* Remove unwrap
2019-09-04 12:11:44 -07:00
355640b5db
increase stake warmup cooldown rate to 0.25 ( #5772 )
2019-09-04 10:57:42 -07:00
dfa6238342
Remove unnecessary construction of descendants ( #5742 )
2019-09-04 01:49:42 -07:00
3b0d48e3b8
Remove blocktree blob references ( #5691 )
...
* Remove blocktree blob references
* fixes and cleanup
* replace uninitialized() call with MaybeUninit
* fix bench
2019-09-03 21:32:51 -07:00
2b696ac8dc
Bitcoin Payment Verification Program ( #5153 )
...
* btc_spv program directories
* add spv-instruction spv-state
* added spv_processor file
* cargo.tomls - bump versions, rm unneccessary deps
* add btc_spv_bin and top lvl workspace entry
* hex_decode util & errors
* add header parsing test
* update dependencies
* rustfmt
* refactor Requests
* fix dependencies/versions
* clippy fixes
* test improvements
* add gitignores
Add framework for the rest of the BTC-SPV stuff to be built on top of. This PR defines the components, data structures, accessors, etc. but is not quite complete. It still needs the headerstore component finished along with some of the validation utils, hashing stuff, and more tests.
2019-09-03 19:16:02 -06:00
8362b408d9
Move testnet ssh key ( #5770 )
...
* Factor out hardcoded testnet ssh key path
* Build/create test net ssh key path
* Rename testnet ssh dir
* Give testnetSSHDir a more generic name
* shellcheck
* favor hardcoded paths over `paths.sh`
* Put instance-startup-complete stamp in the scratch dir as well
* Rename `/solana` > `/solana-scratch`
2019-09-03 18:51:16 -06:00
62f6a78ccd
Make data plane shred filter parallel again ( #5740 )
2019-09-03 21:50:57 +00:00
f7e039e7ac
Bump chrono from 0.4.7 to 0.4.8 ( #5761 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-03 14:49:48 -07:00
61bd14c40a
Bump rayon from 1.1.0 to 1.2.0 ( #5758 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.1.0...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-03 13:39:58 -06:00
5dd85f1533
Propose design for rent ( #5160 )
...
* Create rent.md
* Update SUMMARY.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
* Update rent.md
2019-09-03 12:38:34 -07:00
0d20bc5e14
Move solana-validator-info into cli ( #5768 )
...
* Move solana-validator-info into cli
* Remove solana-validator-info and update docs
* Update test to use app()
2019-09-03 10:38:12 -07:00
a82754913f
Partner node setup tweaks ( #5715 )
...
automerge
2019-09-03 07:45:20 -07:00
5840e3bbdf
Decrease instruction count in BPF Rust SDK entrypoint helper ( #5760 )
2019-09-03 08:38:59 -04:00
e8ab599bae
Add keypair print ( #5766 )
...
automerge
2019-09-02 12:53:13 -07:00
85e5fbeb35
Add absoluteSlot to getEpochInfo ( #5765 )
2019-09-02 12:21:06 -07:00
475f6fe666
votes only need slots and the last bank hash ( #5499 )
...
churn
cleanup
reverse test slot hashes
test check_slots_are_valid
updates
only send the minimum bank vote difference
fixup! only send the minimum bank vote difference
some banks may not have a voting account setup
fixup! votes only need slots and the last bank hash
fixup! fixup! votes only need slots and the last bank hash
fmt
fixed compare
fixed vote
fixup! fixed vote
poke ci
filter the local votes via the last bank vote
2019-09-02 12:01:09 -07:00
9f354522a7
Make bench_tps_local_cluster tests serial ( #5762 )
...
-
2019-08-31 16:53:56 -07:00
0c2a49391a
Disable pinned gpu memory ( #5753 )
2019-08-31 16:44:07 -07:00
e3a6c9234a
Entrypoint RPC service discovery now blocks until the entrypoint is actually found ( #5756 )
...
automerge
2019-08-30 16:12:58 -07:00
6089c8030b
Validator/replicator metrics host id is no longer set by bash ( #5755 )
...
automerge
2019-08-30 15:33:30 -07:00
643d0b0868
Make the world flat again; remove utils/ subdirectory ( #5752 )
...
automerge
2019-08-30 11:57:39 -07:00
3cc5d8df7f
Mark global arguments as such ( #5751 )
...
automerge
2019-08-30 11:13:23 -07:00
34155fc36f
Long-running banking benchmark ( #5075 )
2019-08-30 11:10:32 -07:00
f840eefcbf
Bump bs58 from 0.2.4 to 0.2.5 ( #5747 )
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.2.4...0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-30 11:41:41 -06:00
e1f3e33bfb
Bump jsonrpc-pubsub from 13.0.0 to 13.1.0 ( #5708 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.0.0...v13.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-30 11:40:58 -06:00
36fcb4fbca
Add trent's workstation pubkey to authorized keys script ( #5748 )
...
automerge
2019-08-30 10:13:55 -07:00
22667d64d1
Add various missing cli validators ( #5745 )
...
automerge
2019-08-30 09:27:35 -07:00
4786143524
Add a more helpful error on genesis block mismatch ( #5744 )
...
automerge
2019-08-30 09:10:22 -07:00
f78baf80e4
Move drone arguments under the airdrop command ( #5741 )
2019-08-29 20:45:53 -07:00
33e7e23484
Update ubuntu image
2019-08-29 14:40:08 -07:00
50214f059f
Pull in LLVM with stack location fixes ( #5732 )
2019-08-29 11:25:22 -07:00
57f778bcdb
Bump winapi from 0.3.7 to 0.3.8 ( #5705 )
...
Bumps [winapi](https://github.com/retep998/winapi-rs ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/retep998/winapi-rs/releases )
- [Commits](https://github.com/retep998/winapi-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-29 10:02:29 -06:00
c3f07eb85a
Bump jsonrpc-ws-server from 13.0.0 to 13.1.0 ( #5721 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.0.0...v13.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-29 09:12:02 -06:00
8adac30c05
Integrate shreds to the replicators ( #5711 )
...
* Integrate shreds to the replicators
* fix cuda stuff
* fix cuda tests
2019-08-28 22:34:47 -07:00
5a5a6b3840
Add Interchain SPV book section ( #5632 )
...
* Add Interchain SPV book section
* hyphenate interchain
* spv -> SPV
* improve header store explanation
* networks -> platforms
* bump spin subdep versions
2019-08-28 19:46:26 -06:00
2803eb0d72
Use LLVM's C builtins for BPF ( #5717 )
2019-08-28 17:19:40 -07:00
f41fb7d772
Ignore cargo audit advisory RUSTSEC-2019-0013 ( #5713 )
2019-08-28 14:38:46 -07:00
156399e8aa
Bump jsonrpc-http-server from 13.0.0 to 13.1.0 ( #5707 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.0.0...v13.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-28 14:21:17 -06:00
5745a54d4c
Bump indexmap from 1.0.2 to 1.1.0 ( #5706 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.0.2...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-28 14:20:45 -06:00
3548d42a6c
Bump cc from 1.0.40 to 1.0.41 ( #5699 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.40...1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-28 14:19:33 -06:00
7dfb735db9
randomize tx ordering ( #4978 )
...
Summary of Changes:
This change adds functionality to randomize tx execution for every entry. It does this by implementing OrderedIterator that iterates tx slice as per the order specified. The order is generated randomly for every entry.
2019-08-28 21:08:32 +05:30
1609765740
Adjust snapshot metrics layout
2019-08-27 20:56:15 -07:00
2510f3d352
Remove extra call to serialize in shred verify ( #5698 )
2019-08-27 19:28:00 -07:00
50ab34ad92
Install bzip2 in solana docker file ( #5701 )
2019-08-27 22:10:05 -04:00
47535b9ff1
Use serialize_into to fill in shreds instead of writing one byte at a time ( #5695 )
...
automerge
2019-08-27 17:11:24 -07:00
ffc748becb
Disable LocalVoteSignerService. It's grabbing an TCP port that's causing CI to fail occasionally ( #5690 )
2019-08-27 15:34:23 -07:00
34ab25a88b
feat: getInflation() endpoint ( #5681 )
2019-08-27 18:17:03 -04:00
8b9c3a2561
Blocktree last_root to enforce a slot floor ( #5593 )
...
* Add last_root to blocktree
* Don't repair earlier than last_root
* Add integration test to make sure blocktree floor is enforced
2019-08-27 15:09:41 -07:00
362a39a941
Don't unwrap get_balance immediately in bench-tps move mode ( #5685 )
...
automerge
2019-08-27 14:36:48 -07:00
9f2119920c
Revert "Add debug to help track down ci/localnet-sanity.sh instability"
...
This reverts commit 7aaf5bc02c
.
2019-08-27 14:28:22 -07:00
afb24d28ca
Disable cargo caching. Travis is timing itself out as it updates the cache at the end of a build
2019-08-27 14:19:54 -07:00
0c62cf8980
Add metrics for snapshot generation ( #5677 )
2019-08-27 13:04:20 -07:00
f1d58f980b
Ignore retransmit channel error ( #5680 )
...
automerge
2019-08-27 12:41:04 -07:00
b1dfbf0ac4
Rename solana badges to solana-core in README ( #5682 )
2019-08-27 13:40:23 -06:00
12ad95eb5e
Erasure statistics for shreds ( #5676 )
2019-08-27 11:22:06 -07:00
7aaf5bc02c
Add debug to help track down ci/localnet-sanity.sh instability
2019-08-27 08:49:04 -07:00
85f03b590d
Bump jsonrpc-derive from 13.0.0 to 13.1.0 ( #5668 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.0.0...v13.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-27 08:48:34 -07:00
a29f0484dc
Add newline before cluster info log ( #5671 )
2019-08-27 08:33:48 -07:00
8e6e72babd
Bump jsonrpc-core from 13.0.0 to 13.1.0 ( #5669 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.0.0...v13.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-27 07:49:16 -07:00
def71164f4
Bump cbindgen from 0.9.0 to 0.9.1 ( #5670 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-27 07:49:00 -07:00
eda46d30bb
Bump console from 0.7.7 to 0.8.0 ( #5631 )
...
automerge
2019-08-26 22:44:09 -07:00
d87910eb15
Log bind error ( #5666 )
2019-08-26 21:59:40 -07:00
7257d2845d
Bump hex-literal from 0.2.0 to 0.2.1 ( #5638 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.2.0...hex-literal-v0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-26 21:32:42 -07:00
9744eb0ccd
Bump lazy_static from 1.3.0 to 1.4.0 ( #5640 )
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-26 21:32:31 -07:00
a273ddcd97
Rename fixed_buf to fixed-buf ( #5665 )
...
automerge
2019-08-26 20:31:59 -07:00
99a97b7008
Add more details to error log ( #5637 )
2019-08-26 19:51:17 -07:00
3d098d2ed9
turn cargo audit version back on ( #5651 )
2019-08-26 19:50:56 -07:00
db768b4c3a
Log contact info every 10 seconds ( #5663 )
2019-08-26 18:31:14 -07:00
4ac1213c9c
Integrate coding shreds and recovery ( #5625 )
...
* Integrate coding shreds and recovery
* More tests for shreds and some fixes
* address review comments
* fixes to code shred generation
* unignore tests
* fixes to recovery
2019-08-26 18:27:45 -07:00
a0f3208828
Ignore flaky test_banking_stage_entryfication ( #5659 )
...
automerge
2019-08-26 16:49:34 -07:00
97db802be3
Add net-tools for netstat
2019-08-26 16:17:04 -07:00
28f2c75137
Add bigger buffers for shred column families in rocks ( #5653 )
...
automerge
2019-08-26 15:58:26 -07:00
81bb208a62
Add open file descriptor monitoring ( #5655 )
2019-08-26 15:17:19 -07:00
6979a17674
Enabling building for bpf stack bug test program ( #5654 )
2019-08-26 17:23:21 -04:00
bd20c5e791
Add test case for u128 panic ( #5601 )
...
* u128 panic
* Add test case for u128 memory out of bounds error
* Fix check
2019-08-26 16:31:06 -04:00
b4935ff4ed
Re enable c tests ( #5634 )
2019-08-26 12:52:16 -07:00
e1dd74f1bf
Ignore flaky test_ledger_cleanup_service ( #5649 )
2019-08-26 12:33:42 -07:00
e2ecacc141
runtime checks for rent_epoch ( #5629 )
...
* runtime checks for rent_epoch
* add actual test
* bigger timeout
* backout 90 min timeout
* new noop
2019-08-26 11:04:20 -07:00
6512aced21
Add warmup, cooldown to definitions ( #5647 )
2019-08-26 10:01:33 -07:00
615da845cd
remove replicode in run_purge_batch() ( #5630 )
...
* remove replicode
* bigger timeout
* backout 90 min timeout
2019-08-26 09:47:48 -07:00
2c7f49c3e6
Cargo.lock
2019-08-25 22:55:37 -07:00
ba59741b60
Bump to 0.19.0-pre0
2019-08-25 21:47:29 -07:00
52da207f83
test_snapshots_restart_validity now passes ( #5644 )
...
automerge
2019-08-25 21:33:41 -07:00
ef8eff69e4
Upgrade to debian:buster ( #5639 )
2019-08-24 21:41:04 -07:00
1abdeca4c1
Add TESTNET_DB_HOST default
2019-08-24 07:38:19 -07:00
6e82978931
Fix race with LedgerCleanupService ( #5622 )
2019-08-23 23:40:20 -07:00
4e827af392
Remove unnecessary trailing semicolons ( #5636 )
2019-08-23 22:47:54 -07:00
f6b63a7dbc
Decode SOLANA_METRICS_CONFIG instead of relying on some bash to do it ( #5633 )
2019-08-23 21:17:10 -07:00
6bb22902cc
net: net.sh - Enable deploying testnets on debug binaries ( #5627 )
...
automerge
2019-08-23 18:31:18 -07:00
881a6dc0f7
Revert "Bump stable timeout"
...
This reverts commit bde4ba04af
.
2019-08-23 17:14:08 -07:00
877e7a3893
Disable C test ( #5628 )
2019-08-23 16:11:34 -07:00
bb80116605
Log build branch/commit on startup ( #5626 )
2019-08-23 15:45:55 -07:00
0ffe7a9c8f
plumb some rent ( #5610 )
...
* plumb some rent
* nits
* fixups
* fixups
* fixups
2019-08-23 14:04:53 -07:00
9b8d59d2e9
Revert "Bump indexmap from 1.0.2 to 1.1.0 ( #5565 )" ( #5624 )
...
This reverts commit f1ad69c84e
.
2019-08-23 13:20:31 -07:00
f7bd7a41d2
update staking rewards with points and warmup ( #5623 )
2019-08-23 13:11:25 -07:00
3fc5009ef2
Snapshot pipefitting through the validator cli ( #5617 )
...
* Handle 404 errors better
* Snapshot pipefitting through the validator cli
* Add download progress bar
* Log the current entrypoint slot
2019-08-23 13:02:07 -07:00
bde4ba04af
Bump stable timeout
2019-08-23 11:44:08 -07:00
f1ad69c84e
Bump indexmap from 1.0.2 to 1.1.0 ( #5565 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.0.2...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-23 11:06:24 -07:00
97ea75a890
Pull in solana_rbpf v0.1.14 ( #5609 )
2019-08-23 11:03:53 -07:00
52f6da5cee
upgrade rust to 1.37 ( #5611 )
2019-08-23 08:55:51 -07:00
aeaa0feb61
Add range lookups for erasure set indexes ( #5612 )
2019-08-22 16:32:38 -07:00
1207664bbb
Rename solana-wallet program to just solana ( #5604 )
...
* Rename wallet/ to cli/
* Rename the solana-wallet crate to solana-cli
* Rename solana-wallet program to solana
* cargo fmt
2019-08-22 13:51:16 -07:00
19d16e75c6
Fix clippy and lint issues in BPF test program ( #5607 )
...
* Revert "Add test program for BPF memory corruption bug (#5603 )"
This reverts commit 63d62c33c6
.
* Revert "Revert "Add test program for BPF memory corruption bug (#5603 )""
This reverts commit 9502082cda
.
* Fix clippy and fmt issues
2019-08-22 15:38:46 -04:00
51cf559ce1
Add datacenter node setup scripts ( #5517 )
...
automerge
2019-08-22 12:19:48 -07:00
63d62c33c6
Add test program for BPF memory corruption bug ( #5603 )
...
* Add test program for BPF memory corruption bug
* @jackcmay feedback
2019-08-22 14:25:23 -04:00
919c066e5a
update book with more of current staking details ( #5571 )
...
* Update validator-stake.md
* trailing whitespace
* update staking rewards with points and warmup
* update
* Update stake-delegation-and-rewards.md
* Update validator-stake.md
2019-08-22 09:35:52 -07:00
4125d01668
Bump reqwest from 0.9.19 to 0.9.20 ( #5598 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.19 to 0.9.20.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.20/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.19...v0.9.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-22 07:57:33 -07:00
087c43b9ef
Add snapshotting integration test ( #5519 )
...
* Add snapshotting integration test
* Update ContactInfo on restart in local cluster nodes
2019-08-21 23:59:11 -07:00
c18ea3ccc9
Fix ignored tests in blocktree ( #5591 )
2019-08-21 20:07:51 -07:00
564b590c89
README: Bump min rustc ( #5595 )
...
automerge
2019-08-21 19:56:43 -07:00
d36ecb5c91
Add backport labels for upcoming releases
2019-08-21 18:25:20 -07:00
e2d6f01ad3
solana-validator now verifies its genesis blockhash against the cluster entrypoint ( #5589 )
2019-08-21 18:16:40 -07:00
5034331131
net: init-metrics.sh - urlencode influx password ( #5594 )
...
* net: init-metrics.sh - urlencode influx password
* old backticks bad!
* Move urlencode() to common.sh
* Make urlencode() vars local
Co-Authored-By: Michael Vines <mvines@gmail.com >
2019-08-21 19:06:09 -06:00
faafee6b42
to to/the the ( #5590 )
2019-08-21 17:46:59 -07:00
80f618f011
Add info logging around snapshot tarball generation ( #5592 )
...
automerge
2019-08-21 16:36:21 -07:00
84f763d079
net: init-metrics.sh no longer supports -c flag ( #5588 )
...
automerge
2019-08-21 15:35:07 -07:00
0dc0594aaa
Fixes to repair and orphan logic for data shreds ( #5587 )
2019-08-21 15:27:42 -07:00
d651cb7a25
Adjust |ulimit -n| automatically, no bash required ( #5586 )
2019-08-21 14:55:58 -07:00
f18aa4e423
Tuning net.inet.udp.maxdgram on mac OS is no longer required ( #5585 )
2019-08-21 13:17:01 -07:00
ab4f370e15
Bump serde_derive from 1.0.98 to 1.0.99 ( #5539 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-21 12:14:58 -07:00
d6f824abc0
Bump bs58 from 0.2.2 to 0.2.4 ( #5560 )
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.2.2 to 0.2.4.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.2.2...0.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-21 12:13:52 -07:00
3450b9a44d
Rename solana to solana-core ( #5583 )
2019-08-21 10:23:33 -07:00
afaf95cf53
Refine error message when ledger can't be opened ( #5582 )
2019-08-21 09:44:12 -07:00
8c371dd2fb
Update performance metrics page in the book ( #5581 )
2019-08-21 09:59:23 -04:00
bb558acdf0
Change JsonRpc exit to use wait->close ( #5566 )
...
* Add wait-close-join pattern to rpc_service
* Create ValidatorExit struct
2019-08-20 23:59:31 -07:00
159e518671
Update LLVM to v0.0.13 and Rust-BPF to v0.1.4 ( #5580 )
2019-08-20 20:25:29 -07:00
4798e7fa73
Integrate data shreds ( #5541 )
...
* Insert data shreds in blocktree and database
* Integrate data shreds with rest of the code base
* address review comments, and some clippy fixes
* Fixes to some tests
* more test fixes
* ignore some local cluster tests
* ignore replicator local cluster tests
2019-08-20 17:16:06 -07:00
f4534ef12d
Only update first version field in a Cargo.toml
2019-08-20 17:05:28 -07:00
8e0f41a790
Cargo.lock
2019-08-20 16:59:44 -07:00
b1203da82c
Bump to 0.18.0-pre2
2019-08-20 16:56:00 -07:00
e366fb6328
Update to v0.18.0
2019-08-20 16:53:12 -07:00
32de5e6e7a
Add is_keypair argument validator to wallet ( #5567 )
...
automerge
2019-08-20 13:59:31 -07:00
93ae98812b
change DEFAULT_NUM_TICKS_PER_SECOND to DEFAULT_TICKS_PER_SECOND ( #5559 )
2019-08-19 23:22:56 -07:00
2c2de12e88
Update secure variable
2019-08-19 20:04:30 -07:00
bd193535c9
Cap CrdsFilter sizes such that PullRequest no longer exceeds MTU ( #5561 )
2019-08-19 18:14:10 -07:00
d4d1e5e15b
Update secure variables
2019-08-19 15:43:23 -07:00
f7a670596f
Drop os version to resolve Appveyor Server build failure
2019-08-19 13:32:29 -07:00
a8b82a0b68
optimize store_accounts ( #5557 )
2019-08-19 13:00:37 -07:00
bb25a06baa
Remove mvines workspace path ( #5556 )
2019-08-19 12:17:24 -07:00
8b7cca986a
Bump serde from 1.0.98 to 1.0.99 ( #5540 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-19 10:06:15 -06:00
626e16a177
moar coverage in stake_state ( #5554 )
...
* moar coverage in stake_state
* nits
2019-08-18 15:41:49 -07:00
814af378a7
stake cooldown ( #5553 )
...
* stake cooldown
* fixups
* sheesh
2019-08-17 18:12:30 -07:00
a252acf539
move netutil ( #5552 )
2019-08-17 15:52:12 -07:00
01eb7600d9
use stake config to defeat warmup in local_cluster ( #5549 )
...
* use stake config to defeat warmup in local_cluster
* fixups
2019-08-17 12:28:36 -07:00
52c2191545
improve local cluster stake verification ( #5551 )
2019-08-17 12:28:20 -07:00
25403e61ed
add fixed_buf ( #5546 )
2019-08-17 11:11:59 -07:00
f402b477b2
🐌 Publish crates for even longer
2019-08-16 21:52:12 -07:00
8df8f84701
publish fixes
2019-08-16 17:28:09 -07:00
ccee6241a6
Revert "publish fixes"
...
This reverts commit 4d13d3871d
.
2019-08-16 17:28:07 -07:00
4d13d3871d
publish fixes
2019-08-16 17:03:57 -07:00
bb0c9d6145
Log more info at the start of PoH ( #5550 )
2019-08-16 16:20:20 -07:00
8d105042ea
Update getEpochVoteAccounts to getVoteAccounts ( #5543 )
...
* Rework getEpochVoteAccounts into getVoteAccounts
* Update client apis
* Update docs
* Review comments
2019-08-16 17:02:19 -06:00
84304cb0fc
Display vote pubkey at startup ( #5548 )
2019-08-16 15:56:06 -07:00
89fe297416
improve local cluster stake verification ( #5547 )
2019-08-16 15:46:19 -07:00
d853b20d7f
Remove airdrop balance (in)sanity checks ( #5542 )
2019-08-16 15:23:59 -07:00
b28407d98a
Permit keypair for deactivate-stake vote pubkey too ( #5544 )
...
automerge
2019-08-16 15:06:59 -07:00
4fa795b026
bank slot distance ( #5545 )
2019-08-16 15:00:12 -07:00
c298474e6f
Add validator-info for net/ managed nodes ( #5538 )
2019-08-16 11:39:58 -07:00
d925902b3f
Set default wallet/validator-info url to localhost ( #5537 )
...
automerge
2019-08-16 10:22:22 -07:00
99eeb63f71
move the rest of cluster to local_cluster ( #5535 )
2019-08-16 00:00:38 -07:00
ff95f6dcfa
Remove bad !
2019-08-15 21:41:14 -07:00
8258532791
System program is now registered like all other native programs ( #5526 )
2019-08-15 21:07:00 -07:00
e73cbdda61
Reduce log level for known issue ( #5536 )
...
automerge
2019-08-15 19:42:27 -07:00
94f1132fb6
fix single node testnet, remove bootstrap vote ( #5534 )
2019-08-15 18:58:46 -07:00
4ee212ae4c
Coalesce gossip pull requests and serve them in batches ( #5501 )
...
* Coalesce gossip pull requests and serve them in batches
* batch all filters and immediately respond to messages in gossip
* Fix tests
* make download_from_replicator perform a greedy recv
2019-08-15 17:04:45 -07:00
d5fb493aa4
Change recv to try_recv ( #5533 )
2019-08-15 15:17:46 -07:00
88ea950652
add stake_api config account ( #5531 )
2019-08-15 14:35:48 -07:00
e4519d6447
Use check_unique_pubkeys helper to prevent DuplicateAccountIndex errors earlier ( #5532 )
2019-08-15 14:16:05 -06:00
471bc73a23
Fix Rust 1.37.0 compiler warnings ( #5530 )
...
Looks like most usages of trait objects should have introduced
a type variable instead.
2019-08-15 14:00:09 -06:00
75a2b74751
Delete append_vec_serialize
2019-08-15 11:02:30 -07:00
4e69408f54
Bump cc from 1.0.38 to 1.0.40 ( #5502 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.38...1.0.40 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-15 11:43:32 -06:00
38602d60b3
Reverse .travis.yml fix
...
_It didn't work!_
2019-08-15 11:15:34 -06:00
1fe1550a30
Update docs wrt new wallet and rpc functionality ( #5528 )
2019-08-15 11:05:34 -06:00
827f2b3a5c
Add update manifest as signer
2019-08-15 09:23:55 -07:00
a948c9b7f9
Bump libc from 0.2.61 to 0.2.62 ( #5527 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.61 to 0.2.62.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.61...0.2.62 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-15 09:49:14 -06:00
1363841f32
Fix testnet deployment
2019-08-15 08:32:10 -07:00
4688f9821f
Snapshot optimizations ( #5525 )
...
* Change serializing snapshot tar to use shell command
2019-08-14 23:14:40 -07:00
0c90c889cd
Add travis_wait to .travis.yml to fix timeout
2019-08-14 23:04:53 -06:00
9f6c9c428b
Move genesis/snapshot archive download into Rust ( #5515 )
2019-08-14 19:25:22 -07:00
fd443d85c4
update config_api with initialization and recovery utilities ( #5523 )
...
* update config_api with initialization and recovery utilities
* nits
* move tests to config_tests to eliminate config_api solana_runtime dependency
* fixups
2019-08-14 15:54:31 -07:00
b4f0f4abcc
Disable rocksdb bzip2 compression
2019-08-14 15:39:30 -07:00
d22848f9b1
use live stakes for consensus ( #5426 )
...
* use live stakes for consensus
* lint
* re-enable leader_failure_4
* fixups
* re-ignore leader_failure_4
2019-08-14 13:30:21 -07:00
79416381dc
Add pubkey setup for datacenter nodes ( #5514 )
2019-08-14 14:25:56 -06:00
d791c70d90
Snapshot optimizations ( #5518 )
...
* Limit slots_since_snapshot size, only package latest snapshot, refactor tests
* Add test checking status_cache.roots == bank_forks.slots_since_snapshot after bank_forks.set_root()
2019-08-13 22:39:29 -07:00
802537564b
Update stale.yml
2019-08-13 22:21:53 -07:00
1d0608200c
Restore blob size fix ( #5516 )
...
* Revert "Revert "Fix gossip messages growing beyond blob size (#5460 )" (#5512 )"
This reverts commit 97d57d168b
.
* Fix Crds filters
2019-08-13 18:04:14 -07:00
cd14a940d8
Allow process_blocktree() to start processing from any root ( #5484 )
...
* Remove unnecessary entry_height from BankInfo
* Refactor process_blocktree to support process_blocktree_from_root
* Refactor to process blocktree after loading from snapshot
* On restart make sure bank_forks contains all the banks between the root and the tip of each fork, not just the head of each fork
* Account for 1 tick_per_slot in bank 0 so that blockhash of bank0 matches the tick
2019-08-13 17:20:14 -07:00
58d4e32c97
Remove serialization of future AppendVecs and serialize AccountStorage correctly ( #5510 )
2019-08-13 16:05:37 -07:00
1b6a200d6f
Enable automation to close stale pull requests ( #5511 )
2019-08-13 13:07:33 -07:00
08f6a2ea3e
debash: Add solana-gossip get-rpc-url
command to avoid hard coding ( #5513 )
2019-08-13 10:49:48 -07:00
97d57d168b
Revert "Fix gossip messages growing beyond blob size ( #5460 )" ( #5512 )
...
This reverts commit a8eb0409b7
.
2019-08-13 10:29:26 -07:00
2b219228ce
Add wallet ping command ( #5508 )
2019-08-12 21:33:13 -07:00
07d11be6ab
add global stake warmup ( #5483 )
...
* add global stake warmup
* integrate stake history into runtime
* fixup core tests
* fixup
* remove existing cooldown tests for now
2019-08-12 20:59:57 -07:00
7981431f09
--entrypoint is a global arg
2019-08-12 16:08:45 -07:00
a43922ccbf
Boot hashbrown ( #5505 )
...
As of Rust 1.36.0, hashbrown now implements the HashMap in std (which
implements HashSet).
https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk,-v%3E-implementation
2019-08-12 16:46:49 -06:00
687818aad6
Run sdk-c through clippy separately ( #5504 )
2019-08-12 16:41:17 -06:00
b7a5136136
Helper functions for shreds ( #5493 )
2019-08-12 15:27:58 -07:00
0fde19239b
Rate limit counter metrics points to one per second ( #5496 )
...
* Rate limit counter metrics points to one per second
* Remove old env var
* Test that metrics counter is incrementing
* Fix typo
2019-08-12 18:15:34 -04:00
771d1a78fd
Bump libc from 0.2.60 to 0.2.61 ( #5491 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.60 to 0.2.61.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.60...0.2.61 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-12 15:39:26 -06:00
a8eb0409b7
Fix gossip messages growing beyond blob size ( #5460 )
...
* fixed bloom filter math
* Add split each pull request into multiple pulls with different filters
* Rework CrdsFilter to generate all possible masks to cover the keyspace
* Limit the bloom sizes such that each pull request is no larger than mtu
2019-08-12 13:51:29 -07:00
b6151b5200
Solana-wallet: prevent duplicate pubkeys ( #5497 )
...
* Add helper function to compare wallet pubkey args for uniqueness
* Fix test
2019-08-12 14:01:55 -06:00
c68ebbb0a6
Parse system custom errors ( #5494 )
2019-08-12 14:00:55 -06:00
1b84092b94
Fix slots_since_snapshot in BankForks.add_root() ( #5489 )
2019-08-12 11:56:03 -07:00
b1d43ace14
Add columns for data and code shreds ( #5461 )
2019-08-12 10:03:57 -07:00
6085109171
Delete terminated GCP instances ( #5490 )
...
automerge
2019-08-12 08:28:58 -07:00
cd89f280b7
Remove decimal point from node count
2019-08-11 09:28:59 -07:00
54f4d13350
Validator log filter may now be reconfigured at runtime ( #5473 )
...
* Log filter may now be reconfigured at runtime
* Add RPC API and bash script to reconfigure the log filter
2019-08-10 22:54:46 -07:00
799d3b1575
Bump nix from 0.14.1 to 0.15.0 ( #5488 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-10 18:48:36 -06:00
b3b782988c
Remove extra e
2019-08-10 14:38:41 -07:00
5e128f8cc2
Simplify commands by using keypair files
2019-08-10 13:16:06 -07:00
c8c0815144
Permit keypair files for create-validator-storage-account
2019-08-10 13:16:06 -07:00
d59aae4849
Disable validator sanity for edge/beta
2019-08-10 13:16:06 -07:00
342733be54
Correct arg
2019-08-10 13:16:06 -07:00
2da7601084
Update validator-stake.md
2019-08-10 01:50:03 -06:00
958c345f0c
Add show-account command ( #5485 )
2019-08-09 22:48:57 -07:00
fe83c66686
Adjust staking instructions
2019-08-09 22:15:42 -07:00
5884469d11
count commitable in banking_stage ( #5477 )
2019-08-09 21:14:20 -07:00
9ee5f36068
Solana-wallet: print JSON RPC endpoint ( #5482 )
...
* Print RPC endpoint in use
* Fixup wallet-sanity
2019-08-09 20:23:53 -06:00
c02373493b
Add print-slot subcommand ( #5478 )
...
automerge
2019-08-09 15:57:31 -07:00
4090600717
Remove deprecated arg ( #5479 )
...
automerge
2019-08-09 15:02:27 -07:00
8a4179da67
Add balance check to all wallet transactions ( #5474 )
...
* Add payer balance check to all wallet transactions
* Fix tests
2019-08-09 15:52:06 -06:00
ed093f86f9
harmonize percentage members ( #5459 )
...
* harmonize percentage members
* update tests
* update capitalization when burning fees
* verify capitalization in fee burn
* fixup
2019-08-09 13:58:46 -07:00
07a049aa59
include vote account in deactivate ( #5476 )
2019-08-09 12:55:21 -07:00
7b77fbd525
add stake_history sysvar ( #5475 )
2019-08-09 12:31:56 -07:00
e1e295e1b6
Solana-wallet: enable keypair use for pubkey args ( #5470 )
...
* Make clap value_names more verbose for positional args
* Update clap validation to check for pubkey|keypair file
* Update helper functions to process pubkey|keypair file
* Add parse pubkey|keypair file test
* Fix vote-account instruction
* Fix vote-account instruction moar
2019-08-08 18:10:09 -06:00
5b4ee36cfd
Log more socket addresses at validator startup ( #5471 )
2019-08-08 15:38:23 -07:00
784943ecab
unignore RUSTSEC 2019 0011 ( #5365 )
2019-08-08 14:53:02 -07:00
4f86c0b74a
Rate limit transaction counters ( #5447 )
...
* Rate limit transaction counters
* @sakridge feedback
* Set default high metrics rate for multinode demo
* Fix tests
* Swap defaults and fix env var tests
* Only set metrics rate if not already set
2019-08-08 17:05:06 -04:00
5b4f24eabd
economic design update
2019-08-08 21:12:25 +02:00
a2986d3b6b
Bump solana_libra packages to v0.0.0 ( #5469 )
...
automerge
2019-08-08 12:00:34 -07:00
032d523737
Increase the amount of lamports a validator starts with ( #5466 )
...
automerge
2019-08-08 11:13:22 -07:00
238aa2133d
Move local_cluster tests into own crate ( #5465 )
2019-08-08 11:04:33 -07:00
eaf1b91148
Expand testnet validator section in book ( #5293 )
...
* Expand validator section
* Add rpc-checks command suggestions
* Update commands; populate stake page; add testnet choice info
* Specify software version to download
* Filler text for empty sections
2019-08-08 11:42:17 -06:00
4ae48b56f3
Add cluster-version subcommand to return entrypoint versions ( #5464 )
2019-08-08 11:13:06 -06:00
8c15214923
Add --dev-halt-at-slot option ( #5453 )
2019-08-08 09:14:30 -07:00
7a603d72bf
disallow withdraw of stake unless deactivated ( #5457 )
2019-08-07 20:29:22 -07:00
5b51bb27b6
Rpc to return software version ( #5456 )
...
* Add getSoftwareVersion rpc
* Add getSoftwareVersion to doc
* Rename to getVersion and return object
* Update jsonrpc-api.md
2019-08-07 20:06:27 -06:00
8231d2b672
Unfinalized program format is now same as mvir compiler outputs ( #5458 )
2019-08-07 17:16:42 -07:00
6597c71e23
Implement shred erasure recovery and reassembly ( #5444 )
...
* Implement shred erasure recovery and reassembly
* fixes and unit test
* clippy
* review comments, additional tests, and some fixes
* address review comments
* more tests and cleanup
2019-08-07 17:02:49 -07:00
e30ca01999
Only create more append_vecs when the account number grows ( #5454 )
...
We only need many append_vecs if the number of accounts is high,
so only create opportunistic ones as accounts are created.
2019-08-07 16:43:52 -07:00
12bb05c320
Fix dashboard mean tx/s stat ( #5455 )
2019-08-07 16:50:58 -04:00
8aa7a851ca
Fix hardlinking across filesystem boundaries ( #5449 )
...
* Fix hardlinking across filesystem boundaries
* create output dir for snapshot tar
2019-08-07 13:12:53 -07:00
2a17e90b7b
Add config get/set functionality to wallet ( #5452 )
...
automerge
2019-08-07 12:17:11 -07:00
f154a53e5e
Bump socket2 from 0.3.10 to 0.3.11 ( #5451 )
...
Bumps [socket2](https://github.com/alexcrichton/socket2-rs ) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/alexcrichton/socket2-rs/releases )
- [Commits](https://github.com/alexcrichton/socket2-rs/compare/0.3.10...0.3.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-07 10:18:17 -07:00
7911895b67
Improve bench-tps funding in move mode ( #5442 )
2019-08-07 08:55:01 -07:00
d6aaab0b2c
Remove --snapshot-path
2019-08-07 07:59:28 -07:00
be9fa22db7
Bump hashbrown from 0.3.1 to 0.5.0 ( #5450 )
...
Bumps [hashbrown](https://github.com/rust-lang/hashbrown ) from 0.3.1 to 0.5.0.
- [Release notes](https://github.com/rust-lang/hashbrown/releases )
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.3.1...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-07 08:35:54 -06:00
b72c5689c9
Blow away snapshots directory on start ( #5446 )
2019-08-06 21:41:38 -07:00
9dcf3347f5
Refactor status cache and remove complex serialize/deserialize ( #5335 )
...
automerge
2019-08-06 18:47:30 -07:00
72e9492ca6
Handle new active_release_dir, even if semver already downloaded ( #5431 )
2019-08-06 12:58:50 -06:00
572e942413
Bump url from 2.0.0 to 2.1.0 ( #5421 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.0.0...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-06 10:16:40 -06:00
3ae9357a36
Bump hashbrown from 0.2.2 to 0.3.1 ( #5381 )
...
Bumps [hashbrown](https://github.com/rust-lang/hashbrown ) from 0.2.2 to 0.3.1.
- [Release notes](https://github.com/rust-lang/hashbrown/releases )
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.2.2...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-06 10:16:18 -06:00
1dbb5c8647
Deserialize snapshots ( #5417 )
...
* Deserialize snapshots
2019-08-05 22:53:19 -07:00
06d8c06119
Allow TdS CHANNEL_OR_TAG to be overridden from buildkite UI
2019-08-05 17:22:06 -07:00
cc0e455a51
Skip sanity on blockstreamer node at cluster boot.
...
It may not have caught up to the bootstrap leader yet...
2019-08-05 17:11:28 -07:00
a01520e694
Cargo.lock
2019-08-05 16:38:56 -07:00
c524d62ce0
Implement coding shred generation ( #5415 )
...
* Implemenet coding shred generation
* address review comments
2019-08-05 16:32:34 -07:00
dd4640e1ed
Revert "Revert "Bump version to 0.18.0-pre1""
...
This reverts commit 42c7d57fc0
.
2019-08-05 15:55:13 -07:00
42c7d57fc0
Revert "Bump version to 0.18.0-pre1"
...
This reverts commit 14f6d5c82b
.
2019-08-05 15:53:55 -07:00
efd09ecd37
Revert fork metrics ( #5427 )
...
* Revert "Remove duplicate row (#5419 )"
This reverts commit a81dd80d60
.
* Revert "Log fork stake-percentage in metrics, and display (#5406 )"
This reverts commit 92e419f1c7
.
2019-08-05 15:53:36 -07:00
14f6d5c82b
Bump version to 0.18.0-pre1
2019-08-05 15:11:44 -07:00
c7710fdd24
Add wallet get-slot command and document how to use it ( #5424 )
...
* Add wallet get-slot command and document how to use it
* ,
2019-08-05 13:17:03 -07:00
b5aa03dd7c
Rename --config-dir to --ledger (progress towards deleting validator.sh) ( #5423 )
2019-08-05 12:42:52 -07:00
a81dd80d60
Remove duplicate row ( #5419 )
2019-08-05 11:45:52 -06:00
09ca92d416
Surface --voting-keypair to release users ( #5420 )
...
* Remove 'configured_flag' for vote/storage account, instead detect if they exist with the wallet
* Require --voting-keypair when using release binaries
2019-08-05 10:39:16 -07:00
56ed033233
Remove unused var
2019-08-04 21:29:20 -07:00
e56efe237c
Move testnet from ec2 tp gcp
2019-08-04 21:02:27 -07:00
3f0ff45de0
Move edge/beta testnets from ec2 to gcp
2019-08-04 20:42:28 -07:00
3709dc6558
Reduce size of cpu-only gcp instances
2019-08-04 20:36:23 -07:00
6ec0318bae
Reduce AWS node count
2019-08-03 23:50:52 -07:00
92e419f1c7
Log fork stake-percentage in metrics, and display ( #5406 )
...
* Log fork stake percentage data
* Add fork stake percentage to dashboard
* Call out parent slot
2019-08-02 19:16:23 -06:00
ccc0f2d956
show-stake-account now works for reward pool accounts ( #5416 )
...
automerge
2019-08-02 17:15:26 -07:00
80bb0158b7
Initial implementation of packet shredder ( #5401 )
...
* Initial implementation of packet shredder
* tests
* clippy
* review comments
2019-08-02 15:53:42 -07:00
f12592826f
Disable snapshots #5411
2019-08-02 15:48:51 -07:00
8d38777c1f
Remove stray --stake 0
2019-08-02 15:06:40 -07:00
832dfd4ab0
Change bank to not create default ( #5409 )
2019-08-02 14:46:53 -07:00
04d2db4dbb
Force boot_from_snapshot=0 for now
2019-08-02 14:21:45 -07:00
6f269e5a0e
Improve error messages when a vote account is rejected for delegation ( #5407 )
2019-08-02 10:09:09 -07:00
eb3991b9ba
Replay stage log message nits ( #5408 )
2019-08-02 10:08:42 -07:00
aee63f15c2
Rename state.tgz to snapshot.tgz to match rpc service
2019-08-02 10:07:29 -07:00
aced847735
validator-info --help text tweaks ( #5402 )
2019-08-02 08:30:08 -07:00
e360e63b74
getProgramAccounts to check for existing validator-info ( #5404 )
2019-08-02 07:40:54 -07:00
a6c4525998
RPC to the bootstrap leader instead of the local node, which may not yet be fully initialized
2019-08-01 23:34:55 -07:00
77b196a226
Show vote account details
2019-08-01 23:34:25 -07:00
b6b9c2cf56
Delegate stake from the pre-created identity keypair if it exists
2019-08-01 23:00:15 -07:00
59d900977d
Avoid airdroping when airdrops are disabled
2019-08-01 22:43:09 -07:00
0f5acb86d3
wallet: Refuse to delegate stake to a vote account with a stale root slot ( #5282 )
...
* Refuse to delegate stake to a vote account with a stale root slot
* Remove sdk-c from the virtual manifest temporarily
For an unknown reason |cargo clippy| is getting stuck in CI
intermittently when trying to build this crate.
2019-08-01 21:08:24 -07:00
911dee24c5
Give a unique port range for each validator node ( #5397 )
...
automerge
2019-08-01 14:37:59 -07:00
f03e066ec5
Bump log from 0.4.7 to 0.4.8 ( #5382 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-01 14:31:18 -07:00
f7d3f55566
fix epoch_stakes again ( #5396 )
2019-08-01 14:27:47 -07:00
4298b1f595
Document the --limit-ledger-size flag ( #5393 )
2019-08-01 14:06:40 -07:00
870503ee36
Introduce delegate-stake.sh for adding stake to a validator.sh ( #5380 )
2019-08-01 13:48:00 -07:00
4d14abbd04
Document getSlot
2019-08-01 13:16:23 -07:00
5212b2716c
Don't rebuild/retest release tags ( #5385 )
2019-08-01 13:11:42 -07:00
97c0573c7d
Change default location of solana.h
to OUT_DIR
( #5389 )
...
automerge
2019-08-01 12:33:30 -07:00
43cc9fcb1d
Update mean tx/s to use the correct counter ( #5390 )
2019-08-01 15:30:36 -04:00
47b5ba44e9
Add tag suffix to remaining metrics host_id queries ( #5388 )
2019-08-01 14:43:13 -04:00
e95397e0a8
Clarify that host_id is a tag in metrics influx queries ( #5387 )
2019-08-01 14:34:07 -04:00
c7cdf8ba93
Bump winreg from 0.6.1 to 0.6.2 ( #5367 )
...
Bumps [winreg](https://github.com/gentoo90/winreg-rs ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases )
- [Commits](https://github.com/gentoo90/winreg-rs/compare/v0.6.1...v0.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-08-01 08:48:29 -07:00
6ee734e1b4
Depersonalize paths
2019-08-01 08:36:54 -07:00
3ab1b46ef7
Fix vote metrics ( #5377 )
2019-08-01 09:11:49 -04:00
22891b39d6
bench-exc: readme changes ( #5373 )
...
replace token pair, direction
replace "swapper" with "matcher"
2019-07-31 23:08:56 -06:00
b6ce7ec782
Default to solana=info log level for drone ( #5374 )
...
Otherwise prints nothing..
2019-07-31 20:00:52 -07:00
a41c7451f1
Add testnet prefix to the metrics queries without it ( #5376 )
2019-07-31 21:07:25 -04:00
6cb2040a1b
Snapshot Packaging Service ( #5262 )
...
* Snapshot serialization and packaging
2019-07-31 17:58:10 -07:00
937f9ad049
Teach solana-install about release channels ( #5372 )
...
$ solana-install init edge # <-- setup an install using the edge channel
$ solana-install update # <-- update to the latest edge channel release
2019-07-31 17:30:17 -07:00
c2fc0f2418
Plumb libra accounts to genesis ( #5333 )
...
* Plumb move_loader to genesis
* Remove core dependency on genesis-programs
2019-07-31 16:10:55 -07:00
9278201198
fix epoch_stakes ( #5355 )
...
* fix epoch_stakes
* fix stake_state to use stakers_epoch
* don't allow withdrawal before deactivation
2019-07-31 15:13:26 -07:00
149a63100d
remove no-snapshot option from tds testnet ( #5368 )
2019-07-31 14:51:54 -07:00
d09afdbefe
Synchronize and cleanup instruction processor lists ( #5356 )
2019-07-31 14:28:14 -07:00
1d6bafbc77
Move tds to edge ( #5366 )
2019-07-31 14:18:05 -07:00
01d2b4e952
Bump jsonrpc-http-server from 12.1.0 to 13.0.0 ( #5361 )
...
* Bump jsonrpc-http-server from 12.1.0 to 13.0.0
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 12.1.0 to 13.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.1.0...v13.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update all jsonrpc crates to v13.0.0
2019-07-31 14:30:47 -06:00
05f3437601
Handle paying for move transactions with unique solana system transactions ( #5317 )
2019-07-31 11:15:14 -07:00
f859243191
Remove unused var
2019-07-31 10:51:30 -07:00
9ddc25283c
Adapt validator sanity args
2019-07-31 10:46:25 -07:00
388d4a8592
Remove obsolete --generate-snapshots argument
2019-07-31 10:26:22 -07:00
0b0b679120
exchange update: replace direction ( #5362 )
...
* replace direction with OrderSide
* bench exchange: update direction uses to OrderSide
2019-07-31 11:19:09 -06:00
3b752876ac
Bump ws from 0.8.1 to 0.9.0 ( #5360 )
...
Bumps [ws](https://github.com/housleyjk/ws-rs ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/housleyjk/ws-rs/releases )
- [Changelog](https://github.com/housleyjk/ws-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/housleyjk/ws-rs/compare/v0.8.1...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-31 10:13:52 -07:00
9b8b7dbfd7
Avoid setting RUST_LOG to the empty string ( #5338 )
2019-07-31 10:13:30 -07:00
c209e14e40
validator.sh now supports an --entrypoint arg, mimicking the solana-validator CLI API ( #5363 )
2019-07-31 09:54:39 -07:00
6df1f6450f
Drop rsync address
2019-07-31 09:24:49 -07:00
6d7cb23c61
Add command to create genesis accounts ( #5343 )
2019-07-30 23:43:12 -07:00
bd7e269280
Kill rsync ( #5336 )
...
automerge
2019-07-30 22:43:47 -07:00
b05b42d74d
Reduce max blob size ( #5345 )
...
* Reduce max blob size
* ignore test_star_network_push_rstar_200
2019-07-30 22:15:07 -07:00
af733a678a
Bump serde_derive from 1.0.97 to 1.0.98 ( #5314 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-30 21:45:34 -07:00
8a5045f05c
Bump timeouts for publish docker/tarball builds
2019-07-30 20:09:47 -07:00
4a336eb5ff
ValidatorConfig path reform: use Path/PathBuf for paths ( #5353 )
2019-07-30 19:47:24 -07:00
b7e08052ae
Bump serde from 1.0.97 to 1.0.98 ( #5315 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-30 19:46:50 -07:00
f6a4acfac3
Bump dirs from 2.0.1 to 2.0.2 ( #5312 )
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-30 19:46:39 -07:00
68eff230f0
Fix name-id reporting dependency ( #5354 )
2019-07-30 16:22:20 -07:00
c78db6a94b
ledger path reform: use Path/PathBuf instead of strings ( #5344 )
2019-07-30 15:53:41 -07:00
294d9288d2
Update remote-node.sh to use bootstrap-leader.sh ( #5352 )
2019-07-30 15:53:03 -07:00
7dc5cc26a6
Make max_epoch check in next_leader_at in leader schedule ( #5342 )
2019-07-30 15:51:02 -07:00
d7a2b790dc
Limit the size of gossip push and gossip pull response ( #5348 )
...
* Limit the size of gossip push and gossip pull response
* Remove Default::default
* Rename var
2019-07-30 15:43:17 -07:00
a7a10e12c7
Forward transactions as packets instead of blobs ( #5334 )
...
* Forward transactions as packets instead of blobs
* clippy
2019-07-30 14:50:02 -07:00
8d243221f0
Ignore flaky local cluster tests ( #5347 )
...
* Add logging to local_cluster tests
* Ignore flaky test_leader_failure_4, test_repairman_catchup
And crashing banking benchmarks.
2019-07-30 13:48:46 -07:00
84368697af
Fix metrics when leader does not report metrics ( #5291 )
2019-07-30 16:18:33 -04:00
4a57cd3300
Update bank.rs
2019-07-30 11:33:06 -07:00
2214d2dbb5
Eject bootstrap-leader support from fullnode.sh ( #5301 )
2019-07-29 21:25:28 -07:00
50a991fdf9
add executable checks to verify_instruction ( #5326 )
2019-07-29 15:29:20 -07:00
4e093525c7
Default to error logs, override with info only for those programs that need it ( #5321 )
...
* Revert "Revert "Default log level to to RUST_LOG=solana=info (#5296 )" (#5302 )"
This reverts commit 7796e87814
.
* Default to error logs, override with info only for those programs that need it
2019-07-29 10:57:00 -07:00
506b305959
Move coverage back to the default queue ( #5318 )
2019-07-28 22:20:54 -07:00
e83efcfc80
Tidy test-checks.sh ( #5319 )
2019-07-28 22:19:03 -07:00
4f1c881227
Add --use_move mode to bench-tps ( #5311 )
...
* Add --use_move mode to bench-tps
substitute for global flag.
* Use cuda queue for coverage build.
2019-07-28 10:43:42 -07:00
a642168369
Add move to bench-tps ( #5250 )
2019-07-27 15:28:00 -07:00
8d296d0969
Move credit-only and Move proposals to the implemented section of the book ( #5308 )
...
automerge
2019-07-27 15:08:44 -07:00
68b11c1c29
Pull all libra crates from crates.io ( #5306 )
2019-07-27 15:06:27 -06:00
c209718a6f
Add libray_api ( #5304 )
...
Simple move-based payment api
2019-07-27 12:11:51 -07:00
b8835312bb
Update cargo.toml files to 0.18.0-pre0 ( #5303 )
2019-07-27 11:42:06 -06:00
7796e87814
Revert "Default log level to to RUST_LOG=solana=info ( #5296 )" ( #5302 )
...
This reverts commit c63a38ae57
.
2019-07-27 07:46:45 -07:00
64c770275b
Integrate Move VM into main build ( #5229 )
...
* Integrate Move VM into top-level build
* Switch to protoc-free libra
2019-07-27 06:59:46 -06:00
855f7ff352
Move Move deps from a branch to a tag ( #5300 )
2019-07-26 23:51:42 -06:00
b59a99111c
Bump url from 1.7.2 to 2.0.0 ( #5247 )
...
* Bump url from 1.7.2 to 2.0.0
Bumps [url](https://github.com/servo/rust-url ) from 1.7.2 to 2.0.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v1.7.2...v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Adapt to url 2.0.0
2019-07-26 21:46:38 -07:00
252257fe66
Rewrite multinode-demo/replicator.sh to avoid fullnode.sh ( #5299 )
2019-07-26 19:00:34 -07:00
e2c9d87d91
Move verify to finalize ( #5297 )
...
automerge
2019-07-26 17:51:07 -07:00
9d34b80ed6
Upgrade to all the latest packages our existing Cargo.toml will allow ( #5298 )
...
automerge
2019-07-26 17:21:01 -07:00
c63a38ae57
Default log level to to RUST_LOG=solana=info ( #5296 )
2019-07-26 16:29:16 -07:00
20da2604f8
storage-keypair argument should not be required ( #5295 )
...
automerge
2019-07-26 15:18:55 -07:00
33de2cad6d
Replace TokenPair in exchange ( #5292 )
...
* simplify token pair representation, rename to AssetPair for forward compat.
* update bench exchange TokenPair use
2019-07-26 14:31:08 -06:00
aef7bae60d
Let grace ticks to roll over into multiple leader slots ( #5268 )
...
* Let grace ticks to roll over into multiple leader slots
* address review comments
2019-07-26 11:33:51 -07:00
54ac7ed1ea
Voting/storage keypair can now be provided by the user ( #5288 )
2019-07-26 11:05:02 -07:00
0180246680
Clean up argument parsing ( #5290 )
...
automerge
2019-07-26 10:37:03 -07:00
dab7de7496
Add confidence cache to BankForks ( #5066 )
...
* Add confidence cache to BankForks
* Include stake-weighted lockouts in cache
* Add cache test
* Move confidence cache updates to handle_votable_bank
* Prune confidence cache on prune_non_root()
* Spin thread to process aggregate_stake_lockouts
* Add long-running thread for stake_weighted_lockouts computation
2019-07-26 11:27:57 -06:00
feaf29792f
Error cleanly on show vote/stake/storage account pubkey mismatch ( #5289 )
...
Also deverb vote/stake account variables
2019-07-26 09:34:12 -07:00
5f09aa36b3
Drop code supporting no leader rotation ( #5286 )
2019-07-26 09:26:27 -07:00
d6c74f438a
Delete vestigal --vote-account argument ( #5287 )
...
automerge
2019-07-26 08:42:48 -07:00
349ebec629
Bump serde from 1.0.94 to 1.0.97 ( #5285 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-26 07:22:25 -06:00
f4554be72c
add vote withdraw ( #5284 )
2019-07-25 23:20:47 -07:00
8537da19bb
groom accounts_db ( #5283 )
2019-07-25 22:59:28 -07:00
d1eff5d607
Merge create-stake-account into delegate-stake ( #5280 )
2019-07-25 16:53:43 -07:00
19e4f70244
Change default behavior to remove a prerelease tag if present instead of a minor version bump
2019-07-25 16:33:24 -07:00
a233a1c822
Fix poh recorder not flushing virtual ticks immediately ( #5277 )
...
* Fix poh not flushing virtual ticks immediately
* Fix test_would_be_leader_soon
2019-07-25 11:08:44 -07:00
27bc0a22dd
Add support for invoking and publishing Move modules ( #5278 )
2019-07-25 09:30:24 -07:00
7ee8383e02
Bump serde_derive from 1.0.94 to 1.0.97 ( #5279 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-25 06:47:24 -06:00
bab0f6be1e
Store Move account data in a deterministic order ( #5276 )
2019-07-24 21:43:14 -07:00
535df0026d
Fixes for Blocktree space amplification and slot deletion ( #5266 )
...
* Fixes for Blocktree space amplification and slot deletion
2019-07-24 17:28:08 -07:00
3bd35dd7cc
Remove usage of api.testnet.solana.com ( #5274 )
2019-07-24 17:06:26 -07:00
39d29fab82
Exchange update cont. ( #5272 )
...
* Trade -> Order for keyedAcct indices
* rename deserialize_trade -> deserialize_order
* rename do_order_cancel params
* rename vars *_trade -> *_order
2019-07-24 17:49:10 -06:00
fbfe1a59a6
bump timeout
2019-07-24 13:53:08 -07:00
77c79effc1
Update github token
2019-07-24 13:50:49 -07:00
83540087c3
Switch to forked libra packages ( #5270 )
...
* Switch to forked libra packages
* Don't Cargo.lock lib crates
2019-07-24 14:21:22 -06:00
937816e67b
Post warning if window service isn't receiving any data ( #5269 )
...
automerge
2019-07-24 12:46:10 -07:00
c3a941086d
Remove more unwraps ( #5267 )
...
automerge
2019-07-24 12:30:43 -07:00
1046c5e32c
Adjust log levels ( #5265 )
...
automerge
2019-07-24 10:15:49 -07:00
baac8d2590
Upgrade libra ( #5264 )
...
automerge
2019-07-24 09:56:29 -07:00
610a02c518
Bump jsonrpc-ws-server from 12.0.0 to 12.1.0 ( #5261 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.0.0...v12.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-24 10:52:44 -06:00
444bd7a702
Bump semver from 0.7.0 to 0.9.0 ( #5260 )
...
Bumps [semver](https://github.com/steveklabnik/semver ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/steveklabnik/semver/releases )
- [Commits](https://github.com/steveklabnik/semver/compare/v0.7.0...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-24 10:52:20 -06:00
7afc61e0b9
Cap Move program's execution ( #5259 )
2019-07-24 08:06:03 -07:00
d4d9bec2a9
NDEBUG=1
2019-07-24 07:28:16 -07:00
d647a4ec57
Bump publish-crate.sh timeout
2019-07-23 22:12:34 -07:00
536b4c1a25
Export genesis creation function ( #5252 )
2019-07-23 21:34:17 -07:00
547a7a345f
Add logs to indicate when the leader changes ( #5253 )
2019-07-23 22:19:20 -04:00
26e380e53c
Sort bench-tps keypairs ( #5254 )
...
automerge
2019-07-23 17:46:33 -07:00
8a12ed029c
make accounts_db own the directory paths ( #5230 )
...
* change paths to something accounts_db (the singleton) owns, fixes SIGILL
* fail deserialize if paths don't work
serialize paths, too
* test that paths are populated from a bank snapshot
2019-07-23 13:47:48 -07:00
b41e8333b1
Add support to install a specific Solana version directly from the Github releases ( #5248 )
2019-07-23 12:51:10 -07:00
8f646e21d7
Bump cc from 1.0.37 to 1.0.38 ( #5245 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.37...1.0.38 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-23 10:51:50 -07:00
5608af0246
Cleanup and fix Move account invoking ( #5244 )
...
* Remove deps, geneerate genesis, cleanup
* Fix tests, specify sender in ix data
* nits
2019-07-23 08:54:34 -06:00
17b9ea3e3b
Update buildkite-secondary.yml
2019-07-23 07:33:13 -07:00
88d4d1db7a
Update buildkite.yml
2019-07-23 00:20:05 -07:00
cab4c88c71
Bump timeouts
2019-07-22 23:52:30 -07:00
4ec5a899f5
Check longer
2019-07-22 23:41:42 -07:00
c2f74330ef
Drop ring crate ( #5242 )
2019-07-22 23:11:40 -07:00
2c8e0bcf87
Introduce --config-dir to avoid shipping clear-config.sh ( #5241 )
2019-07-22 22:59:02 -07:00
4966ab528e
validator.sh: Add --reset-ledger option ( #5235 )
...
* Add --recreate-ledger option
* --reset-ledger
2019-07-22 22:20:54 -07:00
5f81a67298
Add --no-deploy option to allow restarting nodes without a software update ( #5182 )
2019-07-22 21:38:26 -07:00
a0ccdccff1
Call book/build.sh from docker ( #5237 )
...
* Call book/build.sh from docker
* debug
* Revert "debug"
This reverts commit 32986b73b7
.
2019-07-22 21:37:43 -07:00
735c7c9841
Add manual publish for book and create book-beta ( #5112 )
2019-07-22 17:45:00 -06:00
3a69459645
Surface validator pubkey in metrics ( #5227 )
2019-07-22 16:08:21 -07:00
21cef2fe21
Do not attempt to create solana user multiple times ( #5228 )
...
* Do not attempt to create solana user multiple times
2019-07-22 16:13:08 -06:00
038c6ea0a7
Bump solana_libra to v0.0.0.1 ( #5225 )
...
automerge
2019-07-22 14:17:06 -07:00
81f4fd56c7
Log the repairee pubkey when unable to serve them ( #5222 )
...
automerge
2019-07-22 14:13:29 -07:00
264a3d7dde
Increase ticks_per_slot for banking benchmark ( #5221 )
2019-07-22 13:57:28 -07:00
43bf176fab
more granular check for memoffset ignore in audit ( #5219 )
...
* more granular check for memoffset ignore in audit
* debugggin
* debugggin
* debugggin
* debugggin
* debugggin
2019-07-22 13:36:27 -07:00
baec17fdf4
Fix some nightly warnings ( #5218 )
2019-07-22 12:51:02 -07:00
186b514ebb
Embed Move ( #5150 )
...
automerge
2019-07-22 12:01:52 -07:00
2d42c1e33e
add root to terminology ( #5209 )
...
* add root to terminology
* review feedback
2019-07-22 09:36:20 -07:00
9cef522eee
Bump walkdir from 2.2.8 to 2.2.9 ( #5204 )
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/BurntSushi/walkdir/releases )
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.2.8...2.2.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-22 09:35:46 -07:00
a6302acfd5
Bump jsonrpc-http-server from 12.0.0 to 12.1.0 ( #5211 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.0.0...v12.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-22 10:34:27 -06:00
ac72265c6b
Request a uniform timezone
2019-07-22 09:25:36 -07:00
09da6b4b48
Encourage setting an RPC port
2019-07-22 08:23:36 -07:00
0d8f5379a0
Add time units
2019-07-22 08:22:21 -07:00
02c7b89a8f
Update location of TdS external accounts file url
2019-07-21 17:38:15 -07:00
90ae33c200
Update incoming_webhook
2019-07-21 11:27:19 -07:00
55c879ce2d
Update S3 key
2019-07-21 11:18:17 -07:00
1b5a332239
Adjustments for appveyor server
2019-07-21 09:21:28 -07:00
595017499e
accounts_index: RwLock per-account ( #5198 )
...
* accounts_index: RwLock per-account
Lots of lock contention on the accounts_index lock,
only take write-lock on accounts_index if we need to insert/remove an
account.
For updates, take a read-lock and then write-lock on the individual
account.
* Remove unneeded enumerate and add comments.
2019-07-20 17:58:39 -07:00
9b1471acae
Upgrade to Rust 1.36.0 ( #5206 )
...
* Upgrade to Rust 1.36.0
* Move test-checks.sh back to stable
* update nightly version to 2019-07-19
* use both nightly and stable for checks
2019-07-20 18:53:16 -06:00
b766ac0899
rent ( #5205 )
2019-07-20 16:28:17 -07:00
e6b525a614
disable audit until crossbeam epoch release ( #5208 )
2019-07-20 15:50:26 -07:00
a07b17b9b5
Drop older slots in the ledger ( #5188 )
...
* Add facility to delete blocktree columns in range
* Add ledger cleanup service
* Add local_cluster test
2019-07-20 13:13:55 -07:00
9d2940d487
Show wallet commands for better log debugging
2019-07-19 20:21:51 -07:00
6969ece2dd
Ensure CI_OS_NAME is set for appveyor server
2019-07-19 20:06:32 -07:00
48fc35884c
Add Transaction Documentation ( #5115 )
2019-07-19 16:42:50 -06:00
0958905df8
Bump reqwest from 0.9.18 to 0.9.19 ( #5201 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.18 to 0.9.19.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.18...v0.9.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-19 16:13:34 -06:00
c95cda51c9
Fix internal node lamport funding and staking allocation logic ( #5192 )
...
* Plumb node funding from genesis
* Cleanup naming convention
* Fix balance vs stake yml file logic
* Lamps not Stakes
2019-07-19 12:51:38 -06:00
3f54c0f1a6
Update struct order arbitrarily to match rpc output ( #5197 )
2019-07-19 11:45:04 -06:00
4684faa5e8
Bump jsonrpc-core from 12.0.0 to 12.1.0 ( #5143 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.0.0...v12.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-19 09:59:56 -07:00
111d0eb89b
runtime: Add bench for accounts::hash_internal_state ( #5157 )
...
* runtime: Add bench for accounts::hash_internal_state
* fixup! cargo fmt
* fixup! cargo clippy
* fixup! Use a more representitive number of accounts
* fixup! More descriptive name for accounts creation helper
2019-07-19 10:32:29 -06:00
8b69998379
Lower recovery messages ( #5181 )
2019-07-19 09:20:14 -07:00
a21251dfea
Fix up signal handling
2019-07-19 08:35:22 -07:00
06cd7c1020
Disable restart
2019-07-19 08:35:22 -07:00
782846f295
Document fetch-perf-libs.sh when building with CUDA
2019-07-19 08:35:22 -07:00
19e131d710
Bump jsonrpc-derive from 12.0.0 to 12.1.0 ( #5193 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v12.0.0...v12.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-19 07:34:48 -07:00
9fd34cd985
Bump untrusted from 0.6.2 to 0.7.0 ( #5194 )
...
Bumps [untrusted](https://github.com/briansmith/untrusted ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/briansmith/untrusted/releases )
- [Commits](https://github.com/briansmith/untrusted/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-19 07:34:04 -07:00
adfb8ff2a1
Add getEpochInfo() and getLeaderSchedule() RPC methods ( #5189 )
...
* Add getLeaderSchedule() RPC method
* Add getEpochInfo() RPC method
* Add JSON RPC docs
2019-07-19 07:31:18 -07:00
83aa609540
Bump winreg from 0.6.0 to 0.6.1 ( #5149 )
...
Bumps [winreg](https://github.com/gentoo90/winreg-rs ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases )
- [Commits](https://github.com/gentoo90/winreg-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-18 21:24:40 -07:00
1e1cb7c57c
Select stable rust version ( #5180 )
2019-07-18 21:19:07 -07:00
cdbd1b908a
Ensure validator process is kill when stdout/stderr are redirected ( #5179 )
2019-07-18 21:18:48 -07:00
a12e7a2e33
Separate build and deploy steps in net/net.sh ( #5184 )
...
So one can keep the network up while a new experiment is building
2019-07-18 18:59:47 -07:00
25080f1a33
fix book typos ( #5185 )
2019-07-18 17:24:22 -07:00
afa05acb32
more replay_stage grooming ( #5163 )
2019-07-18 14:54:27 -07:00
d47caf2af8
add information to panic ( #5177 )
2019-07-18 14:41:32 -07:00
a3a91ba222
Fix misleading variable name ( #5176 )
...
automerge
2019-07-18 14:07:32 -07:00
751b54b60b
Skip sleeping in replay stage if a bank was recently processed ( #5161 )
...
* Skip sleeping in replay stage if a bank was recently processed
* Remove return
2019-07-18 12:04:53 -07:00
488dd0e563
Keybase: s/id/username ( #5165 )
2019-07-18 12:16:13 -06:00
b58558ea4e
net/: startnode/stopnode now works for blockstreamer/replicator nodes ( #5146 )
...
* startnode/stopnode now works for blockstreamer/replicator nodes
* Plumb --skip-ledger-verify through net/
2019-07-17 19:26:23 -07:00
6ad9dc18d8
Add ability to prune ledger ( #5128 )
...
* Add utility to prune the ledger
* Add tests
* Fix clippy
* Fix off by one
* Rework to force delete every column
* Minor fixup
2019-07-17 14:42:29 -07:00
027ebb6670
no more OUT_DIR ( #5139 )
...
* no more OUT_DIR
* no more OUT_DIR
* more information about failure
2019-07-17 14:27:58 -07:00
0ffd91df27
groom poh_recorder ( #5127 )
...
* groom poh_recorder
* fixup
* nits
* slot() from the outside means "the slot the recorder is working on"
* remove redundant check
* review comments, put next_tick back in the "is reset" check
* remove redundant check
2019-07-17 14:10:15 -07:00
10d85f8366
Add weighted shuffle support for values upto u64::MAX ( #5151 )
...
automerge
2019-07-17 12:44:28 -07:00
7aad427511
Bump libloading from 0.5.1 to 0.5.2 ( #4950 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.5.1...0.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-17 09:29:45 -06:00
bbd0455418
Bump log from 0.4.6 to 0.4.7 ( #5144 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-17 09:25:57 -06:00
5174b3bc3f
use precalculated max_tick_height ( #5134 )
2019-07-17 00:19:38 -07:00
f88c72c41e
stress tweaks ( #5140 )
2019-07-16 22:04:40 -07:00
9f678cc32a
Show stake pubkey
2019-07-16 20:10:15 -07:00
57036fbcc1
Check harder on crates.io for recently published crates ( #5136 )
2019-07-16 19:09:49 -07:00
349e5001d6
clear-config.sh now works with a secondary disk ( #5135 )
2019-07-16 19:09:14 -07:00
94db9cd412
Reduce banking_stage bench copy-paste code and fix programs bench ( #4926 )
2019-07-16 18:28:18 -07:00
b505a0df22
Throw more threads at hash_internal_state ( #5023 )
2019-07-16 16:58:30 -07:00
acf096c5f7
Add cross-program invocation proposal ( #4922 )
...
automerge
2019-07-16 16:36:05 -07:00
e8583f5cfe
Bump tokio from 0.1.21 to 0.1.22 ( #4935 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-16 16:48:11 -06:00
5825b967d2
Check for valid pid before kill in node stop script ( #5126 )
2019-07-16 14:31:15 -07:00
bf5bce50a4
Fix stake pruning test ( #5124 )
2019-07-16 13:20:03 -04:00
77ea8b9b3e
Add LoaderInstruction::InvokeMain ( #5116 )
...
* Remove unreachable, untested runtime check
* tx_data -> ix_data
* Add LoaderInstruction::InvokeMain
* Add test and allow loaders to be registered statically.
* Fix clippy error
2019-07-16 10:45:32 -06:00
176cec6215
Update Rust-BPF Sysroot ( #5122 )
2019-07-16 07:42:22 -08:00
5ab4975c44
Improve validator-info CLI ( #5121 )
...
* Fix index OOB panic
* Handle 'get' empty validator-info responses properly
* Improve 'get' argument flow
* Improve arg help text
* Improve 'publish' argument flow
* Update book doc
2019-07-16 09:22:55 -06:00
7e60ee39d9
Add missing dash
2019-07-16 07:27:35 -07:00
3ea2933e2d
It's 2019
2019-07-15 20:58:21 -07:00
fe87c05423
fix transaction_count ( #5110 )
...
* fix transaction_count
* add sig count to bank hash
2019-07-15 13:42:59 -07:00
6b86f85916
Add C API ( #5072 )
2019-07-15 13:17:17 -06:00
04649de6a6
Boot remote native loads, take 2 ( #5106 )
...
* Drop dependencies on remote native loads
* Remove remote native loads
2019-07-15 13:16:09 -06:00
92d78451b1
Update expected keybase-pubkey location ( #5104 )
...
automerge
2019-07-15 09:28:06 -07:00
0c87928132
Keybase pubkey file instructions and verification for validators ( #5090 )
...
* Document publishing a pubkey on keybase
* Verify keybase-pubkey
2019-07-14 23:48:50 -06:00
db7e78bf99
Add node zone and count to ENV ( #5100 )
...
* Add node zone and count to ENV
2019-07-14 22:40:18 -06:00
adecd4cfdc
Pull testnet vars up to buildkite env ( #5098 )
2019-07-14 20:27:49 -06:00
40faaef9da
Revert "Logging ( #5017 )" ( #5096 )
...
This reverts commit b50a3bae72
.
2019-07-14 18:48:15 -07:00
9b54528c8e
Fix some nightly warnings ( #5093 )
...
ONCE_INIT => Once::new
Box<Error> => Box<dyn Error>
2019-07-14 13:37:55 -07:00
440d006ec1
Plumb --no-snapshot in from CI ( #5077 )
...
* Plumb --no-snapshot in from CI
2019-07-14 13:17:30 -06:00
6c49b10784
Purge remaining uses of Locktower ( #5076 )
...
automerge
2019-07-13 00:24:15 -07:00
c858d1dbb3
Bump tempfile from 3.0.8 to 3.1.0 ( #4882 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.0.8 to 3.1.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.8...v3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-12 23:57:35 -07:00
741a0a8a4e
Correctly decode update manifest ( #5086 )
...
automerge
2019-07-12 22:55:55 -07:00
16b6576839
use precalculated max_tick_height ( #5084 )
2019-07-12 22:25:48 -07:00
6accf21229
Add epoch voting history to show-vote-account ( #5080 ) ( #5085 )
...
automerge
2019-07-12 22:01:12 -07:00
d2b21ce8d0
Stop trying to publish crates that are unpublishable
2019-07-12 21:53:09 -07:00
b01990d480
Avoid trying to republish crates already on crates.io
2019-07-12 21:43:16 -07:00
d7fdfb7e21
Give publish-crate more time
2019-07-12 20:28:10 -07:00
19fe468dbc
Add design proposal to embed Libra's Move ( #5067 )
...
* Add design proposal to embed Libra's Move
* Apply review feedback
* Pipeline VM -> the runtime
* defines -> define
2019-07-12 21:12:55 -06:00
259a5130a8
whoops ( #5083 )
2019-07-12 19:08:51 -07:00
0d27515d09
tmp dirs target to farf ( #5079 )
2019-07-12 18:28:42 -07:00
1c966aac25
Facility to generate a blocktree prune list using ledger tool ( #5041 )
...
automerge
2019-07-12 16:58:13 -07:00
d2b6c2e0ce
syscall work, rename syscall to sysvar, rename current to clock ( #5074 )
...
* syscall work, rename syscall to sysvar, rename current to clock
* missed one
* nit
2019-07-12 16:38:15 -07:00
7aecb87bce
Add a version field to blobs ( #5057 )
2019-07-12 13:43:19 -07:00
4a02914b30
Add pub key authorized list
2019-07-12 12:34:17 -07:00
7c12ecbe81
Fix unnecessary computation ( #5055 )
2019-07-12 11:30:37 -07:00
f093377805
apt-get update before installing certbot ( #5054 )
...
* apt-get update before installing certbot
2019-07-12 11:50:40 -06:00
5ac173d208
Enable GPUs and secondary disks for TdS net, pull external account file ( #5031 )
...
* Enable V100 GPUs over 3 regions for TdS cluster
* Turn on secondary config-local drive for tds net
* Enable long args bypass for GPU machine details
* bypass quoted long arg
* Pull external account file from wget
* typo
* Symlink config-local instead of changing the path variables
* Fix link path
2019-07-12 09:38:47 -06:00
9f58318fc5
Add --no-snapshot to disable booting a validator from a snapshot ( #5050 )
...
automerge
2019-07-11 21:03:17 -07:00
ebcdc06dc3
Restore ledger-tool print and json commands ( #5048 )
...
* Restore ledger-tool print and json commands
* Remove obsolete read_ledger()
2019-07-11 20:33:36 -07:00
22315d88e7
Fix credit only commit_credits race ( #5028 )
...
* Fix credit only drain race
* Refactor commit credits for tests
* Fix tests to use commit_credits_unsafe
2019-07-11 18:46:49 -07:00
0a36a78133
Fix replicator segment selection ( #5046 )
2019-07-11 18:31:41 -07:00
a25446f045
Pull in more Rust-BPF compatible built-ins ( #5043 )
2019-07-11 15:16:30 -08:00
2860d2fe27
Pull in support for Rust-BPF stack argument passing ( #5038 )
2019-07-11 14:27:18 -08:00
e4861f52e0
Add support for additional disks for config-local ( #5030 )
...
* Add support for additional disks for config-local
* Restore wrongly deleted lines
* Shellcheck
* add args in the right place dummy
* Fix nits
* typo
* var naming cleanup
* Add stub function for remaining cloud providers
2019-07-11 16:23:32 -06:00
5698d48dc8
merkle-tree: Make instantiation a little less painful ( #5037 )
...
automerge
2019-07-11 15:15:08 -07:00
5b95685e12
Add rewards to is_syscall_id() ( #5035 )
2019-07-11 13:47:22 -08:00
4c90898f0b
Dynamic erasure set configuration ( #5018 )
...
* Use local erasure session to create/broadcast coding blobs
* Individual session for each recovery (as the config might be different)
* address review comments
* new constructors for session and coding generator
* unit test for dynamic erasure config
2019-07-11 13:58:33 -07:00
a191f3fd90
add node_pubkey to vote warning ( #5033 )
2019-07-11 13:12:26 -07:00
b2c776eabc
Fix getProgramAccounts RPC ( #5024 )
...
* Use scan_accounts to load accounts by program_id
* Add bank test
* Use get_program_accounts in RPC
2019-07-11 12:58:28 -06:00
2c8d6f87e6
Add validator-info CLI ( #4970 )
...
* Add validator-info CLI
* Add GetProgramAccounts method to solana-client
* Update validator-info args, and add get subcommand
* Update ValidatorInfo lengths
* Add account filter for get --all
* Update testnet participation doc to reflect validator-info
* Flesh out tests
* Review comments
2019-07-11 12:38:52 -06:00
08f6de0acd
Plumb scan_accounts into accounts_db, adding load from storage ( #5029 )
2019-07-11 12:16:02 -06:00
bd92f37553
Terminology ( #4995 )
...
* update exchange program: tradeOrder->Order, tradeRequest->OrderRequest, tradeCancel->OrderCancel
* Update bench-exchange: tradeOrder -> Order
* update bench exchange Readme
2019-07-10 23:22:33 -06:00
2abbc89dcd
add accounts_index_scan_accounts ( #5020 )
2019-07-10 22:06:32 -07:00
8cad992170
reduce replicode in accounts, fix cast to i64 ( #5025 )
2019-07-10 21:22:58 -07:00
41d0db078e
Wait for bootstrap leader to initialize before starting other validators ( #5027 )
2019-07-10 21:03:48 -07:00
8781aebe06
Pass SOLANA_METRICS_CONFIG along to oom-monitor.sh ( #5021 )
2019-07-10 20:11:55 -07:00
727c15ef8a
start from random point in fork stores ( #5010 )
2019-07-10 18:44:49 -07:00
e4926e4110
Set exit when replicator run exits ( #5016 )
2019-07-10 16:27:18 -07:00
b50a3bae72
Logging ( #5017 )
...
* Add logging to replay_stage
* locktower logging
2019-07-10 15:52:31 -07:00
35ec7a5156
Decouple turns from segments in PoRep ( #5004 )
...
* Decouple Segments from Turns in Storage
* Get replicator local cluster tests running in a reasonable amount of time
* Fix unused imports
* Document new RPC APIs
* Check for exit while polling
2019-07-10 13:33:29 -07:00
a383ea532f
Implement new Index Column ( #4827 )
...
* Implement new Index Column
* Correct slicing of blobs
* Mark coding blobs as coding when they're recovered
* Prevent broadcast stages from mixing coding and data blobs in blocktree
* Mark recovered blobs as present in the index
* Fix indexing error in recovery
* Fix broken tests, and some bug fixes
* increase min stack size for coverage runs
2019-07-10 11:08:17 -07:00
b1a678b2db
Document getSlotsPerSegment in rpc api doc ( #5005 )
...
* Document getSlotsPerSegment in rpc api doc
2019-07-10 10:05:11 -07:00
e563a4dda3
Rename tds-testnet to tds ( #5008 )
2019-07-10 10:26:24 -06:00
dbe533385e
Improve signature checks in config_api ( #5001 )
...
automerge
2019-07-10 01:00:49 -07:00
f537482c86
remove set_leader from cluster_info ( #4998 )
2019-07-09 22:06:47 -07:00
aebd70ddce
Move letsencrypt arg to create_args
2019-07-09 21:27:12 -07:00
7d80cfb17a
Include --letsencrypt ($1)
2019-07-09 20:54:11 -07:00
b8e7736af2
Move SLOTS_PER_SEGMENT to genesis ( #4992 )
...
automerge
2019-07-09 16:48:40 -07:00
32b55e6703
Fund solana-install deployments from the mint keypair to avoid airdrops ( #4997 )
2019-07-09 16:45:28 -07:00
0a949677f0
net/ plumbing to manage LetsEncrypt TLS certificates ( #4985 )
...
automerge
2019-07-09 15:45:46 -07:00
f777a1a74c
groom replay_stage and poh_recorder ( #4961 )
...
* groom replay_stage and poh_recorder
* fixup
* fixup
* don't freeze() parent, need to review bank_forks and maybe vote...
2019-07-09 15:36:30 -07:00
d111223085
Fix always passing in remote filename, even if no accounts file ( #4993 )
...
* Fix always passing in remote filename, even if no accounts file
* typo
2019-07-09 16:07:31 -06:00
1ca7e9f67b
Add testnet-tds support to testnet manager ( #4762 )
...
* Add testnet-tds support to testnet scripts
2019-07-09 14:39:55 -06:00
bc8f435d45
Shell script nits ( #4982 )
2019-07-09 12:09:13 -08:00
5e221bf219
Make config_api more robust ( #4980 )
...
* Make config_api more robust
* Add test and update store instruction
2019-07-09 13:37:18 -06:00
fc58b3e8c3
Fix typos
2019-07-09 09:35:52 -06:00
1033f52877
Add pubkey ( #4971 )
2019-07-09 00:54:22 -07:00
4771177f9d
Update LLVM to v0.0.11 ( #4976 )
2019-07-08 23:22:49 -08:00
50c6b5d62d
Work around missing lib on linux (Issue #4972 ) ( #4975 )
2019-07-08 22:24:57 -08:00
f9a2254688
Split out Rust BPF no-std stuff ( #4968 )
2019-07-08 20:28:05 -08:00
49250f62aa
make commit_credits one trip through the rwlock ( #4969 )
2019-07-08 20:46:21 -07:00
22ef3c7c54
Blob verify ( #4951 )
...
* Ensure signable data is not out of range
* Add a broadcast stage that puts bad sizes in blobs
* Resign blob after modifyign size
* Remove assertions that fail when size != meta.size
2019-07-08 18:21:52 -07:00
417e8d5064
fix blocktree_processor test_process_entries_stress ( #4967 )
2019-07-08 18:11:58 -07:00
1feb9bea21
Harden Merkle Tree against second pre-image attacks ( #4925 )
...
* merkle-tree: Harden against second pre-image attacks
* core/chacha: Bump test golden hash
2019-07-08 19:00:06 -06:00
563c42b829
Consistant message format ( #4965 )
2019-07-08 16:07:45 -08:00
841e5e326c
Program mutable lamports ( #4964 )
2019-07-08 15:52:25 -08:00
281deae102
Update config program to accommodate multiple signers ( #4946 )
...
* Update config program to accommodate multiple signers
* Update install CLI
* Remove account_type u32; add handling for unsigned keys in list
* ConfigKeys doc
2019-07-08 18:33:56 -05:00
c5ba2e0883
bank_forks test stability ( #4959 )
...
automerge
2019-07-08 15:55:49 -07:00
eb4edd75e6
make bank commit_credits non public ( #4944 )
...
* make bank commit_credits non pub
* track down create() failure
* move bank_client to process_transaction(), which commits credits
2019-07-08 15:37:54 -07:00
bb6bcd79c0
Handle replicator errors without panicking ( #4955 )
...
* Handle replicator errors without panicking
* Unwelcome println
2019-07-08 12:43:35 -07:00
ef7022d638
Refactor replicators to not block on startup ( #4932 )
...
* Refactor replicators to not block on startup
* Ignore setup failure
2019-07-08 10:17:25 -07:00
2aac094f63
Ensure blobs are deserializable without unwrapping ( #4948 )
...
* Return result from deserializing blobs in blocktree instead of assuming deserialization will succeed
* Mark bad deserialization as dead fork
* Add test for corrupted blobs in blocktree and replay_stage
2019-07-07 14:37:12 -07:00
fc180f4cbf
Halve stake of malicious validator ( #4937 )
2019-07-05 15:45:39 -07:00
e26a0bf840
Bump env_logger from 0.6.1 to 0.6.2 ( #4879 )
...
Bumps [env_logger](https://github.com/sebasmagri/env_logger ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/sebasmagri/env_logger/releases )
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebasmagri/env_logger/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-05 14:11:10 -06:00
3557975c1f
install: more little window fixes ( #4930 )
...
* Only add .exe extension if no extension was given
* Switch to ctrlc crate for freebie Windows ^C handling
2019-07-03 17:45:08 -07:00
b4aebbd991
Increment InfluxDB to 1.7 ( #4931 )
2019-07-03 17:44:49 -07:00
db13b52e6a
Bump serde_json from 1.0.39 to 1.0.40 ( #4881 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.39...v1.0.40 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-03 16:15:56 -06:00
f1f6537837
Reduce default commission from 100% to 50% ( #4929 )
2019-07-03 14:18:08 -07:00
2ec5d2c7f5
start local_cluster nodes from genesis blocks ( #4928 )
2019-07-03 14:03:52 -07:00
42e5623e26
Update rust-bpf-sysroot to v0.5 ( #4920 )
2019-07-03 11:20:21 -08:00
ab9f2adc69
[Security] Bump smallvec from 0.6.9 to 0.6.10 ( #4921 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 0.6.9 to 0.6.10. **This update includes security fixes.**
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-07-03 12:12:48 -07:00
f551b34725
Fix issue in polling for transaction signatures ( #4923 )
...
- Specifically if multiple confirmation for the signature is requested
2019-07-02 20:56:10 -07:00
55b8ff72d0
Enable parallel tests to reduce test time ( #4919 )
...
* Add crate to serialize some tests
* Ignore unused attribute warning
* Enable parallel run in CI
* Try to fix lograte tests
* Fix interdependent counter tests
2019-07-02 17:35:03 -07:00
bf319ab06d
Convert syscall accounts to credit only accounts ( #4915 )
2019-07-02 15:17:28 -07:00
12ef0c25b5
change vote commission to u8 (from u32) ( #4887 )
...
automerge
2019-07-02 14:18:11 -07:00
8620d0a3b2
Add curl retries
2019-07-02 08:37:18 -07:00
933ae51fcc
Add .exe extension before checking for a program file on windows ( #4902 )
2019-07-02 08:04:27 -07:00
c1201e54fa
Avoid signal-hook crate on windows ( #4900 )
2019-07-01 22:52:55 -07:00
3615445a12
Broadcast run for injecting fake blobs in turbine ( #4889 )
...
* Broadcast run for injecting fake blobs in turbine
* address review comments
* new local cluster test that uses fake blob broadcast
* added a test to make sure tvu_peers ordering is guaranteed
2019-07-01 17:54:03 -07:00
091999a17e
fix Instruction and CompiledInstruction field names ( #4895 )
...
* s/program_ids_index/program_id for Instruction
* s/program_ids_index/program_id_index for CompiledInstruction
2019-07-01 18:34:22 -06:00
417066ad30
Fix bench-tps funding math; make generate_keypairs() and fund_keys() algorithms consistent ( #4841 )
...
* Fix funding math; make generate_keypairs and fund_keys consistent
* Add test, and fix inconsistencies it exposes
* De-pow math, and use assert_eq in tests for better failure msgs
2019-07-01 18:32:03 -06:00
2abe051a1f
run command now kills child process on SIGTERM to cleanly exit ( #4896 )
...
automerge
2019-07-01 17:10:14 -07:00
65adce65fa
Always send pull responses to the origin addr ( #4894 )
2019-07-01 16:49:05 -07:00
0c8f187993
remove syscall tick height ( #4891 )
2019-07-01 16:21:51 -07:00
cbd2938035
update book with stake stuff ( #4893 )
2019-07-01 15:16:41 -07:00
0999225794
Try to gracefully terminal child process before using SIGKILL ( #4890 )
2019-07-01 14:08:30 -07:00
38b44f2496
Reduce slot duration and consecutive leader slots ( #4838 )
...
* change consecutive leader slots to 4
* reduce polling frequency for transaction signature confirmation
* adjust wait time for transaction signature confirmation
* fix nominal test
* fix flakiness in wallet pay test
2019-07-01 13:21:00 -07:00
c1953dca8f
Cleanup some of banking stage ( #4878 )
...
* Add committable transactions that cause errors like InstructionErrors back to retryable list on MaxHeightReached
* Remove unnecessary logic
* Add comments/renaming for clarity
2019-07-01 12:14:40 -07:00
19ea5fe0c0
Rework fullnode.sh to recover better from genesis block resets ( #4884 )
2019-07-01 11:54:00 -07:00
d7ed3b8024
Add RPC api to return program accounts ( #4876 )
...
automerge
2019-06-29 09:59:07 -07:00
a89589a1d5
Add Measure abstraction over measuring time intervals ( #4851 )
...
Allows one to swap in different implementations. This provides
the normal Insant::now() -> .elapsed() path.
2019-06-29 15:34:49 +02:00
41bda18046
Disable Enter prompt when stdin is not a tty ( #4874 )
2019-06-28 17:43:43 -07:00
0c832f4668
Don't prompt the user to update their PATH if --no-modify-path was supplied ( #4872 )
2019-06-28 16:45:01 -07:00
75b494d4a3
Lower warn to info, fetch from validator root instead of root + 1 ( #4870 )
...
* Lower warn to info, fetch from validator root instead of root + 1
* b/c -> because
2019-06-28 16:17:20 -07:00
f0191a98ab
Bump serde from 1.0.93 to 1.0.94 ( #4864 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-28 15:07:16 -07:00
76413cbfac
Ensure validator process is killed when fullnode.sh is killed ( #4869 )
...
automerge
2019-06-28 14:24:44 -07:00
0fa1af5d47
Cleanup num_threads() and batch_limit numbers ( #4852 )
2019-06-28 10:55:24 +02:00
af1c70f032
book: Add simple payment and state verification proposal ( #4200 )
...
automerge
2019-06-27 17:08:10 -07:00
278614fc7c
Impl credit-only accounts in Budget ( #4862 )
2019-06-27 19:22:21 -04:00
baca35ef4d
book: Make build a little less annoying ( #4861 )
...
automerge
2019-06-27 15:20:37 -07:00
66552d7047
Credit-Only Accounts: Cache account balance for thread-safe load/store ( #4691 )
...
* Implement CreditOnlyLocks
* Update credit-only atomic on account load
* Update credit-only atomic after bank.freeze_lock; store credits if all credit-only lock references are dropped
* Commit credit-only credits on bank freeze
* Update core to CreditAccountLocks
* Impl credit-only in System Transfer
* Rework CreditAccountLocks, test, and fix bugs
* Review comments: Pass CreditAccountLocks by reference; Tighten up insert block
* Only store credits on completed slot
* Check balance in bench_exchange funding to ensure commit_credits has completed
* Add is_debitable info to KeyedAccount meta to pass into programs
* Reinstate CreditOnlyLocks check on lock_account
* Rework CreditAccountLocks to remove strong_count usage
* Add multi-threaded credit-only locks test
* Improve RwLocks usage
* Review comments: panic if bad things happen; tighter code
* Assert lock_accounts race does not happen
* Revert panic if bad things happen; not a bad thing
2019-06-27 17:25:10 -04:00
979df17328
Bump serde_derive from 1.0.93 to 1.0.94 ( #4856 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-27 13:18:19 -07:00
6cec61dcfc
Re-enable tests ( #4848 )
2019-06-27 12:09:14 -07:00
a9b044f0ab
Fix banking_stage benchmark sends ( #4850 )
...
Only one big batch was being sent so only 1
thread active at a time in the benchmark.
2019-06-27 10:37:33 +02:00
fbea9d8621
Page-pin packet memory for cuda ( #4250 )
...
* Page-pin packet memory for cuda
Bring back recyclers and pin offset buffers
* Add packet recycler to streamer
* Add set_pinnable to sigverify vecs to pin them
* Add packets reset test
* Add test for recycler and reduce the gc lock critical section
* Add comments/tests to cuda_runtime
* Add recycler to recv_blobs path.
* Add trace/names for debug and PacketsRecycler to bench-streamer
* Predict realloc and unpin beforehand.
* Add helper to reserve and pin
* Cap buffered packets length
* Call cuda wrapper functions
2019-06-27 09:32:32 +02:00
44a572416d
Save snapshots followed by accounts to avoid stale account data ( #4847 )
...
* save snapshots before account stores
* update comment
2019-06-26 23:19:55 -07:00
97c97db97e
Fix early exit clearing all buffered packets ( #4810 )
2019-06-26 22:39:50 -07:00
b8ae025f90
rsync of ledger/ and state.tgz now works on both macOS and Linux ( #4845 )
...
automerge
2019-06-26 22:10:24 -07:00
27221e28f6
Use default pubkey for solana-install sanity check
2019-06-26 21:49:22 -07:00
9a52b01171
Change to crossbeam channel in banking_threads VerifiedReceiver ( #4822 )
...
* Add crossbeam channel instead of channel in banking_stage
2019-06-26 18:42:27 -07:00
8cea650535
Handle NaN and inifinite point values ( #4839 )
2019-06-26 18:33:52 -07:00
531679eeaf
Bump generic-array from 0.13.0 to 0.13.1 ( #4801 )
...
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/fizyk20/generic-array/releases )
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fizyk20/generic-array/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-26 17:47:12 -06:00
850f77ab3b
Minor refactor of duplicated reward claim logic ( #4835 )
...
automerge
2019-06-26 15:01:45 -07:00
4a10fd3272
Upload all artifacts
2019-06-26 14:37:18 -07:00
9e2eb9e4f9
Set CI_REPO_SLUG correctly for the solana-secondary pipeline
2019-06-26 14:37:18 -07:00
8120b57f17
Setup reward pools in genesis ( #4831 )
...
automerge
2019-06-26 13:51:17 -07:00
f651c0922a
Airdrop more token in wallet sanity due to fee ( #4830 )
...
automerge
2019-06-26 13:32:58 -07:00
8d2ec20201
Tidied up intro paragraph ( #4819 )
...
I tidied up the intro paragraph!
2019-06-26 12:12:25 -07:00
dce1f80aac
Made tiny change to second paragraph ( #4820 )
...
Replaced 'it's' with 'Solana
2019-06-26 12:12:11 -07:00
df1c473341
Add storage point tracking and tie in storage rewards to economics ( #4824 )
...
* Add storage point tracking and tie in storage rewards to epochs and economics
* Prevent validators from updating their validations for a segment
* Fix test
* Retain syscall scoping for readability
* Update Credits to own epoch tracking
2019-06-26 10:40:03 -07:00
8a64e1ddc3
add fee burning ( #4818 )
2019-06-26 10:13:21 -07:00
eb47538a82
Bump chrono from 0.4.6 to 0.4.7 ( #4812 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.6...v0.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-26 07:58:41 -06:00
861d6468ca
Stake weighted pruning for the gossip network ( #4769 )
...
* Stake weighted pruning
* Fix compile error
* Fix clippy errors
* Add helper for creating a connected staked network
* Bug fixes and test groundwork
* Small refactor
* Anatoly's feedback and tests
* Doc updates
* @rob-solana's feedback
* Fix test bug and add log trace
* @rob-solana's feedback
2019-06-26 00:30:16 -07:00
d6737b8cc9
Set epoch schedule in set_root in leader schedule cache ( #4821 )
2019-06-26 00:19:48 -07:00
30592f2b12
Integration tests for stake API ( #4811 )
...
* more tests for rewards redemption
* break circular deps
* code review
2019-06-25 23:00:35 -07:00
1f950781c2
Use temp path for append_vec tests ( #4765 )
...
* Use temp path for serialize test
* set account path
2019-06-25 16:11:57 -07:00
f20ba423ca
Merklize PoH TX mixin hash ( #4644 )
2019-06-25 14:44:27 -06:00
c5e6ebb496
Create snapshots sparsely ( #4815 )
2019-06-25 12:10:17 -07:00
9e7f618cff
Set proper count value for account stores ( #4797 )
...
* set count values for store accounts
* Use AppendVecId type
2019-06-25 07:21:45 -07:00
74a06e4230
Update thinclient to resend the same tx until its blockhash expires ( #4807 )
2019-06-24 16:46:34 -07:00
70f93cc126
remove mining_pool from stake_state ( #4804 )
2019-06-24 16:01:02 -07:00
3f8ff23125
Forward transactions to the leader for next Nth slot ( #4806 )
...
* review comments
2019-06-24 15:56:50 -07:00
29611fb61d
tower consensus naming ( #4598 )
...
s/locktower/tower/g
2019-06-24 13:41:23 -07:00
407b1d3e6f
Bump console from 0.7.5 to 0.7.7 ( #4798 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.7.5 to 0.7.7.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.7.5...0.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-24 05:40:15 -07:00
206e62271b
Ignore flaky test_two_unbalanced_stakes ( #4794 )
...
automerge
2019-06-23 20:55:43 -07:00
4e78354ab6
Bump serde_derive from 1.0.92 to 1.0.93 ( #4790 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.92...v1.0.93 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-23 20:23:41 -07:00
1561d9c8d4
Remove --storage-mining-pool-lamports ( #4792 )
2019-06-23 20:19:53 -07:00
0e1480b84e
Bump serde from 1.0.92 to 1.0.93 ( #4791 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.92...v1.0.93 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-23 17:23:41 -07:00
fd6047d1c5
Add validation tip
2019-06-23 09:10:39 -07:00
b0467be393
Add quotes
2019-06-23 09:09:12 -07:00
1b0b095813
Setup v0.1[78] backport label
2019-06-23 09:04:43 -07:00
bd43724dfc
Don't set automerge label the PR has status failures
2019-06-22 20:52:32 -07:00
11992946a4
Add storage reward pools ( #4779 )
2019-06-22 17:18:35 -07:00
0cc8a841ab
set automerge label on mergify backport PRs ( #4788 )
2019-06-22 09:00:00 -07:00
23b6b85bf0
Prevent Travis/Appveyor from trying to build mergify branches ( #4786 )
2019-06-22 08:42:27 -07:00
96b56fa6f7
Update authorized public key ( #4783 )
2019-06-22 08:33:39 -07:00
405ca1bcb2
Add instructions and processor for stake deactivation ( #4781 )
...
automerge
2019-06-21 23:45:03 -07:00
c6316bb24b
Initial mergify config
2019-06-21 22:50:17 -07:00
b7f169e06e
Program instruction to withdraw un-staked lamports from stake account ( #4780 )
2019-06-21 22:28:34 -07:00
e4b466874c
Remove storage-mining-pool-keypair arg
2019-06-21 21:38:03 -07:00
9911942dbd
Increment cargo.toml files to v0.17.0
2019-06-22 04:35:25 +00:00
8acbb4ab2f
Bank cap rpc ( #4774 )
...
* core/rpc: Name magic number for minted lamports in tests genesis block
* core/rpc: Expose bank::capitalization() via getSolTotalSupply RPC method
* book: Add entry for getTotalSupply RPC method
2019-06-21 21:00:26 -07:00
a49f5378e2
rewrite vote credits redemption to eat from rewards_pools on an epoch-sensitive basis ( #4775 )
...
* move redemption to rewards pools
* rewrite redemption, touch a few other things
* re-establish test coverage
2019-06-21 20:43:24 -07:00
f39e74f0d7
serde the full FeeCalculator ( #4778 )
...
automerge
2019-06-21 17:23:26 -07:00
22b767308a
Add insturctions to run a replicator on testnet ( #4733 )
2019-06-21 16:32:23 -07:00
36aa876833
Avoid linking with CUDA directly
2019-06-21 15:26:22 -07:00
06ba0b7279
Remove holding cluster_info lock while forwarding packets ( #4773 )
2019-06-21 15:21:49 -07:00
a38e1a81ef
Call do.sh from anywhere ( #4771 )
2019-06-21 12:26:17 -07:00
da925142d1
Update replicator ports and silence socket timeout on windows ( #4770 )
...
automerge
2019-06-21 11:28:52 -07:00
5feeb257bb
Seperate out BPF Loader helpers ( #4768 )
2019-06-21 11:08:50 -07:00
06c547094a
Add Merkle Tree implementation ( #4749 )
...
automerge
2019-06-21 10:22:21 -07:00
a40c5cf185
Update storage contract to use a deterministic BTreeMap ( #4763 )
2019-06-21 09:51:05 -07:00
deb83cdef6
Bump rayon from 1.0.3 to 1.1.0 ( #4729 )
...
automerge
2019-06-21 09:32:41 -07:00
20db335aed
Bump reqwest from 0.9.17 to 0.9.18
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.17 to 0.9.18.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.17...v0.9.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-21 08:50:49 -07:00
407db65336
Add 128bit Rust BPF test ( #4766 )
...
automerge
2019-06-21 02:43:50 -07:00
9c5a3cd277
Update Rust BPF to v0.1.2 ( #4767 )
2019-06-21 02:15:42 -07:00
138a49e820
Fix paths ( #4764 )
2019-06-21 00:08:02 -07:00
36c9e22e3d
Revert "Dynamic erasure ( #4653 )"
...
This reverts commit ada4d16c4c
.
2019-06-20 20:53:03 -07:00
aa0f8538ed
Fix client script arguments in the book ( #4760 )
2019-06-20 19:59:20 -07:00
4177c56c51
Use real panic that reports file/line ( #4758 )
2019-06-20 19:10:03 -07:00
425ac8d520
Remove need to use null when passing Rust strings ( #4756 )
2019-06-20 19:09:50 -07:00
ada4d16c4c
Dynamic erasure ( #4653 )
...
Remove erasure-related constants
Remove unneeded `Iterator::collect` call
Document erasure module
Randomize coding blobs used for repair
2019-06-20 20:27:41 -05:00
4069ef2e02
Install xargo once ( #4753 )
2019-06-20 16:49:33 -07:00
ace98bba08
Upgrade BPF sysroot to v0.4 ( #4754 )
2019-06-20 16:41:49 -07:00
e59b53dfa8
BPF rust language updates ( #4752 )
2019-06-20 16:07:12 -07:00
aacb38864c
Mark dead forks in replay stage ( #4715 )
...
* Add DeadSlots column family
* Filter dead forks from get_slots_since
* Mark erroring slots as dead in replay stage, add test
* Mark dead forks in progress instead of removing them
* Fix logging process_entries failures in replay_stage
* Unignore test_fail_entry_verification_leader
2019-06-20 15:50:41 -07:00
33d13a3aea
Update inflation.rs
2019-06-20 12:37:24 -07:00
1f0f947ed2
add validator rewards pools ( #4742 )
...
* add validator rewards pools
* populate rewards syscall
2019-06-20 12:22:29 -07:00
6854c64a09
Bump coverage build timeout
2019-06-20 09:24:11 -07:00
4a32bc48d2
ignore unstable test_repairman_catchup
2019-06-20 09:24:11 -07:00
b430762a23
check rust programs ( #4688 )
2019-06-20 07:43:31 -07:00
f8523db51d
Revert "remove build --all ( #4737 )" ( #4745 )
...
This reverts commit 63503ad589
.
2019-06-19 23:21:10 -07:00
48b11d1841
Initialize paths for non existent accounts ( #4744 )
2019-06-19 23:15:22 -07:00
3600a926df
protect against corruption ( #4741 )
2019-06-19 21:29:36 -07:00
c228792967
Add blocktree and repair_service to SUMMARY.md ( #4738 )
2019-06-19 20:10:04 -07:00
7ea522e851
add rewards syscall, groom some others ( #4740 )
2019-06-19 19:46:47 -07:00
63503ad589
remove build --all ( #4737 )
...
* remove build all
* Update test-stable.sh
2019-06-19 17:36:25 -07:00
9800e09431
Thread pool for par_iter in EntrySlice::verify ( #4732 )
...
* Use thread pool for entry verify par iter
* some performance metrics
* check batch size and use CPU for smaller batches
2019-06-19 16:31:32 -07:00
2e2b1881f5
move genesis_block to builder pattern ( #4736 )
2019-06-19 15:40:39 -07:00
61483c18ca
Change seed for retransmit to use blob signature ( #4727 )
...
* Switch seed for retransmit to use blob signature
* Use seed_len
* Use last bytes of signature as seed instead of first bytes
2019-06-19 15:36:06 -07:00
a5279bb835
Don't ship bench-streamer
2019-06-19 12:37:35 -07:00
357554b209
Cache target/
2019-06-19 12:37:35 -07:00
41fbdc6e08
use stake ( #4721 )
2019-06-19 11:54:52 -07:00
8bd1c57448
Defer CUDA selection to env.sh, also always create env.sh
2019-06-19 08:47:27 -07:00
2562e48b9d
Check for non zero count value
2019-06-19 08:47:12 -07:00
46bb79df29
Support for custom BroadcastStage in local cluster tests ( #4716 )
...
* Refactor BroadcastStage to support custom implementations, add FailEntryVerificationBroadcastRun implementation
* Plumb switch on broadcast type through validator
* Add test for validator generating non-verifiable entries to local_cluster
* Fix bad initializers
* Refactor broadcast run code into utils
2019-06-19 00:13:19 -07:00
6bc0d2a0cb
exit with success even if no CUDA version detected
2019-06-18 21:18:13 -07:00
465cd45833
Various Snapshot generation improvements
...
* Only a single snapshot is maintained to avoid unbounded disk growth
* Snapshot is stored as a compressed tar archive for faster rsyncing
* Any validator node may now generate snapshots
* Updated testnet scripts to generate snapshots on the blockstreamer node
2019-06-18 20:11:09 -07:00
b4484b89c3
'
2019-06-18 19:13:44 -07:00
c029f069f0
Cache .cargo for faster builds
2019-06-18 19:11:36 -07:00
fdb57bc5db
Add Rust BPF Tick Height test ( #4718 )
2019-06-18 15:56:24 -07:00
e43a634944
Calculate bench client lamports based on signature fee ( #4713 )
...
* use fee calculator to compute max fee
* review comments
* shellcheck
2019-06-18 14:44:53 -07:00
2da7c7fbd3
Bump nix from 0.14.0 to 0.14.1 ( #4642 )
...
automerge
2019-06-18 11:36:26 -07:00
5683282c94
Update to solana-perf-libs v0.14.0, with support for both CUDA 10.0 and 10.1
2019-06-18 10:41:03 -07:00
44967abd1c
update storage len
2019-06-17 22:48:27 -07:00
8b41a5d725
periodically save config in separate folders
2019-06-17 22:48:27 -07:00
07c183bb84
Fix test
2019-06-17 22:48:27 -07:00
7fd879b417
Restart validator nodes from snapshots
2019-06-17 22:48:27 -07:00
dc5c6e7cf8
validator restart
2019-06-17 22:48:27 -07:00
bd633d2b81
Add CI_REPO_SLUG ( #4714 )
...
automerge
2019-06-17 20:42:09 -07:00
feeaad619a
Avoid panic if no rpc peers exist
2019-06-17 19:47:45 -07:00
b44d8c394e
Only add --mining-pool arg when a mining pool keypair exists
2019-06-17 19:47:45 -07:00
0ff9c4cd8e
add stake warmup and cool down ( #4711 )
2019-06-17 19:34:21 -07:00
9cafd1f85e
Change check_txs to ignore recv errors and re-enable test ( #4593 )
...
Use more chunks to avoid duplicate signature failures:
Duplicate signatures can occur because bank.clear_signatures()
can occur before the bank has actually committed the signatures
to the status cache and then error out on the next set of transactions.
2019-06-17 19:04:21 -07:00
7fe10ba060
Don't start drone if primordial accounts are created for nodes ( #4704 )
...
* disable wallet sanity if no airdrops
2019-06-17 18:15:22 -07:00
cc48773b03
Add "download from replicator" utility ( #4709 )
...
automerge
2019-06-17 18:12:13 -07:00
8fbf0e2d9f
Update replicators to use the storage blockhash to generate offsets ( #4712 )
2019-06-17 16:39:26 -07:00
d86358eedc
add Account::new_data ( #4701 )
...
* add account_new_data
* fixup
* fixup
2019-06-17 15:58:05 -07:00
fe04fb4cd3
Refetch perf-libs when the release version is changed ( #4706 )
...
automerge
2019-06-17 14:31:41 -07:00
de3f7e9634
Update Rust program build script paths ( #4707 )
2019-06-17 14:24:00 -07:00
5e8fcdbe1d
Set {min,max}_lamports_per_signature correctly when fees don't adjust ( #4705 )
...
automerge
2019-06-17 13:18:12 -07:00
3ee7256c0c
Add cuda docs
2019-06-17 12:42:59 -07:00
2a7a9fdf03
Re-org SDK dir ( #4690 )
2019-06-17 11:04:38 -07:00
5bf87de136
Add obvious log message indicating CUDA feature state
2019-06-17 11:01:55 -07:00
97a136ea20
Set rustc-cfg=cuda explicitly, also code cleanup
2019-06-17 11:01:55 -07:00
735dfab02e
decomma
2019-06-17 11:01:55 -07:00
b5f65ce49c
Link cuda feature validator/ to core/
2019-06-17 11:01:55 -07:00
a283863694
Add storage-mining-pool genesis params
2019-06-14 20:25:39 -07:00
25908feef9
Fund accounts with the worst-case fee
2019-06-14 19:52:44 -07:00
b91ad6fd96
Clear C dependency files from cache ( #4692 )
2019-06-14 19:11:16 -07:00
02abf422df
Serialize genesis block using bincode ( #4687 )
...
* use mmap to read the genesis block, and deserialize
2019-06-14 14:22:52 -07:00
3fe5f886d7
change store to store_account ( #4689 )
2019-06-14 13:34:15 -07:00
4c6a6d63bf
add MiningPools, fund validator MiningPools from inflation ( #4676 )
...
* add MiningPool fund validator MinigPools from inflation
* fixup
* finish rename of MINIMUM_SLOT_LENGTH to MINIMUM_SLOTS_PER_EPOCH
* deterministic miningpool location
* point_value, not credit_value... use f64
2019-06-14 11:38:37 -07:00
589a9d3a72
Create aligned number of keypairs so they all get funded ( #4685 )
2019-06-14 11:11:52 -07:00
bd884a56bf
Install libssl1.1 better
2019-06-14 08:01:22 -07:00
119467df59
Add storage mining pool to genesis and implement automatic reward redeeming ( #4683 )
...
* Add storage mining pool to genesis and implement automatic reward collection
* Address review comments
2019-06-13 22:30:51 -07:00
ee68b9800e
Wait for nodes to boot up before launching other nodes and client ( #4682 )
...
* Wait for nodes to bootup in testnet
* increase timeout (as with multiple clients it takes even longer)
2019-06-13 19:37:36 -07:00
c6b4a3a706
Witness account data in Budget ( #4650 )
...
* Add support for contracts based on account data to Budget
* Add program_id to account constraints
* No longer require a signature for the account data witness
* Rename bank::store to store_account
* fmt
* Add a doc
* clippy
2019-06-13 18:20:28 -07:00
b1ac8f933b
Fix storage program space issues and limit storage transaction data ( #4677 )
2019-06-13 17:53:54 -07:00
9e3758983d
Find max root and purge roots below it. ( #4645 )
...
* Test for forking accounts
* Find max root and purge roots below it.
2019-06-13 17:35:16 -07:00
34c0537e9b
update book with staking changes ( #4679 )
2019-06-13 16:24:03 -07:00
8628f33d0b
Fix HostId field in the testnet dashboard
2019-06-13 16:09:09 -07:00
ed05aeaef8
Permit datapoints with no fields
2019-06-13 16:09:09 -07:00
e1444a9b00
Add curl retries
2019-06-13 15:05:07 -07:00
9514169bf6
Ensure volume mountpoints exist
2019-06-13 15:05:07 -07:00
fa8394f526
Initial documentation for validator metrics
2019-06-13 15:05:07 -07:00
1cd8c1865e
Generate random passwords and keep them out of the environment/program args
2019-06-13 12:37:39 -07:00
e3f895d7d4
Create bench exchange accounts in genesis block ( #4655 )
...
* fix script
* review comments
2019-06-13 11:51:35 -07:00
8abf22f34b
Temporarily revert: Convert System Transfer accounts to credit-only ( #4670 )
2019-06-13 11:01:09 -06:00
a016bc2736
Add infra to publish metrics tarball
2019-06-13 10:00:24 -07:00
470debef16
Inline metrics/scripts dependencies
2019-06-13 10:00:24 -07:00
c147dc3028
Update README
2019-06-13 10:00:24 -07:00
bdd95b2286
Generate local dashboard to avoid duplication
2019-06-13 10:00:24 -07:00
efe676bc94
Minor script refactoring/refinement
2019-06-13 10:00:24 -07:00
fc34687687
Create write-only user, default to custom grafana
2019-06-13 10:00:24 -07:00
6042ccf496
Streamline grafana.ini
2019-06-13 10:00:24 -07:00
f1197e1b1f
Adjust datasource name
2019-06-13 10:00:24 -07:00
8c1b9a0b67
Data plane verification ( #4639 )
...
* Add signature to blob
* Change Signable trait to support returning references to signable data
* Add signing to broadcast
* Verify signatures in window_service
* Add testing for signatures to erasure
* Add RPC for getting current slot, consume RPC call in test_repairman_catchup for more deterministic results
2019-06-12 16:43:05 -07:00
0da9ac1a47
Remove unnecessary parameter element ( #4666 )
...
* Stop passing pubkey ref unnecessarily
* Cargo.lock
2019-06-12 16:18:27 -06:00
c1f316721a
Clean up some error handling ( #4667 )
...
Shouldn't call exit from a library function.
2019-06-12 15:01:59 -07:00
8e86014311
Update stakers_slot_offset if slots_per_epoch is adjusted ( #4660 )
2019-06-12 14:12:17 -07:00
d807217be7
Simplify and camelCase getEpochVoteAccounts RPC API ( #4658 )
...
* Simplify and camelCase getEpochVoteAccounts RPC API
* Set a commission for testing
2019-06-12 14:12:08 -07:00
bc44516eb4
Add test to exercise more args then registers ( #4661 )
2019-06-12 13:04:53 -07:00
b78a13d42c
Nits ( #4662 )
2019-06-12 13:04:24 -07:00
0dcdc37fec
Split BPF loader to match the rest of the programs ( #4636 )
2019-06-12 08:49:59 -07:00
dd1c3514a8
Use auto hashes-per-tick config for testnet testnet
2019-06-12 08:40:56 -07:00
767efab941
add inflation to genesis ( #4652 )
...
* add inflation to genesis
* avoid having to write new()
2019-06-11 21:42:31 -07:00
288a3bdcd9
Provision bench client accounts in genesis block ( #4648 )
...
* fixes to script
* shellcheck
* address review comments
2019-06-11 18:47:35 -07:00
8019bff391
Fixes for storage program and rework storage stage ( #4654 )
...
automerge
2019-06-11 18:27:47 -07:00
575a897ffc
track market cap ( #4643 )
...
* track market cap
* fixup, rebase
* prettier
2019-06-11 17:04:13 -07:00
697228a484
rpc vote_accounts by ecurrent pocch, not stakers epoch ( #4651 )
2019-06-11 16:57:47 -07:00
ca907f37c3
fix cuda testnet compilation errors ( #4649 )
2019-06-11 15:30:39 -07:00
439e7cc26a
Add dependent crate test ( #4647 )
...
automerge
2019-06-11 11:45:12 -07:00
3217a1d70c
use highest staked node as bootstrap leader, remove bootstrap_leader from genesis_block ( #4635 )
...
* use highest staked node as bootstrap leader, remove bootstrap_leader from genesis_block
* clippy
* fixup
* fixup
2019-06-11 11:44:58 -07:00
6dbba86cc6
Cleanup rust-utils ( #4646 )
...
automerge
2019-06-11 11:42:30 -07:00
8cc863ea6c
Bump libloading from 0.5.0 to 0.5.1 ( #4640 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.5.0...0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-11 11:21:45 -07:00
1d957b6b80
Bump byteorder from 1.3.1 to 1.3.2 ( #4641 )
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-11 11:21:26 -07:00
e56430c9fb
make runtime depend on bpf_loader ( #4601 )
...
* make runtime depend on bpf_loader
* remove vote redundancy, move bpf_loader to genesis, export program\! from bpf_loader crate
* move bpf_loader specification into genesis
* bpf tests to use genesis with bpf
* need to avoid depending on programs, except for macros
2019-06-11 10:27:22 -07:00
e4d8ea11ac
Make lamports_per_signature dynamic based on cluster load ( #4562 )
...
* Make lamports_per_signature dynamic based on cluster load
* Move transaction-fees.md to implemented
2019-06-10 22:18:32 -07:00
a4035a3c65
Remove record locks and parent locks from accounts ( #4633 )
...
* Revert "Fix parent record locks usage in child banks (#4159 )"
This reverts commit 69eeb7cf08
.
* Revert "Fix DuplicateSignatures caused by races on frozen banks (#3819 )"
This reverts commit 083090817a
.
* Remove unused imports
2019-06-10 22:05:46 -07:00
807c69d97c
Slimmer implementation of credit-only accounts ( #4592 )
...
* Add credit-only debit/data check to verify_instruction
* Store credits and pass to accounts_db
* Add InstructionErrors and tests
* Relax account locks for credit-only accounts
* Collect credit-only account credits before passing to accounts_db to store properly
* Convert System Transfer accounts to credit-only, and fixup test
* Functionalize collect_accounts to unit test
* Review comments
* Rebase
2019-06-10 20:50:02 -06:00
9259d342ac
Facility to provision primordial accounts for fullnodes in genesis block ( #4631 )
...
* updated usage
* shellcheck
* support replicators
* disable airdrops if primordial accounts are used
* review comments
2019-06-10 19:42:49 -07:00
b4d4edb645
Restore cargo install to work around --features= 'feature' ( #4627 )
2019-06-10 18:49:08 -07:00
966b6999d1
Accounts index opt ( #4621 )
...
* Add accounts_index bench
* Don't take the accounts index lock unless needed
* Accounts_index remove insert return vec and add capacity stats
* Use hashbrown hashmap for accounts_index
2019-06-10 18:15:39 -07:00
73491e3ca1
bump libssl ( #4634 )
2019-06-10 18:03:13 -07:00
d1d53c3fb6
calculate stake from activated amount ( #4630 )
2019-06-10 16:17:29 -07:00
a77e576cd9
void key
2019-06-10 15:54:32 -07:00
9e14cde461
Revert "Fix roots never being purged ( #4134 )" ( #4628 )
...
automerge
2019-06-10 14:08:09 -07:00
a2a7c86c0d
Move Testnet Participation under Getting Started
2019-06-10 13:53:31 -07:00
38aeed02fc
Ignore dependabot branches
2019-06-10 12:50:48 -07:00
64d63966c7
Bump jsonrpc crates to 12.0.0 ( #4553 )
...
* Bump jsonrpc-pubsub from 11.0.0 to 12.0.0
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 11.0.0 to 12.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits/v12.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update all jsonrpc crates
2019-06-10 13:22:57 -06:00
38ae54b720
Bump walkdir from 2.2.7 to 2.2.8 ( #4615 )
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/BurntSushi/walkdir/releases )
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.2.7...2.2.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-06-10 12:19:45 -07:00
a18c0e34f4
add activate_stake to stake_api ( #4600 )
2019-06-10 12:17:29 -07:00
be3a0b6b10
Build/clean all ( #4626 )
...
automerge
2019-06-10 11:15:28 -07:00
9f6496d38a
Panic filename ( #4625 )
...
automerge
2019-06-10 11:00:15 -07:00
1fa31c9410
.iter fixed, drop enumerate where not needed ( #4624 )
...
automerge
2019-06-10 10:19:58 -07:00
2b5e757d57
Adjust slack notification
2019-06-10 07:44:31 -07:00
0dbe5ee559
Add chacha-sys crate ( #4620 )
...
* af9ff9c7f9/src/cpu-crypt
* Add chacha-sys crate
* Remove chacha feature
* Remove erasure feature
* Add .gitignore
2019-06-10 07:14:02 -07:00
6926e89e86
Minor doc update
2019-06-08 19:36:37 -07:00
ec0007217d
Modify HKEY_CURRENT_USER\Environment\PATH on Windows ( #4614 )
...
Thanks for the Windows registry editing code rustup.rs!
2019-06-08 19:25:02 -07:00
91b23f8316
Switch from solana-install to solana-install-init
2019-06-08 19:24:36 -07:00
2fd8d57504
Print path normally to avoid forward slash escaping
2019-06-08 19:22:17 -07:00
0595109f98
Add solana-install-init binary ( #4613 )
...
* Add solana-install-init binary
* Add Enter prompt on solana-install-init exit for Windows users
2019-06-08 19:01:22 -07:00
9f46b2a6ce
Avoid weird paths on Windows ( #4612 )
...
automerge
2019-06-08 17:23:34 -07:00
a357d08524
Avoid unnecessary re-downloading if |solana-install init| is invoked repeatedly ( #4611 )
2019-06-08 17:15:16 -07:00
177c9cc026
-f
2019-06-08 16:33:22 -07:00
0c4cb76acf
Add GPU based PoH verification ( #4524 )
...
* Add GPU poh verify
* Switch to single PoH verify function
* Add EntrySlice verify tests with hashes and txs
* Add poh-verify benchmarks
2019-06-08 10:21:43 -06:00
8676b5d40c
Use more -f
2019-06-07 22:18:55 -07:00
efab896c9e
Ignore unencrypted file
2019-06-07 21:38:30 -07:00
97b9d57b62
shellcheck
2019-06-07 21:35:51 -07:00
487826a539
Deploy windows updates
2019-06-07 20:46:58 -07:00
4acb764589
Pick up .exe extension
2019-06-07 20:13:47 -07:00
9de4c1dcd9
Add slack notification
2019-06-07 19:58:52 -07:00
e8c4302d6d
Add Appveyor CI for Windows release artifacts
2019-06-07 19:47:26 -07:00
a9f73ea321
solana-keygen no longer blindly overwrites a keypair, or assumes "new" ( #4599 )
...
automerge
2019-06-07 17:54:54 -07:00
66c41b3e8c
Enable iter test ( #4542 )
...
automerge
2019-06-07 16:44:14 -07:00
8435fbfa0b
Travis window support is too unstable, disable for now
2019-06-07 15:17:27 -07:00
9a4c449135
Builtins ( #4594 )
...
automerge
2019-06-07 14:38:49 -07:00
ac6dbf8f04
Broadcast blobs even if the peers have no stake ( #4597 )
2019-06-07 14:12:27 -07:00
b55927370b
Restore OS -> TARGET map
2019-06-07 13:22:40 -07:00
002fbc4d53
Add |wallet fees| subcommand for easy viewing of the current cluster fees ( #4596 )
2019-06-07 13:11:56 -07:00
53deb7919c
Update book for Turbine ( #4583 )
2019-06-07 13:03:05 -07:00
8e46c44f3e
Deploy mac OS solana-install update package to testnets ( #4595 )
2019-06-07 12:59:58 -07:00
37c2fa1d8d
add current to bank syscalls ( #4581 )
2019-06-07 11:41:34 -07:00
fdaa939892
Bring in Travis CI to build Windows and mac OS release binaries ( #4591 )
...
* Bring in Travis CI to build Windows and mac OS release binaries
* Update .travis.yml
2019-06-07 11:32:47 -07:00
c9d63204eb
Replace unneeded seqcst with relaxed on atomic operations ( #4587 )
2019-06-06 23:53:21 -07:00
cfab54511b
Ignore bench_banking_stage_multi_accounts ( #4590 )
...
automerge
2019-06-06 21:47:07 -07:00
492cc93850
Limit short_vec length to u16, usize is overkill for our usage ( #4588 )
2019-06-06 20:18:41 -07:00
fd9fd43e83
add solana_name_id, reassociate names with modules, modularize id tests ( #4580 )
2019-06-06 19:27:49 -07:00
191483f4ee
Facility to add accounts with specific balance to genesis block ( #4585 )
...
* Facility to add accounts with specific balance to genesis block
* address review comments
2019-06-06 19:24:09 -07:00
688f8a669a
Add a storage accounts cache to Bank ( #4578 )
2019-06-06 17:40:01 -07:00
46eea85022
Improve error message
2019-06-06 17:06:56 -07:00
1c765124e7
Clean up .configured flag handling to work with an external identity keypair ( #4579 )
...
automerge
2019-06-06 14:51:48 -07:00
194491ae96
Removed some dead code ( #4563 )
...
* Removed some dead code
* remove dead code from Replicator
2019-06-06 14:26:12 -07:00
2ae595294c
fullnode.rs: restart the node correctly on non-zero exit
2019-06-06 13:46:46 -07:00
ead947e710
Change default setting for real PoH in testnet scripts ( #4573 )
2019-06-06 12:49:46 -07:00
82df267ec9
s/avalanche/turbine ( #4561 )
...
* s/avalanche/turbine/g
2019-06-06 12:48:40 -07:00
53275cc678
Introduce normalized CI environment vars: ci/env.sh ( #4571 )
2019-06-06 12:20:47 -07:00
44835a91db
Update PoRep entry in the book ( #4560 )
...
* Rework PoRep design doc
* Define the stages of the PoRep game
* Add that the stages are really transactions
* Update turn count
* Review comment + clarification
* More clarification
* Rephrase for clarity
2019-06-06 12:16:54 -07:00
ee42040e6b
Give coverage build more time ( #4572 )
...
automerge
2019-06-06 11:07:32 -07:00
2b98a16ec6
Upgrade to rust stable 1.35.0 ( #4568 )
2019-06-06 09:24:38 -07:00
aa4a7b0c73
Disable |solana-install| check for edge/beta testnets ( #4564 )
...
The release tarball URL changes for these testnets, which causes the
normal |solana-install| check to fail and the testnet is unnecessarily
rebooted.
2019-06-05 15:31:29 -07:00
8f50c3dd2e
Be explicit about return status
2019-06-05 14:12:06 -07:00
9c47ce30a7
shift
2019-06-05 12:06:54 -07:00
3433b08b8c
remove unnecessary wrapper ( #4559 )
2019-06-05 11:43:41 -07:00
d26fd27bf9
Avoid sudo in tune-system.sh unless requested by the user ( #4556 )
2019-06-05 09:10:23 -07:00
5c98c1d306
Sanity check that runs on the blockstreamer node now checks that node instead of the bootstrap leader ( #4551 )
...
automerge
2019-06-04 22:46:48 -07:00
51aacfe3ca
Use pure-rust reed-solomon-erasure for windows ( #4548 )
2019-06-04 21:49:27 -07:00
82bd2df986
Use Library::new() for windows ( #4544 )
2019-06-04 21:49:05 -07:00
aa88c40a9e
multi_bind_in_range(): limit to 1 socket in windows ( #4549 )
2019-06-04 20:55:02 -07:00
8ec5a47027
Add EntryWriter::write() stub for windows ( #4546 )
2019-06-04 20:15:37 -07:00
5bd3eb4557
Up number of threads ( #4541 )
2019-06-04 18:01:28 -07:00
e9cb4a12dc
Bump serde_derive from 1.0.91 to 1.0.92 ( #4505 )
...
automerge
2019-06-04 15:48:23 -07:00
de5cad9211
Add account owner to Storage Accounts ( #4537 )
...
* Add account owner to Storage Accounts
* Fix tests
2019-06-04 14:52:52 -07:00
e3365529de
Enable transaction fees for multinode-demo/ and net/ ( #4527 )
...
* Collect fees at the end of a slot
* Enable transaction fees for multinode-demo/ and net/
2019-06-04 14:51:52 -07:00
ce2ce76958
Bump serde from 1.0.91 to 1.0.92 ( #4504 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.91...v1.0.92 )
2019-06-04 14:32:09 -07:00
16f2fb5c09
Bump tokio from 0.1.20 to 0.1.21 ( #4489 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.20 to 0.1.21.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.20...tokio-0.1.21 )
2019-06-04 14:31:29 -07:00
d77c98530f
Bump libc from 0.2.55 to 0.2.58 ( #4514 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.55 to 0.2.58.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.55...0.2.58 )
2019-06-04 14:31:06 -07:00
fe40b75ac6
Bench TPS tweaks for transaction fees ( #4538 )
...
* use lamports_per_signature instead of hard coding it in bench client
2019-06-04 13:56:11 -07:00
e7129757c9
store_accounts to use try_available ( #4523 )
...
* store_accounts to use try_available
* tighter
* clippy
2019-06-04 11:21:12 -07:00
3635a68129
solana-install now compiles for Windows ( #4531 )
...
automerge
2019-06-04 08:51:20 -07:00
70a16e91a5
Randomize avalanche broadcast peer table for each blob ( #4529 )
...
* fix clippy warnings
2019-06-03 20:38:05 -07:00
41daf1ef0c
Wait for crate to be locatable on crates.io after uploading ( #4526 )
...
* Wait for crate to be locatable on crates.io after uploading
* Fix nits and shellcheck
* shellchecker
2019-06-03 19:54:41 -06:00
ff77789718
Collect fees at the end of a slot ( #4525 )
2019-06-03 18:40:20 -07:00
a77775cb58
Move validation submissions into its own fn ( #4528 )
...
automerge
2019-06-03 18:27:06 -07:00
167e15a5ae
Update replicator sampling and proof generation ( #4522 )
...
* Update replicator sampling and proof generation
* Clippy
2019-06-03 17:27:28 -07:00
dea663d509
Storage arranged by fork ( #4518 )
2019-06-03 15:34:32 -07:00
9754e551cb
Fund vote accounts with 1 lamport only ( #4512 )
2019-06-03 14:48:01 -07:00
40a4ac15f1
Remove per transaction fee ( #4521 )
...
automerge
2019-06-03 13:00:08 -07:00
c56052ff16
remove from_account from stake_instruction ( #4502 )
2019-06-03 09:04:51 -07:00
482ef51502
register_tick() on the correct bank ( #4506 )
...
* skip syscall_id in hash and delta
* add more tests, skip syscalls
2019-06-03 09:04:26 -07:00
e4ca3900ae
Reduce default validators from 5 to 2
2019-06-02 22:58:59 -07:00
3574469052
Add random distribution for avalanche peers ( #4493 )
...
* Add random distribution for avalanche peers
* fix clippy warnings
* bug fixes
* nits
2019-06-01 07:55:43 -07:00
e15246746d
Enable non-zero fees for all testnets ( #4513 )
...
automerge
2019-05-31 22:33:55 -07:00
ec5cca41bc
Separate bootstrap leader's stake lamports from its identity lamports ( #4510 )
...
* Revert "Prevent run.sh from running beyond the first epoch under normal use (#4498 )"
This reverts commit d343c409e6
.
* Separate bootstrap leader's stake lamports from its identity lamports
2019-05-31 19:58:52 -07:00
bc1368ba3e
Make run.sh compatible with multinode-demo/validator.sh ( #4507 )
...
automerge
2019-05-31 16:51:09 -07:00
c0a161afe8
Enable fees in ci/localnet-sanity.sh ( #4508 )
...
automerge
2019-05-31 16:50:39 -07:00
d343c409e6
Prevent run.sh from running beyond the first epoch under normal use ( #4498 )
...
The local cluster that run.sh starts will typically only have a single
node, the bootstrap leader. With epoch warmup enabled, run.sh will fail
after ~90 seconds once the warmup period has been exceeded due to lack
of votes from other validators.
As a workaround, disable epoch warmup and set slots-per-epoch to 1
million to keep run.sh alive for more than a fortnight.
2019-05-31 15:42:32 -07:00
64e8a21d73
Add tick height syscall ( #4497 )
...
* Remove tick_height from entrypoint signature
* Impl tick_height syscall and use in storage program
* Properly remove tick height from bpf handling
2019-05-31 16:29:21 -06:00
ce04d2bfc2
Add replicator support to net/ ( #4494 )
2019-05-31 15:27:31 -07:00
1c1d83bd56
skip syscall_id in hash and delta ( #4500 )
...
* skip syscall_id in hash and delta
* add more tests, skip syscalls
2019-05-31 12:26:45 -07:00
028e111fbc
remove payer from vote instructions ( #4475 )
2019-05-31 11:45:17 -07:00
9670788bf5
Bump dirs from 1.0.5 to 2.0.1 ( #4490 )
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 1.0.5 to 2.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
2019-05-31 08:57:35 -07:00
d2f9625878
minor update
2019-05-31 07:36:59 -07:00
182096dc1a
Create bank snapshots ( #4244 )
...
* Revert "Revert "Create bank snapshots (#3671 )" (#4243 )"
This reverts commit 81fa69d347
.
* keep saved and unsaved copies of status cache
* fix format check
* bench for status cache serialize
* misc cleanup
* remove appendvec storage on purge
* fix accounts restore
* cleanup
* Pass snapshot path as args
* Fix clippy
2019-05-30 21:31:35 -07:00
2d284ba6db
Fix clear-config.sh
2019-05-30 15:31:41 -07:00
1de805e7cd
Add fees syscall to expose cluster fees into programs ( #4472 )
2019-05-30 15:18:48 -07:00
d642125f68
publish-crate fixups
2019-05-30 15:15:58 -07:00
b8aff218e2
Shutdown all services before bailing replicator init ( #4487 )
...
automerge
2019-05-30 14:36:47 -07:00
045d4d5294
Unignore test test_repairman_catchup ( #4484 )
2019-05-30 13:21:12 -07:00
d67dd8ce1f
Fix stable metrics dashboard for current channel use ( #4483 )
2019-05-30 13:16:26 -06:00
4d6679906b
Clean up crates.io publishing ( #4478 )
...
* Clean up crates.io publishing
* Cargo.lock
2019-05-30 11:53:41 -07:00
4537f54532
Break noop_program -> runtime dependency ( #4481 )
2019-05-30 11:20:49 -07:00
39b40dfff8
Remove runtime dependency on storage ( #4480 )
2019-05-30 10:54:28 -07:00
c82f4a1b6d
Unignore test_repairman_catchup
2019-05-29 21:59:41 -07:00
7a021dff05
Beautify Cargo.tomls with |cargo tomlfmt| ( #4477 )
2019-05-29 18:30:49 -07:00
348c2263ba
Remove genesis blockhash ( #4471 )
...
* Remove genesis blockhash
* Remove genesis blockhash from tests
* Fix golden
2019-05-29 17:29:02 -07:00
b5324063f1
Use thread pools for rayon par_iter ( #4473 )
...
* Use thread pools for rayon par_iter
* address review comments
* cleanup
2019-05-29 17:16:36 -07:00
6ed071c4dd
Fix storage stage operating on empty slots ( #4474 )
...
* Fix storage stage operating on empty slots
* Reduce fn argument count
* Fix tests
2019-05-29 15:01:20 -07:00
4404634b14
Coalesce packets better ( #4456 )
2019-05-29 12:17:50 -07:00
6a1de33138
tighten up packets_to_blobs ( #4464 )
...
* tighten up packets_to_blobs
* missed a test
2019-05-29 10:08:35 -07:00
c05c3e69ca
add tests and groom naming ( #4467 )
2019-05-29 10:08:03 -07:00
534244b322
Fix set_roots to use cached bank parents instead of searching blocktree ( #4466 )
2019-05-29 09:43:22 -07:00
335dfdc4d5
Fix Gossip skipping push for some values ( #4463 )
...
* Make gossip skip over values from Pruned nodes
* Add test and init blooms to contain the origin
2019-05-28 18:39:40 -07:00
a7ef409c2b
Drop influxcloud ( #4460 )
...
automerge
2019-05-28 16:26:59 -07:00
14594217db
undelete votestate etc ( #4457 )
2019-05-28 16:01:27 -07:00
c8a03c7b3d
Save RNG for generating random storage sampling offsets ( #4450 )
...
* Save RNG for generating random storage sampling offsets
* fix clippy
* fix stable-perf
* fix chacha
2019-05-28 14:14:46 -07:00
9fcd162412
update book with passive staking ( #4451 )
2019-05-28 14:02:04 -07:00
441fed7a5b
check freeze before updating slot_hashes ( #4448 )
...
* check freeze before updating slot_hashes
* fixup
2019-05-28 12:25:55 -07:00
ff31ffbd54
add more information to dropped vote warning ( #4449 )
...
* add more information to dropped vote warning
* fixup
2019-05-28 12:25:34 -07:00
0e26ee854b
Add test indicating need for credit-only account handling ( #4441 )
...
* Add test indicating need for credit-only account handling
* Add commented correct future test lines
2019-05-28 11:57:22 -04:00
5340800cea
Add some optimizing to ThinClient ( #4112 )
...
Can create a multi-socketed ThinClient which will use request time
from get_recent_blockhash to tune for the best node to talk to.
2019-05-27 20:54:44 -07:00
13c2e50b38
Bump sys-info from 0.5.6 to 0.5.7 ( #4445 )
...
automerge
2019-05-27 20:31:12 -07:00
dd39b2b056
Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it
2019-05-27 19:35:04 -07:00
65f89d6729
Bump logging level of validator procsesing errors ( #4442 )
2019-05-27 16:19:38 -07:00
1eceb4831d
Use nohup and sleep a little to improve stability when launching a node
2019-05-27 13:57:40 -07:00
50303c9ede
data_dir -> data-dir
2019-05-27 07:31:50 -07:00
ed6a438c51
v0.16.0
2019-05-26 19:42:15 -07:00
2adb98a4a0
Ignore flaky test_repairman_catchup ( #4439 )
...
automerge
2019-05-26 12:24:20 -07:00
471465a5f4
net/: Add solana-install test to sanity ( #4438 )
...
* Add instance creation date to motd
* Setup localtime
* Add solana-install test
2019-05-26 11:17:07 -07:00
942785b626
sdk/bpf/scripts/install.sh: Retry downloads on transient 403 S3 failures seen in CI ( #4436 )
...
* Avoid caching perf-libs in CI
* Retry downloads on transient 403 S3 failures seen in CI
2019-05-25 14:41:09 -07:00
aa3c00231a
Fix should_update check to update EpochSlots in gossip ( #4435 )
...
automerge
2019-05-25 06:44:40 -07:00
d772a27936
Plumb ClusterInfoRepairListener ( #4428 )
...
automerge
2019-05-24 19:20:09 -07:00
0302f13b97
add datapoint for corrupt vote_account ( #4424 )
2019-05-24 18:34:56 -07:00
16b25d0874
Clone with https for Travis/repo with submodules ( #4431 )
2019-05-24 21:18:31 -04:00
c2dcbee6af
cd within the subshell
2019-05-24 18:10:25 -07:00
1f71d05299
remove copying of forwarded packets ( #4425 )
...
automerge
2019-05-24 17:35:09 -07:00
bfa1c025fd
Add rust bpf allocator ( #4426 )
2019-05-24 16:21:42 -07:00
8611b40074
Add argument to net/net to specify number of nodes ( #4429 )
...
Allows for testing different node counts without recreating the network.
2019-05-24 16:20:14 -07:00
916844d399
Fix replicator account setup in fullnode.sh ( #4430 )
2019-05-24 15:40:49 -07:00
4c9b7c9d2b
Submit all incoming proofs as valid ( #4377 )
2019-05-24 14:49:10 -07:00
9843c3a5cb
Restrict transaction fee payers to system accounts ( #4198 )
...
automerge
2019-05-24 13:06:55 -07:00
f56955a17c
Use absolute path to env.sh
2019-05-24 12:27:12 -07:00
9784bbf154
Pay for storage transactions with a system account ( #4423 )
...
automerge
2019-05-24 11:04:05 -07:00
45642c4da1
Add path to env.sh
2019-05-24 09:56:07 -07:00
8eac199e8b
Include perf-libs in release tarball ( #4422 )
2019-05-24 09:28:52 -07:00
2e251ccc5c
De-fullnode variable names ( #4420 )
2019-05-24 04:31:39 -07:00
cf4bb70d80
Rename id to pubkey in cluster_info_repair_listener ( #4421 )
2019-05-24 04:31:32 -07:00
57f8a15b96
Fix issues in ClusterInfoRepairListener ( #4418 )
...
* Sort repairmen before shuffling so order is the same across all validators
* Reduce repair redundancy to 1 for now
* Fix local cache of roots so that 1) Timestamps are only updated to acknowledge a repair was sent 2) Roots are updated even when timestamps aren't updated to keep in sync with network
* Refactor code, add test
2019-05-24 00:47:51 -07:00
cfe5afd34c
_id => _pubkey variable renaming ( #4419 )
...
* wallet: rename *_account_id to *_account_pubkey
* s/from_id/from_pubkey/g
* s/node_id/node_pubkey/g
* s/stake_id/stake_pubkey/g
* s/voter_id/voter_pubkey/g
* s/vote_id/vote_pubkey/g
* s/delegate_id/delegate_pubkey/g
* s/account_id/account_pubkey/g
* s/to_id/to_pubkey/g
* s/my_id/my_pubkey/g
* cargo fmt
* s/staker_id/staker_pubkey/g
* s/mining_pool_id/mining_pool_pubkey/g
* s/leader_id/leader_pubkey/g
* cargo fmt
* s/funding_id/funding_pubkey/g
2019-05-23 23:20:04 -07:00
94beb4b8c2
More fullnode -> validator renaming ( #4414 )
...
* s/fullnode_config/validator_config/g
* s/FullnodeConfig/ValidatorConfig/g
* mv core/lib/fullnode.rs core/lib/validator.rs
* s/Fullnode/Validator/g
* Add replicator-x.sh
* Rename fullnode.md to validator.md
* cargo fmt
2019-05-23 22:05:16 -07:00
50207a30ef
Rename solana-fullnode to solana-validator redux ( #4417 )
2019-05-23 21:28:18 -07:00
35e8f966e3
add freeze_lock() and fix par_process_entries() failure to detect self conflict ( #4415 )
...
* add freeze_lock and fix par_process_entries failure to detect self conflict
* fixup
* fixup
2019-05-23 17:35:15 -07:00
943cd0a24a
Add credit-only info to AccountMetadata ( #4405 )
...
* Add credit-only flag to AccountMeta, default to false
* Sort keys by is_credit_only within signed/unsigned groupings
* Process and de-dupe program keys along with other account keys
* Add message helper functions
* Fix test
* Improve comment
* s/is_credit_only/is_debitable
* Add InstructionKeys helper struct, and simplify program_position method
2019-05-23 18:19:53 -04:00
0b892b2579
Reduce 100ms to 1ms. ( #4412 )
...
automerge
2019-05-23 15:15:26 -07:00
fb2eac20bb
Rename solana-fullnode to solana-validator ( #4411 )
2019-05-23 15:06:01 -07:00
b37d2fde3d
Add storage mining pool ( #4364 )
...
* Add storage mining pool
* Set gossip port
* Add create-storage-mining-pool-account wallet command
* Add claim-storage-reward wallet command
* Create storage account upfront
* Add storage program to genesis
* Use STORAGE_ACCOUNT_SPACE
* Fix tests
* Add wallet commands to create validator/replicator storage accounts
* Add create_validator_storage_account()
* Storage stage no longer implicitly creates a storage account
2019-05-23 14:50:23 -07:00
6b35e16676
Turn on real PoH in perf testnets ( #4407 )
...
* Turn on real PoH in perf testnets
* enable real PoH for all testnets except "testnet"
2019-05-23 13:22:52 -07:00
6a9e0bc593
Change EpochSlots to use BtreeSet so that serialization/deserialization returns the same order ( #4404 )
...
automerge
2019-05-23 03:50:41 -07:00
591fd72e0b
Implement listener for serving repairs through Repairman protocol ( #4306 )
...
* Make listener for serving repairs through Repairman protocol
2019-05-23 03:10:16 -07:00
2ed77b040a
create_genesis_block() now returns a struct ( #4403 )
2019-05-22 20:39:00 -07:00
7ada8510c4
add slot_hashes to bank, remove phony slot_hashes_from_vote_instruction ( #4401 )
2019-05-22 19:07:56 -07:00
b8f6c17dee
Don't filter transactions if we are buffering it locally ( #4395 )
...
automerge
2019-05-22 17:54:28 -07:00
2f976ae460
Dashboard update for real PoH performance ( #4397 )
2019-05-22 16:18:57 -07:00
36019cb1e3
Tweaks to real PoH based on perf testing ( #4396 )
...
* Some counters for real poh perf analysis
* more metrics
* Comment on CPU affinity change, and reduce hash batch size based on TPS perf
* review comments
2019-05-22 15:54:24 -07:00
99d2428041
Transaction format changes toward Credit-Only accounts ( #4386 )
...
* Add num_readonly_accounts slice
* Impl programs in account_keys
* Emulate current account-loading functionality using program-account_keys (breaks exchange_program_api tests)
* Fix test
* Add temporary exchange faucet id
* Update chacha golden
* Split num_credit_only_accounts into separate fields
* Improve readability
* Move message field constants into Message
* Add MessageHeader struct and fixup comments
2019-05-22 18:23:16 -04:00
c121498b5b
Check that Rust project exists ( #4393 )
2019-05-22 15:09:59 -07:00
eef2bdf690
Add CPU affinity for PoH service thread ( #4394 )
...
automerge
2019-05-22 14:21:43 -07:00
190656967d
Bump nix from 0.13.0 to 0.14.0 ( #4382 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.13.0...v0.14.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-22 14:07:35 -07:00
90e73515ed
Remove ls which is innacurate since we never clean up the logs ( #4392 )
...
automerge
2019-05-22 13:11:20 -07:00
1d7a758c97
Bump perf libs version to fix out buffer sizing ( #4385 )
2019-05-22 13:00:03 -07:00
e5b7aead12
Cargo watch ignores local metrics ( #4384 )
2019-05-22 00:08:18 -07:00
578c2ad3ea
add bank hash to votes ( #4381 )
2019-05-21 21:45:38 -07:00
de6838da78
change unwrap to expect where WSL sometimes aborts ( #4375 )
...
* change unwrap to expect where WSL sometimes aborts
* clippy
2019-05-21 21:34:51 -07:00
604071c5d8
Bump num-traits from 0.2.7 to 0.2.8 ( #4379 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-21 21:27:00 -07:00
41a377013f
fix spelling ( #4378 )
...
automerge
2019-05-21 17:13:21 -07:00
52d453d06f
Reduce broadcast prints ( #4368 )
2019-05-21 17:02:19 -07:00
58295b825d
introduce syscalls ( #4373 )
2019-05-21 15:19:41 -07:00
f6c7812fcc
Rename Broker to Swapper ( #4371 )
2019-05-21 14:21:41 -07:00
2f7561e4ee
Split SDK's BPF Rust-utils ( #4369 )
2019-05-21 13:39:27 -07:00
1cbd2372fc
Revert 4271 workaround ( #4367 )
...
* Revert "#4271 not reproducable, remove workaround (#4363 )"
This reverts commit ef0580bd3d
.
* Remove old comment
2019-05-21 11:53:53 -07:00
28f948aa7f
Multi rust projects ( #4362 )
2019-05-21 11:22:33 -07:00
c9ba9e4eb7
Add storage space constant ( #4366 )
...
automerge
2019-05-21 11:07:13 -07:00
f877fb8c8f
Don't print leader update message unless leader actually updates ( #4365 )
2019-05-21 11:06:56 -07:00
772ba41ede
Cargo.lock
2019-05-21 08:08:07 -07:00
6374e69a69
Add mining pool wallet commands ( #4360 )
...
automerge
2019-05-21 07:32:38 -07:00
ef0580bd3d
#4271 not reproducable, remove workaround ( #4363 )
2019-05-20 23:45:09 -07:00
1a77486f8e
Make RootedSlotsIterator for traversing slots on the root fork ( #4361 )
2019-05-20 23:09:00 -07:00
ead15d294e
add get_epoch_vote_accounts rpc ( #4317 )
...
* add get_epoch_vote_accounts rpc
* fixups
* documentation and type updates
2019-05-20 22:21:13 -07:00
1acfcf3acf
Fix storage-keypair
2019-05-20 19:54:37 -07:00
d15e248cdb
Add bootstrap storage account to genesis ( #4359 )
...
* Add bootstrap storage account to genesis
* Add storage account genesis command to run.sh
* Update airdrop for all validators
* Remove unhelpful Short for arg
* Set the correct program owner
2019-05-20 19:46:15 -07:00
f1e5edee14
Modify Roots Column To Support Multiple Roots ( #4321 )
...
* Fix 1) Roots column family to handle storing multiple slots, 2) Store all slots on the rooted path in the roots column family
2019-05-20 19:04:18 -07:00
7153abd483
Revert "Performance tweaks ( #4340 )" ( #4350 )
...
* Revert "Performance tweaks (#4340 )"
This reverts commit 55cee5742f
.
* Revert Rc change
2019-05-20 17:48:42 -07:00
90fb5d074d
Bump num-traits from 0.2.6 to 0.2.7 ( #4355 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.6...num-traits-0.2.7 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-20 16:35:14 -06:00
af82b0dce9
Fix sending root slots instead of current slot ( #4354 )
...
automerge
2019-05-20 15:01:55 -07:00
d4da2fbacd
fix bench warnings ( #4356 )
2019-05-20 14:32:23 -07:00
77efe95730
Order "install" correctly
2019-05-20 13:54:15 -07:00
86e03a6d1b
support issuing vote instructions from system account ( #4338 )
...
* issue vote instructions from system account
* fixup
* bring back KeypairUtil
2019-05-20 13:32:32 -07:00
114e2989fa
Improve PoH unit test asserts ( #4351 )
...
automerge
2019-05-20 13:02:44 -07:00
7024c73e9b
Revert banking threads increase which seems to be slower in testing. ( #4349 )
2019-05-20 11:42:37 -07:00
6d418aa3f1
Use rust_stable
2019-05-20 10:48:48 -07:00
f079a78c5e
Remove fee arg from system_transaction::* ( #4346 )
...
automerge
2019-05-20 10:03:19 -07:00
6365c4c061
Use cleanup ( #4347 )
2019-05-20 09:58:27 -07:00
55cee5742f
Performance tweaks ( #4340 )
...
* Use Rc to prevent clone of Packets
* Fix min => max in banking_stage threads.
Coalesce packet buffers better since a larger batch will
be faster through banking and sigverify.
Deconstruct batches into banking_stage from sigverify since
sigverify likes to accumulate batches but then a single banking_stage
thread will be stuck with a large batch. Maximize parallelism by
creating more chunks of work for banking_stage.
2019-05-20 09:15:00 -07:00
034eda4546
Fix a couple replicator nits ( #4345 )
...
automerge
2019-05-20 08:55:45 -07:00
44ff25d044
Update readme
...
* rustfmt no longer in preview
* since virtual manifest, cargo commands no longer require `--all`
2019-05-19 19:41:15 -06:00
a7e160e5c4
Add datapoint metrics to dashboard ( #4343 )
...
automerge
2019-05-19 15:07:03 -07:00
6283cc916d
Add SOLANA_METRICS_MAX_POINTS_PER_SECOND env var ( #4342 )
2019-05-19 13:56:52 -07:00
4b6aca6120
Bump tempfile from 3.0.7 to 3.0.8 ( #4341 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.7...v3.0.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-18 19:56:51 -07:00
20b2be6e0b
Enable real PoH on beta testnet as well
2019-05-18 19:45:00 -07:00
cbebc7a80c
Expand shortArgs correctly
2019-05-18 19:00:48 -07:00
06eb2364f2
Handle missed slots in storage stage ( #4337 )
...
* Handle missed slots in storage stage
* Fix test compile
* Make test use the new missed slot support
2019-05-18 15:24:50 -07:00
167890ca63
Set rust_version
2019-05-18 14:48:53 -07:00
392a39dd54
Poh subsystem cleanup, genesis plumbing, enable real PoH on edge testnet ( #4292 )
...
* Remove unused PohServiceConfig::Step
* Clarify variable name
* Poh::hash() now takes an iteration counter
* man -> max
* Inline functions with single call site
* Move PohServiceConfig into GenesisBlock
* Add plumbing to enable real PoH on testnets
* Batch hashes to improve PoH hash rate
* Ensure a constant hashes_per_tick
* Remove PohEntry mixin field
* Poh/PohEntry no longer maintains tick_height
* Ensure a constant hashes_per_tick
* ci/localnet-sanity.sh: Use real PoH
* Rework Poh/PohService to keep PohRecorder unlocked as much as possible while hashing
2019-05-18 14:01:36 -07:00
7e1a7862db
test_process_store_ok() now pays with a system account ( #4339 )
...
automerge
2019-05-17 20:17:50 -07:00
458ae3fdac
Switch to instances with AVX-512 if possible for better interop with dev machines ( #4328 )
...
automerge
2019-05-17 20:06:07 -07:00
431cc82032
add Transaction::partial_sign() ( #4333 )
...
* add partial sign
* nits
2019-05-17 18:55:57 -07:00
18c6729d6c
Bump tar from 0.4.25 to 0.4.26 ( #4330 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.25...0.4.26 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-17 17:46:12 -07:00
9476fe5ce3
Use log levels for datapoint metrics ( #4335 )
...
* Use log levels for datapoint metrics
* address review comments
* fix cyclomatic complexity
2019-05-17 17:34:05 -07:00
788290ad82
Rework Storage Program to accept multiple proofs per segment ( #4319 )
...
automerge
2019-05-17 14:52:54 -07:00
6b5bcfaa58
Bump libc from 0.2.54 to 0.2.55 ( #4324 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.54 to 0.2.55.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.54...0.2.55 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-17 13:24:12 -07:00
4ed0cded9c
Rm metrics docker even if not running ( #4329 )
2019-05-17 13:13:38 -07:00
035a364122
Add expect to get better errors on crash ( #4327 )
2019-05-17 12:49:41 -07:00
b114bc3674
Add benchmark for sigverify stage ( #4320 )
2019-05-17 11:09:42 -07:00
bc74ee7117
Common Rust-BPF utilities and types ( #4325 )
2019-05-17 11:04:29 -07:00
b2ce5dc9f5
Adjust log level for counter metrics ( #4323 )
2019-05-17 07:00:06 -07:00
e920191de0
Rate limit metrics per log level ( #4313 )
...
* Rate limit metrics per log level
* fix tests
2019-05-16 22:27:05 -07:00
39e85a3e53
kill some bs58 ( #4316 )
...
* kill some bs58
* fixup
2019-05-16 21:43:18 -07:00
41156da4ca
Sync run.sh with fd3f2cb
( #4322 )
...
automerge
2019-05-16 21:32:23 -07:00
9271ba0039
Cleanup Rust BPF program building ( #4318 )
2019-05-16 17:35:42 -07:00
b3e45fd6b7
Add erroring tx to unexpected validator error logging ( #4314 )
...
* Add tx logging to error
* Add tx logging to unexpected validator errors
2019-05-16 14:59:22 -07:00
7bfb60f82e
add impl FromStr for Signature ( #4315 )
...
automerge
2019-05-16 14:54:31 -07:00
359c50f1b3
cp -a includes -r ( #4312 )
2019-05-16 12:24:04 -07:00
fff1631a8b
Return a better error when a program account isn't found ( #4310 )
2019-05-16 11:32:27 -06:00
7d42ae30d9
Update Rust-BPF to 2018 Edition ( #4307 )
2019-05-16 09:12:33 -07:00
87414de3e2
switch over to passive stakes ( #4295 )
...
* add failing test
* switch over to passive stakes
* test multiple stakers
2019-05-16 08:23:31 -07:00
a0ffbf50a5
Correctly remove replicator from data plane after its done repairing ( #4301 )
...
* Correctly remove replicator from data plane after its done repairing
* Update discover to report nodes and replicators separately
* Fix print and condition to be spy
2019-05-16 07:14:58 -07:00
d40b66ff7b
Bump solana_rbpf from 0.1.10 to 0.1.11 ( #4304 )
...
Bumps [solana_rbpf](https://github.com/solana-labs/rbpf ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/solana-labs/rbpf/releases )
- [Commits](https://github.com/solana-labs/rbpf/commits/v0.1.11 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-16 01:07:10 -07:00
abd7f6b090
Change slot_meta_iterator() to return an iterator not a cursor ( #4303 )
...
automerge
2019-05-15 18:28:23 -07:00
d8735df1de
Update replicator to use cluster_info instead of cached client ( #4302 )
2019-05-15 18:14:04 -07:00
481853e1b1
Bump reqwest from 0.9.16 to 0.9.17 ( #4296 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.16 to 0.9.17.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.16...v0.9.17 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-15 16:02:17 -07:00
778bcbce50
Reduce log level for frequent log message and frequency for metrics datapoint ( #4300 )
...
automerge
2019-05-15 16:01:17 -07:00
fd3f2cb910
Add Storage accounts for all nodes ( #4298 )
...
* Setup storage keypairs for all nodes
* Clean up naming
* clippy
* Update arg value_names
2019-05-15 15:19:29 -07:00
915956b94b
Remove disable leader rotation option ( #4299 )
...
automerge
2019-05-15 15:16:45 -07:00
4576250342
Fix bug in storage processor and remove duplicate Constant ( #4294 )
...
* Fix bug in storage processor and remove duplicate Constant
* Add test
* Bump replicator timeout
2019-05-15 13:28:56 -07:00
2bef1b0433
Use rust-bpf-sysroot release branches ( #4293 )
2019-05-15 12:45:48 -07:00
628128b376
add passive staking to local_cluster ( #4285 )
...
* add passive staking to local_cluster
* add stake_program to genesis
* use equal stakes in local_cluster tests
2019-05-15 12:15:31 -07:00
916017ca2c
Fix repair for a range of slots ( #4286 )
...
* Fix repair for a range of slots
* Delete RepairInfo
2019-05-15 11:37:20 -07:00
3204a00e73
Update rust-bpf-sysroot to latest ( #4291 )
2019-05-15 09:53:44 -07:00
1d327a5167
Bump bincode from 1.1.3 to 1.1.4 ( #4290 )
...
Bumps [bincode](https://github.com/TyOverby/bincode ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/TyOverby/bincode/releases )
- [Commits](https://github.com/TyOverby/bincode/compare/v1.1.3...v1.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-15 09:47:55 -06:00
6e4f9cedf2
Fix Plum Tree link
2019-05-15 08:15:22 -07:00
a79fbbafc9
SlotMeta is incorrectly updated on insertion of erasure blobs ( #4289 )
...
* Fix put_coding_blob_bytes to properly update slotmetas and chaining
2019-05-15 00:28:31 -07:00
1d54d29076
Fix reading ledger for chacha encrypt ( #4288 )
2019-05-14 16:59:17 -07:00
10b9a4806b
Fix incorrect genesis blockhashes on restart ( #4287 )
2019-05-14 16:32:44 -07:00
0c1191c3ee
rework staking_utils ( #4283 )
2019-05-14 16:15:51 -07:00
18b386cd10
remove unused make_active_set_entries ( #4284 )
2019-05-14 15:08:49 -07:00
714b8c7fc8
Bump tokio from 0.1.18 to 0.1.20 ( #4280 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.18 to 0.1.20.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.18...tokio-0.1.20 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-14 15:30:56 -06:00
216e9a61a0
expose stake directly from bank ( #4281 )
2019-05-14 13:35:14 -07:00
0f498e6265
remove unused filter_zero_balance ( #4279 )
2019-05-14 10:44:29 -07:00
e8ad822111
get program names from programs ( #4273 )
...
* get program names from programs
* fixup
2019-05-14 10:44:16 -07:00
65a82ebf50
Fix broken tip ( #4278 )
...
automerge
2019-05-14 02:35:32 -07:00
727802684c
Use 20 bytes signature slice for cache purposes ( #4260 )
2019-05-13 22:53:10 -07:00
e20a8329d3
Add API to iterate over slot's blobs ( #4276 )
2019-05-13 22:04:54 -07:00
88c2d0fad4
Add genesis blockhash to replicators and blob filter for window ( #4275 )
...
* Add genesis blockhash to replicators and blob filter for window
* Fixes to mining submission and ledger download
* Add todo over sleep
* Update log
2019-05-13 21:19:51 -07:00
3bd921264a
Move EpochSchedule into own module ( #4272 )
2019-05-13 16:24:32 -07:00
7501ed65e5
Initialize and Update EpochSlots in RepairService ( #4255 )
...
* Initialize EpochSlots in RepairService
* Fix flaky test
2019-05-13 15:37:50 -07:00
2eaa64c4e8
valhashators -> validators
2019-05-13 15:29:23 -07:00
c9b86018c6
Filter out all unprocessed transactions before forwarding them ( #4266 )
...
* Filter out all unprocessed transactions before forwarding them
* fix clippy
2019-05-13 14:40:05 -07:00
a4fb01b42b
Add +x
2019-05-13 14:30:44 -07:00
0d2574f8f0
get DLL names from programs that made the DLL ( #4269 )
...
* get program names from programs
* fixup
2019-05-13 14:17:44 -07:00
796000e96f
Improve erasure metrics ( #4268 )
...
* Improve erasure metrics
* Simplify metrics submission
2019-05-13 16:04:43 -05:00
e2f00dc205
Cargo.toml implied ( #4270 )
...
automerge
2019-05-13 13:51:42 -07:00
5e91f8f59d
Update reported tx count to exclude errors ( #4201 )
2019-05-13 13:23:52 -07:00
e2830f5b0e
Add rate limit to metrics datapoint submission ( #4237 )
...
Cleanup
Raise limit on submission threshold
Pick nits and add metrics point
fmt
Fixup compiler warning
Cleanup if-else
Append new point to vec rather than submit
2019-05-13 14:17:25 -06:00
a2e3a92b01
Extend GetBlockHash RPC API to include the fee scehdule for using the returned blockhash ( #4222 )
2019-05-13 12:49:37 -07:00
23c696706b
add stake_accounts to banks' caches ( #4267 )
2019-05-13 12:33:23 -07:00
1393d26f63
Remove obsolete internal multinode-demo/ logging ( #4265 )
2019-05-13 10:51:18 -07:00
1b68da7572
Use solana-ed25519-dalek v0.2.0 ( #4264 )
...
automerge
2019-05-13 09:51:59 -07:00
8542006259
Config instructions now only require one key ( #4258 )
2019-05-12 22:47:12 -07:00
426d06b89b
Improve target/ cache logging
2019-05-12 22:16:23 -07:00
06378d6db6
Refine killNode logging
2019-05-12 21:21:31 -07:00
dccfe31e8c
Increase target cache size for coverage build
2019-05-12 21:21:31 -07:00
1dce5976cf
Disable node restart in localnet-sanity.sh
2019-05-12 21:21:31 -07:00
340d01665c
Avoid generating default keypair
2019-05-12 21:21:31 -07:00
50f79e495e
net/ improvements ( #4257 )
...
automerge
2019-05-11 22:54:50 -07:00
dd12db2f06
Correctly handle more zones than additional nodes
2019-05-11 14:47:27 -07:00
1afccb7351
Add more regions to the testnet
2019-05-11 14:12:13 -07:00
bfc65e829e
Use zone[0] for any left over nodes
2019-05-11 14:07:36 -07:00
eb4515525d
Bump ws from 0.8.0 to 0.8.1 ( #4251 )
...
Bumps [ws](https://github.com/housleyjk/ws-rs ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/housleyjk/ws-rs/releases )
- [Changelog](https://github.com/housleyjk/ws-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/housleyjk/ws-rs/compare/v0.8.0...v0.8.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-10 21:06:33 -07:00
55f5f6a033
Make links clickable
2019-05-10 19:49:45 -07:00
7ae421eaf6
Update release version in book ( #4254 )
2019-05-10 18:43:08 -06:00
e7da2c0931
Add validator registration link ( #4229 )
2019-05-10 15:14:03 -07:00
133be2df51
Check for transaction forwarding delay to detect an expired transaction before forwarding it ( #4249 )
...
Also refactored code for forwarding packets, and added test for it
2019-05-10 14:28:38 -07:00
06a93dcb43
Move to solana-ed25519-dalek ( #4248 )
2019-05-10 15:26:46 -06:00
ad7f04a245
Add genesis_blockhash to erasure blobs so they don't get filtered out by window_service ( #4247 )
2019-05-10 14:06:31 -07:00
0da6e1af14
Repair Design Proposal ( #3402 )
...
* Update information about existing repair protocol + new repairman proposal
2019-05-10 13:50:23 -07:00
576524f13b
Updates to storage proposal with more storage contract details ( #3373 )
2019-05-10 09:19:06 -07:00
f567877d1d
Cleanup metrics ( #4230 )
2019-05-10 08:33:58 -07:00
9881820444
RepairService saves db_iterator instead of reconstructing on every search ( #4242 )
2019-05-09 19:57:51 -07:00
ba8f49366d
passive staking 4 ( #4240 )
...
* support passive staking with wallet, use it
* fixups
* clippy
* cleanup app generation in wallet, finish fullnode.sh staking
* _id and _keypair => pubkey
use keygen, not wallet to get pubkey
* found 'em
2019-05-09 19:31:42 -07:00
81fa69d347
Revert "Create bank snapshots ( #3671 )" ( #4243 )
...
This reverts commit abf2b300da
.
2019-05-09 19:27:27 -07:00
abf2b300da
Create bank snapshots ( #3671 )
...
* Be able to create bank snapshots
* fix clippy
* load snapshot on start
* regenerate account index from the storage
* Remove rc feature dependency
* cleanup
* save snapshot for slot 0
2019-05-09 19:27:06 -07:00
a8254fd258
Clear stale ledger on fullnode startup if necessary ( #4238 )
2019-05-09 17:09:36 -07:00
b15848de3b
Bump tar from 0.4.24 to 0.4.25 ( #4239 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.24...0.4.25 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-09 17:07:31 -07:00
ab3c988146
API for getting first and last slots in epoch ( #4241 )
...
automerge
2019-05-09 16:06:57 -07:00
575a0e318b
Add newly completed slots signal to Blocktree ( #4225 )
...
* Add channel to blocktree for communicating when slots are completed
* Refactor RepairService options into a RepairStrategy
2019-05-09 14:10:04 -07:00
a031b09190
Add replicator support to multinode demo ( #4221 )
...
automerge
2019-05-09 13:43:39 -07:00
df43e721e3
Exit 1 on ledger verification failure
2019-05-09 12:05:51 -07:00
5f72650c7f
add derive Debug to Keypair ( #4236 )
2019-05-09 11:41:11 -07:00
5d0d467287
fix banking_stage benches ( #4231 )
2019-05-09 11:20:26 -07:00
994515d0f2
add impl PartialEq for Keypair ( #4233 )
...
* add-impl-PartialEq-for-Keypair
* clippy
* do the TODO, improve wrapper comments
2019-05-09 11:03:14 -07:00
1e949caa7f
Move airdrop retries fully out of bash ( #4234 )
...
automerge
2019-05-09 09:48:27 -07:00
f2b727b534
Update mint keypair filename
2019-05-09 07:27:13 -07:00
f7680752e7
make gen_keypair_file take &str ( #4232 )
...
automerge
2019-05-08 23:00:48 -07:00
da4c37beec
multinode-demo/ grooming ( #4226 )
...
* Rename leader to entrypoint
* The fullnode identity keypair can now be provided
* Rename _id to _keypair
2019-05-08 19:59:22 -07:00
d486d2b8ce
Consolidate default arg parsing ( #4224 )
...
automerge
2019-05-08 19:12:43 -07:00
bba94c43b9
Add BankForks to RepairService ( #4223 )
...
automerge
2019-05-08 18:51:43 -07:00
9cdffc7d64
Don't push empty vecs into the unprocessed buffers ( #4214 )
2019-05-08 17:58:07 -07:00
5a86f2506d
Remove unnecessary retrying ( #4219 )
2019-05-08 16:20:37 -07:00
518227eac0
add-rpc_client.get_account ( #4218 )
2019-05-08 15:50:23 -07:00
b8fd51e97d
Add new gossip structure for supporting repairs ( #4205 )
...
* Add Epoch Slots to gossip
* Add new gossip structure to support Repair
* remove unnecessary clones
* Setup dummy fast repair in repair_service
* PR comments
2019-05-08 13:50:32 -07:00
965c1e0000
staking plumbing part 3, 3.5 ( #4216 )
2019-05-08 12:56:11 -07:00
a80176496d
add /target/ to .gitignore files for all crates ( #4217 )
...
* add /target/ to .gitignore files for all crates
* shellcheck
2019-05-08 12:15:05 -07:00
5719b8f251
Change remote node's ssh config to allow more login retries ( #4215 )
...
automerge
2019-05-08 11:20:06 -07:00
1a2b131ceb
Don't forward transactions that are expired or failed signature check ( #4199 )
2019-05-08 10:32:25 -07:00
349306ddf7
Bump proc-macro2 from 0.4.27 to 0.4.29 ( #4180 )
...
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2 ) from 0.4.27 to 0.4.29.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases )
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/0.4.27...0.4.29 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-08 09:03:30 -07:00
791ee411a5
Add root to bank forks ( #4206 )
2019-05-07 23:34:10 -07:00
f690c64375
Disable solana-upload-perf until performance can be debugged ( #4210 )
2019-05-07 23:02:09 -07:00
427963f554
Core depends on vote and budget program directly ( #4204 )
2019-05-07 22:41:47 -07:00
b0f2220ef6
Fix solana-upload-perf log folding. Upload bench output too ( #4208 )
2019-05-07 22:30:42 -07:00
908b48bf0e
Increase test-stable build timeout
2019-05-07 22:23:43 -07:00
b49f8c0984
reduce replicode, introduce passive staking support ( #4207 )
2019-05-07 22:22:43 -07:00
7609a007c6
Add FeeCalculator to the genesis block ( #4196 )
2019-05-07 20:28:41 -07:00
674a49f8d7
Bump serde_derive from 1.0.90 to 1.0.91 ( #4172 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.90...v1.0.91 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 20:05:41 -07:00
d10bde656a
Pass payer key into get_keys() ( #4203 )
2019-05-07 18:48:31 -07:00
401764ddb1
add create_delegate_stake_account ( #4197 )
2019-05-07 17:08:49 -07:00
69eeb7cf08
Fix parent record locks usage in child banks ( #4159 )
...
* Introduce record locks on txs that will be recorded
* Add tests for LockedAccountsResults
* Fix broken bench
* Exit process_entries on detecting conflicting locks within same entry
2019-05-07 15:51:35 -07:00
55e3b7d380
Storage transactions are now paid for by a system account ( #4193 )
...
* Pay program loading fees from a system account
* Pay transaction fees from a system account
2019-05-07 15:01:10 -07:00
d9e18a71ec
Pay program loading fees from a system account ( #4190 )
2019-05-07 15:00:54 -07:00
2107e15bd3
Reduce Avalanche redundancy and implement traditional fanout ( #4174 )
...
* Reduce Avalanche redundancy and implement traditional fanout
* Revert tiny fanout
* Update diagrams and docs based on review comments
2019-05-07 13:24:58 -07:00
4f3b22d04e
Minor code restyling, no functional changes
2019-05-07 12:35:29 -07:00
2c78a93001
GenesisBlock::new(X) => create_genesis_block(X)
2019-05-07 12:34:17 -07:00
2621aeee82
Set default wallet rpc port correctly
2019-05-07 11:37:51 -07:00
8e400fc4bd
rework genesis (passive staking groundwork) ( #4187 )
...
* rework genesis
* fixup
2019-05-07 11:16:22 -07:00
29c2a63c8b
Retry transactions that failed due to account lock ( #4184 )
...
* added test
2019-05-07 10:23:02 -07:00
736ada4e21
Bump dtoa from 0.4.3 to 0.4.4 ( #4178 )
...
Bumps [dtoa](https://github.com/dtolnay/dtoa ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/dtolnay/dtoa/releases )
- [Commits](https://github.com/dtolnay/dtoa/compare/0.4.3...0.4.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:31:57 -07:00
3df9b44d4c
Bump nom from 4.2.2 to 4.2.3 ( #4182 )
...
Bumps [nom](https://github.com/Geal/nom ) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Geal/nom/releases )
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Geal/nom/compare/4.2.2...4.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:31:48 -07:00
7225b89142
Bump globset from 0.4.2 to 0.4.3 ( #4176 )
...
Bumps [globset](https://github.com/BurntSushi/ripgrep ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases )
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.2...globset-0.4.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:15:34 -07:00
0cc0d3ab7a
Bump socket2 from 0.3.8 to 0.3.9 ( #4186 )
...
Bumps [socket2](https://github.com/alexcrichton/socket2-rs ) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/alexcrichton/socket2-rs/releases )
- [Commits](https://github.com/alexcrichton/socket2-rs/compare/0.3.8...0.3.9 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:15:04 -07:00
88d9618788
Bump futures from 0.1.25 to 0.1.26 ( #4179 )
...
Bumps [futures](https://github.com/rust-lang-nursery/futures-rs ) from 0.1.25 to 0.1.26.
- [Release notes](https://github.com/rust-lang-nursery/futures-rs/releases )
- [Changelog](https://github.com/rust-lang-nursery/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/futures-rs/compare/0.1.25...0.1.26 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:14:48 -07:00
57038529e0
Bump hex-literal from 0.1.4 to 0.2.0 ( #4185 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.1.4 to 0.2.0.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.4...hex-literal-v0.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-07 07:14:16 -07:00
5c25eae631
Bump tokio-sync from 0.1.4 to 0.1.5 ( #4177 )
...
Bumps [tokio-sync](https://github.com/tokio-rs/tokio ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-sync-0.1.4...tokio-sync-0.1.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-06 22:06:09 -07:00
b8b4d33f72
Bump h2 from 0.1.17 to 0.1.18 ( #4175 )
...
Bumps [h2](https://github.com/carllerche/h2 ) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/carllerche/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/carllerche/h2/compare/v0.1.17...v0.1.18 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-06 21:42:22 -07:00
673a9417ef
Bump serde from 1.0.90 to 1.0.91 ( #4171 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.90...v1.0.91 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-06 21:41:30 -07:00
3fd9aada8b
Add missing modules to workspace ( #4183 )
2019-05-06 22:40:54 -06:00
453fdb9e28
Add support for local metric collection/viewing ( #4170 )
2019-05-06 16:44:06 -07:00
3f6a79b078
Add a validator node proposal ( #3035 )
...
automerge
2019-05-06 13:41:28 -07:00
e9f80e5542
Don't use default ticks per slot in calculating next slot leader ( #4169 )
2019-05-06 11:23:06 -07:00
694d28acf8
remove some boilerplate ( #4143 )
2019-05-06 10:11:18 -07:00
88fdba5aca
Temp: bump test-bench timeout
2019-05-06 10:00:00 -07:00
a19df7a36c
Add type annotations for external crates ( #4125 )
2019-05-06 10:11:50 -06:00
9b50583641
wallet: add --url, remove --host/--rpc-host/--rpc-port/-rpc-tls ( #4153 )
...
Also by default the wallet now talks to testnet.solana.com instead of
localhost
2019-05-06 07:38:26 -07:00
71f9b44687
Add Confirmations parameter to RPC Subscriptions ( #4154 )
...
* Add optional depth parameter to pubsub, and store in subscriptions
* Pass bank_forks into rpc_subscription; add method to check depth before notify and impl for account subscriptions
* Impl check-depth for signature subscriptions
* Impl check-depth for program subscriptions
* Plumb fork id through accounts
* Use fork id and root to prevent repeated account notifications; also s/Depth/Confirmations
* Write tests in terms of bank_forks
* Fixup accounts tests
* Add pubsub-confirmations tests
* Update pubsub documentation
2019-05-06 08:31:50 -06:00
0139e5db21
Correct blockstreamer node args
2019-05-04 08:22:36 -07:00
586fb15c2c
fullnode positional arguments may now be mixed with optional arguments ( #4151 )
2019-05-03 20:49:24 -07:00
297328ff9a
Fix improper tick sleeping time in test ( #4155 )
...
automerge
2019-05-03 20:15:10 -07:00
6b3384c205
Bump serde_yaml from 0.8.8 to 0.8.9 ( #4127 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.8 to 0.8.9.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.8...0.8.9 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-03 19:45:09 -07:00
3ef961fe37
Record poh ticks even when the node is not in leader schedule ( #4148 )
...
* remove obsolete test
2019-05-03 16:41:19 -07:00
a7b695c27a
Change replicators to slot-based ( #4118 )
2019-05-03 16:27:53 -07:00
5bb75a5894
Fix roots never being purged ( #4134 )
2019-05-03 15:17:37 -07:00
f3f416b7ba
Rename --network argument to --entrypoint ( #4149 )
2019-05-03 15:00:19 -07:00
31b74bdf0b
Display release date in the local timezone ( #4144 )
2019-05-03 14:54:25 -07:00
ed48d8323c
Reduce locking in Blocktree ( #4075 )
...
* Reduce lock contention in blocktree
* Store root slot in separate column
2019-05-03 16:46:02 -05:00
f91627a230
Remove extra-fullnode-args.sh ( #4142 )
2019-05-03 13:32:59 -07:00
f9c093022c
multinode-demo/: Merge bootstrap-leader.sh into fullnode.sh ( #4139 )
2019-05-03 12:33:48 -07:00
7fe3c75c6b
Add a node-specific ip echo service to remove dependency on ifconfig.co ( #4137 )
2019-05-03 11:01:35 -07:00
c8ed41167a
Factor tune_system() out of multinode-demo/ ( #4138 )
...
* Remove x bit from ulimit-n.sh
* Factor tune_system() out of multinode-demo/
2019-05-03 10:40:02 -07:00
5b2a82a951
Fix validator confirmation graph y axis scale ( #4136 )
2019-05-02 19:51:56 -07:00
441e76ebeb
Index buffered transactions at the correct offset ( #4126 )
...
* tests
2019-05-02 19:05:53 -07:00
c2dfb9900e
Revert "Change forwarded metrics to be in line with fetch stage metrics ( #4068 )" ( #4135 )
...
automerge
2019-05-02 17:36:19 -07:00
916458e132
Change erasure set size to 8:8 ( #4129 )
...
* Change erasure set size to 8:8
* Change tests to be agnostic to exact set size and ratio
* Add convenience methods for setting presence
2019-05-02 19:04:40 -05:00
ffb15578ce
remove cargo install cargo-audit from CI ( #4123 )
2019-05-02 15:35:47 -07:00
abcbbb925f
push latest, too ( #4131 )
2019-05-02 15:33:08 -07:00
059755fe59
install mdbook and svgbob_cli ( #4128 )
2019-05-02 15:32:31 -07:00
ae12dc2c75
Add specs to testnet participation guide ( #4078 )
2019-05-02 15:21:05 -07:00
37b5c6afaa
install cargo audit ( #4122 )
2019-05-02 13:16:21 -07:00
92ed7b36a2
Bump libc from 0.2.53 to 0.2.54 ( #4124 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.53 to 0.2.54.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.53...0.2.54 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-02 13:11:29 -06:00
379d2e6d95
add support for single-crate coverage to help iterate, update to latest grcov ( #4085 )
...
* add support for single-crate coverage to help iterate, update to latest grcov
* shellcheck
* fixup
* remove unused
* install grcov before setting RUSTFLAGS ;)
* rely on nightly having grcov installed
2019-05-01 23:33:28 -07:00
7f75cc8906
update nightly to 2019-05-01 ( #4111 )
...
* update nightly to 2019-05-01
* cargo fmt
* cargo fmt
* increase bench timeout
2019-05-01 20:08:42 -07:00
1ab5098576
Move get_clients into gossip_service ( #4109 )
2019-05-01 17:14:01 -07:00
598f765960
Fix net.sh for running on macos ( #4107 )
...
automerge
2019-05-01 16:03:35 -07:00
aac626c2c2
Add sample_txs function to perf_utils shared crate ( #4104 )
...
Shared code between bench-tps and bench-exchange
2019-05-01 15:58:35 -07:00
3eec3cfac2
Cleanup banking stage in lieu of recent transaction forwarding changes ( #4101 )
2019-05-01 15:13:10 -07:00
5eee9e62e5
Add swapper back-off ( #4088 )
...
* Add swapper back-off
* Reset back-off if bench-exchange suspects back-log
* nudge
* nudge
2019-05-01 14:29:57 -07:00
a7d18125d3
install grcov ( #4097 )
2019-05-01 14:27:17 -07:00
8202310073
Minor update to gossip spy command ( #4103 )
2019-05-01 14:25:26 -07:00
1e2ba110eb
Bump reqwest from 0.9.15 to 0.9.16 ( #4089 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.15 to 0.9.16.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.15...v0.9.16 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-01 14:24:59 -06:00
62c9b7d850
Fix and un-ignore bench-tps local_cluster test ( #4019 )
...
* un-ignore bench-tps local_cluster test
And add bench_tps_fund_keys test.
* Unify generate_and_airdrop logic for tests
2019-05-01 13:21:45 -07:00
4f18fc836f
Forward transactions to the next slot leader ( #4092 )
...
- this ensures that transactions will reach in time for the next node to process them
2019-05-01 11:37:29 -07:00
950d8494ba
earlyoom: Stop using unsupported -k option ( #4096 )
...
automerge
2019-05-01 11:29:02 -07:00
cb528af4e2
fix accounts_db storage.reset() ( #4094 )
...
* fix accounts_db storage.reset()
* fix compilation errors, remove unused, fix test_accounts_grow() failure
2019-05-01 09:27:13 -07:00
ad27c30623
Cleanup bench-exchange messages ( #4093 )
2019-04-30 23:09:33 -07:00
9add8d0afc
Add alternative to Spy Nodes that can fully participate in Gossip ( #4087 )
...
automerge
2019-04-30 16:42:56 -07:00
af2e7ea285
Add 1 decimal to validator confirmation ( #4084 )
2019-04-30 16:37:03 -07:00
675a78aaa1
get vote_instruction off bank for tests ( #4086 )
...
* get vote_instruction off bank for tests
* clippy
2019-04-30 15:11:08 -07:00
408bdbce7a
Add non_default_stream parameter to cuda_verify ( #4079 )
2019-04-30 13:34:46 -07:00
1a259d4a3f
Prevent Requests/Caching of leader schedules for epochs beyond confirmed roots ( #4033 )
...
automerge
2019-04-30 13:23:21 -07:00
c5f8b4960c
Stop nodes in parallel
2019-04-30 10:42:59 -07:00
21f845ed39
Use more -w
2019-04-30 09:57:14 -07:00
7a369df9a7
Add flag to skip slow extras when deploying a large testnet
2019-04-30 09:26:50 -07:00
f02ec31c68
Flip if/else
2019-04-30 08:56:53 -07:00
d21fa4a177
v0.14: various net/ fixes for large clusters ( #4080 )
...
* net.sh: Add -F to discard validator nodes that didn't bootup successfully
* Relax sanity node count when validator bootup failure is permitted
* Less sanity for testnet-demo
* net.sh: Add -F to discard validator nodes that didn't bootup successfully
2019-04-29 21:38:32 -07:00
bd0871cbe7
Update release doc to include testnet update instuctions ( #4066 )
...
* Update release doc to include testnet update instuctions
* Fixup headers and pick nits
* Remove outdated testnet behavior
2019-04-29 19:40:18 -06:00
2604f8ac0a
Move implemented functionality into the Implemented Proposals section ( #4057 )
2019-04-29 17:29:41 -06:00
a7574f8657
Cleanup metrics dashboard ( #4072 )
2019-04-29 15:52:04 -07:00
73f250f03a
Make minimum warmup period 32 slots long ( #4031 )
...
* Make minimum warmup period 32 slots long
* PR fixes
2019-04-29 15:26:52 -07:00
bae0aadafa
Remove Bench Exchange Contract Execution graph
2019-04-29 14:29:54 -07:00
5524146ddf
push down noop's messages ( #4069 )
...
automerge
2019-04-29 14:10:36 -07:00
3b2adbc9df
Change forwarded metrics to be in line with fetch stage metrics ( #4068 )
...
automerge
2019-04-29 13:50:14 -07:00
4e41c81bc7
Fix the output from Gossip Discovery ( #4067 )
...
automerge
2019-04-29 13:19:24 -07:00
c545e812d0
Expand bank benches to include async/sync and native_loader ( #4026 )
2019-04-29 13:09:11 -07:00
c2193a37ce
cleanup unused function ( #4064 )
2019-04-29 12:45:14 -07:00
fabba82173
ignore non-descendants of roots in blocktree ( #4032 )
2019-04-29 12:29:14 -07:00
c3ec5ad846
testnet-demo: use more low quota nodes
2019-04-29 12:18:39 -07:00
c4945cc04a
Bump tar from 0.4.23 to 0.4.24 ( #4060 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.23 to 0.4.24.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.23...0.4.24 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-29 10:34:30 -06:00
e2e55f81d0
Increase testnet-demo node count a little
2019-04-29 09:09:55 -07:00
d862565b16
Move Transact proposal to implemented ( #4055 )
...
And update names to reflect what was implemented.
2019-04-29 09:13:39 -06:00
0cc3956693
testnet-demo now runs across more GCE zones ( #4053 )
...
* testnet-demo now runs across more GCE zones
* Save zone info to config file
* Add geoip whitelist for common data centers
* Skip more of start
* Include -x for config
* Fetch private key from first validator node if necessary
* Correct -r propagation
2019-04-28 19:50:52 -07:00
4e5677f116
Sample random trade_infos for success ( #4043 )
...
Just looking at a single trade_info which may or may not succeed
can fail often.
2019-04-28 11:00:16 -07:00
acba1d6f9e
Roots are added out of order to the accounts index ( #4051 )
...
* fix root race
* assert root order
* fixup! assert root order
* last root test
* update
* fix tests
2019-04-28 10:27:37 -07:00
3e14af5033
bast bank ancestor check ( #4050 )
2019-04-28 10:27:09 -07:00
6f56501034
Correctly terminate instances across multiple zones
2019-04-28 09:09:02 -07:00
0b7269b64e
Switch testnet-demo to influxcloud
2019-04-27 22:12:50 -07:00
457a2d948b
Correct us-central1-b zone name
2019-04-27 21:43:18 -07:00
528bdf34fd
testnet-demo: skip over validator nodes that fail to boot
2019-04-27 21:34:23 -07:00
697cd17b59
Use GPU nodes for blockstreamer as well if rest of testnet has GPUs ( #4046 )
...
- The blockstreamer crashes otherwise, as sigverify() looks for CUDA libs
2019-04-27 20:45:38 -07:00
13fcfcb964
Blockstreamer annotation fix for non buildkite deployments ( #4045 )
2019-04-27 20:37:36 -07:00
9c1fd55768
testnet-demo: add more GCE zones, remove client
2019-04-27 16:52:09 -07:00
7f9a476660
Performance metrics computation methodology ( #4041 )
2019-04-27 16:37:51 -07:00
b07290df81
Add usage to net.sh when it encounters an invalid argument ( #4042 )
...
automerge
2019-04-27 16:12:13 -07:00
4b599a95b3
Bump libc from 0.2.51 to 0.2.53 ( #4009 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.51 to 0.2.53.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.51...0.2.53 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-27 14:04:23 -06:00
64222cfff7
update lock file for 0.15 ( #4039 )
...
automerge
2019-04-27 11:43:12 -07:00
e81d434903
Add DNS resolution for network/drone arguments ( #4038 )
...
automerge
2019-04-27 10:06:58 -07:00
bf0dd158de
Avoid inaccurate PATH nagging ( #4034 )
...
automerge
2019-04-27 09:11:02 -07:00
18e398131d
Fix issues with bench-tps ( #4005 )
2019-04-27 08:39:29 -07:00
4a5837a286
Add "
2019-04-27 07:41:21 -07:00
656e2649a7
v0.15.0
2019-04-27 07:38:46 -07:00
d36af917ea
Swap testnet-beta and testnet configuration
2019-04-26 23:24:35 -07:00
c81733b41a
Add testnet-demo configuration
2019-04-26 22:59:26 -07:00
b6558a2ef3
Remove created lockfile
2019-04-26 21:36:20 -07:00
634d8e25ee
testnet-deploy.sh updates
2019-04-26 21:29:42 -07:00
fea212e64e
Initialize stopNetwork var
2019-04-26 21:10:36 -07:00
e3ab76f1a7
Pin recommended release version ( #4021 )
2019-04-26 21:10:31 -07:00
87f1bd58b9
Reduce submit frequency of counters that are very frequent and killing metrics DB ( #4027 )
2019-04-26 20:37:40 -07:00
a056c1f18f
Don't send packets when msgs len is 0 ( #4030 )
...
And don't send metrics every iteration.
2019-04-26 17:27:31 -07:00
8b34fd2c75
Fix warnings on nightly ( #4028 )
2019-04-26 16:25:13 -07:00
b912ee7fdf
Nit: Spelling ( #4025 )
2019-04-26 16:02:37 -07:00
3cf708f019
nit: remove copyposta ( #4024 )
2019-04-26 16:02:13 -07:00
070e0e9613
Skip *de*serializing too
2019-04-26 14:43:07 -07:00
3e678511d2
Add enable/disable key value pairs into the steps block ( #4018 )
2019-04-26 14:26:05 -06:00
4ce2105548
Switch from a S3 URL to release.solana.com for release assets ( #4017 )
...
automerge
2019-04-26 13:06:55 -07:00
721c6a7e2d
Update metrics dashboard ( #4012 )
...
automerge
2019-04-26 10:32:49 -07:00
08f0fb1e14
Implement working lockfile for testnet lockout ( #4013 )
2019-04-26 11:22:23 -06:00
f5f5281f85
Add on-demand functionality to all testnets ( #4003 )
...
* Add on-demand functionality to all testnets
2019-04-26 10:02:23 -06:00
1684a7bd18
Move validators from testnet-beta to testnet ( #4011 )
...
* Move validators from testnet-beta to testnet
* Move testnet influxdb datasource to influxcloud
2019-04-26 09:02:12 -07:00
8b1724bb70
Serialize blocktree writes by locking the database ( #4008 )
...
Move several private methods to free functions
2019-04-26 10:52:10 -05:00
eebdfe8d73
wait for network recovery after restart ( #4000 )
2019-04-26 07:30:52 -07:00
82776b333d
Merge the "cloud" grafana dashboard into the normal dashboard ( #4007 )
...
automerge
2019-04-25 21:14:36 -07:00
e71ab55288
Rename in-tree program_ids to be base-58 human readable ( #4001 )
2019-04-25 17:58:49 -07:00
fd60ef8a8d
Allow metrics rate to differ from log rate ( #3993 )
...
And reduce metrics rate for exchange contract counters.
Since we can go 10s-100s thousands of contracts per second,
some metrics would be dropped if submitting every time.
2019-04-25 16:58:49 -07:00
aa0b67c93c
Use newer blockhash for recent_confirmed_blockhash api ( #3995 )
...
Oldest blockhash is sometimes too old and does not allow
for transactions to go through.
2019-04-25 16:57:25 -07:00
15aa07f2a0
Fix node count metrics ( #3997 )
...
- the count was truncated to avalanche neighborhood size
2019-04-25 13:47:38 -07:00
e4536621df
Log all uncommittable errors on validator ( #3999 )
2019-04-25 13:37:30 -07:00
a3c302c36a
Add signature polling to SyncClient ( #3996 )
...
automerge
2019-04-25 12:46:40 -07:00
d12705f9b0
Remove wait loops in non-GPU instance creation and add SSD option as default disk type ( #3992 )
2019-04-25 13:43:42 -06:00
0add5c1dc8
Move testnet buildkite env variables back into the tree ( #3989 )
2019-04-25 11:44:58 -07:00
a9e63455a1
Get blockhash every batch and don't wait for tx threads ( #3994 )
...
* Get blockhash every batch and don't wait for tx threads
* nudge
2019-04-25 11:20:08 -07:00
4dc0495a1b
Fix tar version check
2019-04-25 11:16:49 -07:00
5a79676b8a
Custom error decoder ( #3783 )
...
automerge
2019-04-25 10:29:44 -07:00
b67b0bff05
Do not enable rpc exit on the blockstreamer node ( #3977 )
2019-04-25 09:30:59 -07:00
4c200635b7
Shuffle initial mention of solana-gossip ( #3991 )
...
automerge
2019-04-25 09:30:30 -07:00
b98200aca4
Use rm -rf ( #3990 )
2019-04-25 08:58:34 -07:00
d59c1cd412
Expose Rpc methods to rpc_request ( #3988 )
...
* Add new rpc methods to rpc-request
* A-Z
2019-04-25 08:52:53 -06:00
c4d9dff590
Cherry-pick #3934 ( #3982 )
...
* Fix inserting bogus is_last blobs into blocktree
* Check for pre-existing blob before insert
* Ignore test that performs concurrent writes on blocktree as that is not supported
2019-04-25 00:04:49 -07:00
cf91ff8694
Remove Thin Client from storage stage ( #3976 )
...
automerge
2019-04-24 22:34:10 -07:00
e867ce0944
Find unique zones and delete nodes in each zone ( #3978 )
2019-04-24 17:50:42 -07:00
29a25990d3
Add provision in testnet scripts to ignore validator nodes that failed to bootup ( #3972 )
...
* Skip writing to config file if the node didn't bootup
* Detect dead nodes quicker
2019-04-24 16:23:26 -07:00
9a40ad76bd
Fix race in erasure metadata tracking ( #3962 )
...
* Fix erasure metadata race condition
* make erasure return the underlying error without wrapping it in the `solana::Error` type
* Add metric for erasure failures
* add tests to `ErasureMeta` indexing logic
* Add test to ensure erasure recovery failures don't cause panics
2019-04-24 17:53:01 -05:00
54b44977e0
Lower test time ( #3967 )
2019-04-24 12:19:31 -07:00
9c7ccc0e2b
More metrics to track memory usage ( #3966 )
...
automerge
2019-04-24 11:11:30 -07:00
7710ef8b2b
Bump num-derive from 0.2.4 to 0.2.5 ( #3960 )
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.2.4...num-derive-0.2.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-24 11:50:26 -06:00
c969975fde
lockfree storage ( #3963 )
2019-04-24 11:51:57 -05:00
3eed6a6090
Annotate testnet buildkite logs with blockexplorer URL ( #3964 )
...
automerge
2019-04-24 08:09:37 -07:00
1661a7a55f
Correct variable name
2019-04-24 07:39:29 -07:00
6293d324db
Spellnig
2019-04-24 07:39:29 -07:00
c1ecfec3b0
Bump stable build timeout
2019-04-23 20:29:14 -07:00
05b4dbf148
Document an alternative mechanism to locate the validator's vote id
2019-04-23 19:35:20 -07:00
4efada6d84
Update keygen.rs
2019-04-23 19:24:42 -07:00
23c01473a0
Use cache for dll symbols ( #3950 )
...
Speeds up loaded programs.
2019-04-23 17:25:03 -07:00
f2e2106f62
Bench exchange tweaks ( #3957 )
2019-04-23 16:48:17 -07:00
0cbac26591
Add genesis blockhash to blobs ( #3953 )
2019-04-23 16:24:44 -07:00
4e7e5ace9d
Add support for Azure instances in testnet creation ( #3905 )
...
* Add support for Azure instances in testnet creation
* Fixup
* Fix shellcheck errors
* More shellcheck and cleanup node creation and deletion
* More shellcheck and cleanup node creation and deletion
* Fixup instance wait API
* Fix revieew comments and add GPU installation extension
2019-04-23 16:41:45 -06:00
ab11327e34
Fix mismatch between leader/validator bank votability ( #3942 )
...
* Fix mismatch between leader/validator bank votability
2019-04-23 15:32:19 -07:00
3ba93aa8fe
Facility to pass extra arguments to bench clients from net.sh command ( #3952 )
...
automerge
2019-04-23 15:13:29 -07:00
c309cd80aa
Add getClusterNodes/getSlotLeader JSON RPC API ( #3940 )
...
* Minor cleanup
* Include _this_ node in the contact info trace
* Add getClusterNodes/getSlotLeader RPC API
2019-04-23 14:46:41 -07:00
d22a1c9b1f
Use smaller batch size in sigverify stage if CUDA is not available ( #3951 )
2019-04-23 12:41:50 -07:00
29698fcd38
Cleanup stragglers from move-to-transfer rename ( #3947 )
2019-04-23 13:30:42 -06:00
7372ec9e1a
Use poh would_be_leader check in banking stage to hold or forward txs ( #3948 )
2019-04-23 11:56:30 -07:00
840a64ee8b
Optimize exchange contract ( #3926 )
2019-04-23 11:39:53 -07:00
524bc2b9a6
Bump hashbrown from 0.2.2 to 0.3.0 ( #3931 )
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/Amanieu/hashbrown/releases )
- [Changelog](https://github.com/Amanieu/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/hashbrown/compare/v0.2.2...v0.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-23 10:15:33 -07:00
62a29a41d1
Bump tar from 0.4.22 to 0.4.23 ( #3944 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.22...0.4.23 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-23 10:15:12 -07:00
5406d82d89
fix race in get_exclusive_storage() and load() ( #3941 )
...
* Revert "Revert "account storage is not in sync with the index after gc (#3914 )" (#3936 )"
This reverts commit 4f47fc00bc
.
* fix get_exclusive_storage
* clippy
2019-04-23 09:56:36 -07:00
de6af95061
Process forwarded packets only when the node is about to be the leader ( #3935 )
...
* Tests and metrics
2019-04-22 19:49:32 -07:00
43f7cd8149
Fix Retransmit slamming the leader with its own blobs ( #3938 )
2019-04-22 18:41:01 -07:00
69e67d06a7
Default to Docker based testnet deployment on unsupported Ubuntu versions ( #3937 )
...
* Run docker if Ubuntu version is unsupported
* ShellCheck fixes
2019-04-22 18:22:43 -07:00
4f47fc00bc
Revert "account storage is not in sync with the index after gc ( #3914 )" ( #3936 )
...
This reverts commit 101d6b92ee
.
2019-04-22 17:14:41 -07:00
4b04c37c36
verify that blobs match a known leader for the slot ( #3927 )
...
* validate that blobs match a known leader for the slot
* clippy
2019-04-22 15:21:10 -07:00
b27b515186
Add more dashboard text to metrics readme ( #3925 )
2019-04-22 14:55:19 -07:00
05bcb7f292
Add stop node command to solana-gossip ( #3928 )
2019-04-22 14:51:20 -07:00
95a16426f3
Cleanup bench-exchange ( #3919 )
...
* bench-exchange changes
Generate new keypair for each bench-exchange
Add metrics
Tweak network sleep parameters for better reliability.
* Bench-exchange contract metrics
2019-04-22 13:16:28 -07:00
bec094bb3e
Start bench tps clients as default ( #3917 )
2019-04-21 20:18:52 -07:00
af9ebf1d1a
Add status logging while processing a ledger ( #3916 )
2019-04-20 20:17:57 -07:00
6f2f7018e8
Update testnet-participation.md
2019-04-20 19:14:07 -07:00
101d6b92ee
account storage is not in sync with the index after gc ( #3914 )
...
* account storage is not in sync with the index after gc
* builds
* clippy fmt
* test
* purge dead forks on store
* rm println
* also fixed count_stores
* comments
2019-04-20 20:50:50 -05:00
349e8a9462
Ensure forwarded Blobs don't break Erasure ( #3907 )
2019-04-20 16:44:06 -07:00
c0bffb56df
Update Avalanche to use Epoch Stakes ( #3900 )
2019-04-19 22:31:40 -07:00
970cc32e65
Fix Data Plane computation when stakes are equal ( #3913 )
2019-04-19 21:07:21 -07:00
3ab492ccf8
save erasure set size, initialize coding blob erasures with that size ( #3910 )
...
* save erasure set size, initialize coding blob erasures with that size
* fixup
* fixup
2019-04-19 20:22:51 -07:00
d83a71d89f
More AWS regions for testnet deployment ( #3911 )
...
- also some minor fixes to gce.sh
2019-04-19 17:46:14 -07:00
efbb573316
add an env::var driven localcluster test ( #3906 )
2019-04-19 15:47:03 -07:00
85554087d1
treat negatives like zero instead of crashing out ( #3899 )
2019-04-19 15:46:39 -07:00
c3155a6e39
silence sigverify disabled, make disabling sigverify easier ( #3901 )
...
* silence sigverify disabled, make disabling sigverify easier
* fixup
2019-04-19 14:18:19 -07:00
4abe95abec
Helper function for filtering/creating clients in bench-exchange ( #3903 )
2019-04-19 14:05:07 -07:00
e0acd48944
Write bench-tps in terms of client ( #3904 )
...
* Write bench-tps in terms of client
* Add transactions_addr method for logging
* Move cluster config outside do_bench_tps
* Add BankClient test
2019-04-19 15:04:36 -06:00
afb00432d4
Add BankClient support to bench-exchange ( #3902 )
2019-04-19 13:18:20 -07:00
320bd66c84
handle zero num_will_fit ( #3892 )
...
* handle zero num_will_fit
* clippy
2019-04-19 12:02:33 -07:00
1a9ac62f60
Add bench-exchange support to the net framework ( #3893 )
2019-04-19 09:56:01 -07:00
809b051f10
Allow thin clients to be passed across thread boundaries ( #3887 )
...
* Remove ThinClient wrapper
* Allow RpcClient (and ThinClient) to be passed across thread boundaries
* Pass clients, not constructors
* Fix bad rebase
2019-04-19 08:54:21 -06:00
baac21209e
Recreate SOLANA_INSTALL_UPDATE_MANIFEST_KEYPAIR_x86_64_unknown_linux_gnu ( #3895 )
2019-04-19 07:39:41 -07:00
5fb8baed04
Process async BankClient transactions in batches ( #3738 )
...
* Process async transactions in batches
This aims to process transactions at least as fast as LocalCluster
* Add benchmark
2019-04-19 07:29:07 -06:00
512bfc93cb
Add a cache for leader schedules ( #3841 )
...
* Add a cache for leader schedules
2019-04-19 02:39:44 -07:00
0f88872650
Compatible network is now default ( #3896 )
2019-04-18 23:19:03 -07:00
f4e40d2c41
Add bench-exchange tx send metrics ( #3890 )
2019-04-18 22:31:25 -07:00
6eac5951ed
Revert "Revert "revert-revert-erasure and erasure fixes ( #3833 )" ( #3855 )" ( #3889 )
...
This reverts commit 596f611ede
.
2019-04-18 21:56:43 -07:00
475a74d37f
Reduce packet recv batches ( #3894 )
...
* Reduce packet recv batches
* Fix type
2019-04-18 19:24:37 -07:00
b8ee952135
Dedup drone code ( #3885 )
2019-04-18 19:06:56 -06:00
15bed29afa
Add rpc request debug to make_rpc_request ( #3888 )
2019-04-18 17:04:40 -07:00
6dbe7e8bee
Better drone error when cap is hit. ( #3884 )
...
* Better drone error when cap is hit.
* Update drone/src/drone.rs
Co-Authored-By: sakridge <sakridge@gmail.com >
2019-04-18 16:05:45 -07:00
2cd556e43c
Add drone cap parameter ( #3876 )
2019-04-18 15:42:20 -07:00
060793f451
Fix testnet automation scripts ( #3886 )
...
- missing machine type since change in gce.sh
2019-04-18 15:12:35 -07:00
7e409a13cd
Ack on empty Gossip Pull Responses and keep Entrypoint around ( #3881 )
...
* Ack on empty Gossip Pull Responses and keep Entrypoint around
* Address comments and fix test
* Update core/src/cluster_info.rs
Co-Authored-By: sagar-solana <sagar@solana.com >
* Update core/src/cluster_info.rs
Co-Authored-By: sagar-solana <sagar@solana.com >
2019-04-18 15:12:17 -07:00
aab410380e
Fix net for macos and local ( #3872 )
2019-04-18 14:49:35 -07:00
67b8ad6a0f
fix entries.to_blobs() ( #3882 )
...
* * rename Entry::serialized_size() to Entry::to_blob_size() to better
reduce confusion with bincode, et al. and to better reflect its
real meaning
* fix implementation of to_blob_size() to actually return what happens
when we do entries.to_blobs() (i.e. we serialize Vec<Entry>, not Entry)
* update tests to be more rigorous
* clippy
2019-04-18 14:45:41 -07:00
c1e39a3b98
git ignore more ( #3870 )
2019-04-18 14:23:34 -07:00
7e1a7b1f64
Add bench-exchange to installed bins ( #3883 )
...
Need to run exchange clients on remote machines.
2019-04-18 13:55:41 -07:00
a9cfae486c
Revert-revert migrate to ed25519-dalek crate ( #3877 )
...
* Revert "Revert "Migrate from ring to ed25519-dalek, take 2 (#3844 )" (#3868 )"
This reverts commit 6a878602f2
.
* Fix Signature::verify method
2019-04-18 14:37:20 -06:00
8514d27c2f
Update testnet-participation.md
2019-04-18 13:16:15 -07:00
8999bfef65
Try to delete nodes in all cloud zones ( #3874 )
2019-04-18 13:16:14 -07:00
96425fb520
Don't panic the drone on a request that ends in error. ( #3869 )
2019-04-18 12:18:31 -07:00
ce505d24b1
Bump ws from 0.7.9 to 0.8.0 ( #3866 )
...
Bumps [ws](https://github.com/housleyjk/ws-rs ) from 0.7.9 to 0.8.0.
- [Release notes](https://github.com/housleyjk/ws-rs/releases )
- [Changelog](https://github.com/housleyjk/ws-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/housleyjk/ws-rs/compare/v0.7.9...v0.8.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-18 13:16:30 -06:00
f2187780d2
Do not forward vote transactions ( #3871 )
2019-04-18 11:18:49 -07:00
6a878602f2
Revert "Migrate from ring to ed25519-dalek, take 2 ( #3844 )" ( #3868 )
...
This reverts commit e9b82bacda
.
2019-04-18 11:47:34 -06:00
f8543a268f
solana-gossip now displays other spy nodes and contact info age ( #3867 )
2019-04-18 09:48:21 -07:00
e9b82bacda
Migrate from ring to ed25519-dalek, take 2 ( #3844 )
...
* Migrate from ring to ed25519-dalek
* Move gen_keypair_file test to a more appropriate location
* Fixup bench-exchange and add helper fn for single deterministic keypair
* Update golden
2019-04-18 10:38:32 -06:00
684e1c73dd
Allow for custom cpu config on gce and use 20gb ram for clients ( #3856 )
2019-04-18 09:36:11 -07:00
901c74b653
Add packages and fix publish script ( #3839 )
...
* Add packages and fix publish script
* Fixup
2019-04-18 09:24:18 -06:00
2c0afe71b2
minor grooming
2019-04-18 07:31:42 -07:00
2f4a3ed190
Use a separate channel to process votes in banking stage ( #3861 )
...
- This will help expedite the vote processing on peer nodes
2019-04-17 21:07:45 -07:00
26a7eb6fa5
Don't use barrier transaction in testnet for perf testing ( #3862 )
2019-04-17 20:29:36 -07:00
aa21f5343a
Remove broken read().unwrap() call to a non-shared packet
2019-04-17 21:24:40 -05:00
9c2809db21
Delete SharedPackets ( #3843 )
...
* Delete SharedPackets
* Fix bench and sigverify
2019-04-17 18:15:50 -07:00
9ccd362461
Correct ./net.sh sanity argument order
2019-04-17 18:10:38 -07:00
596f611ede
Revert "revert-revert-erasure and erasure fixes ( #3833 )" ( #3855 )
...
This reverts commit 6bef16a6a1
.
2019-04-17 18:04:30 -07:00
78d5ace754
Refactor multinode-demo/ scripts to avoid shipping fullnode-x.sh ( #3835 )
2019-04-17 18:03:58 -07:00
2b3218b5f2
Fix flaky tests by waiting for test node to boot ( #3845 )
2019-04-17 17:50:34 -07:00
d0fb55d9b1
Allow testnet creation with no validator nodes ( #3846 )
2019-04-17 17:38:18 -07:00
a2c8e3952f
Fixes to TPS calculation and reporting ( #3836 )
...
Fixes to TPS calculations and reporting
2019-04-17 15:37:01 -07:00
beb8c7914e
Disable testnet-sanity ledger verification, too slow
2019-04-17 15:19:37 -07:00
6bef16a6a1
revert-revert-erasure and erasure fixes ( #3833 )
...
* fix erasure, more tests for full blobs, more metrics
* Revert "Revert "Use Rust erasure library and turn on erasure (#3768 )" (#3827 )"
This reverts commit 4b8cb72977
.
2019-04-17 15:13:54 -07:00
e03215c4c0
Remove iterations with leader rotation disabled
2019-04-17 15:07:51 -07:00
8d1fd29fa6
Add readme ( #3838 )
2019-04-17 14:42:04 -07:00
46f655eddd
Add .gitignore to bench-exchange ( #3837 )
2019-04-17 14:34:04 -07:00
ca36a6f4e0
Run sanity only in the zone that contains the bootstrap leader and blockstreamer nodes ( #3828 )
2019-04-17 14:25:40 -07:00
fdb12b54fa
Run multinode-demo from anywhere ( #3831 )
2019-04-17 14:23:32 -07:00
09dd4bb702
Fix build ( #3834 )
2019-04-17 15:17:04 -06:00
01657ddfe7
packet.rs optimizations ( #3818 )
...
* packet.rs optimizations
* remove redundant and aggressive metric submission
* remove metrics submit(), get compiling again, honor log level in inc()
2019-04-17 14:14:57 -07:00
51a2988bb2
Revert "Rename programs to instruction_processors ( #3789 )" ( #3824 )
...
This reverts commit 34344982a9
.
2019-04-17 15:05:49 -06:00
083090817a
Fix DuplicateSignatures caused by races on frozen banks ( #3819 )
...
* Duplicate parent account locks into children in new_from_parent, check parent locks in lock_account()
2019-04-17 13:45:33 -07:00
f3676e2d03
Enable bench exchange test ( #3830 )
2019-04-17 13:37:02 -07:00
4b8cb72977
Revert "Use Rust erasure library and turn on erasure ( #3768 )" ( #3827 )
...
This reverts commit b9bb5af4a5
.
2019-04-17 12:52:12 -07:00
2518e95fb0
Add bench-exchange ( #3826 )
2019-04-17 11:28:26 -07:00
bc17edcda3
Add --keypair to avoid writing a new one to ~ in CI
2019-04-17 10:12:18 -07:00
eb185b9ea5
testnet-beta sanity no longer tries to check inactive zones
2019-04-17 09:30:41 -07:00
aa6c82cfdc
Add show-vote-account command ( #3814 )
2019-04-17 07:45:07 -07:00
b9bb5af4a5
Use Rust erasure library and turn on erasure ( #3768 )
...
* split out erasure into new crate; add implementation using rust reed-solomon-library
* Track erasures with a &[bool] instead of indexes
* fix bug that reported the number of erasures incorrectly
* Introduce erasure `Session` for consistent config
* Increase test coverage; fix bugs
* Add ability to remove blobs from erasure meta tracking. test added
* Track deletion of coding blobs in blocktree via ErasureMeta. Added to
test
* Remove unused functions in blocktree
* add randomness to recovery thread to exercise recovery due to either new
data or coding blobs
* Add unit test for ErasureMeta index handling
* Re-enable test in broadcast stage
2019-04-16 23:00:24 -05:00
1e20d449ce
bank_height / slot
is the block drop rate (#3816 )
...
* bank_height/slot would give is the block drop rate
* use metrics
2019-04-16 19:35:38 -07:00
e94f268346
reduce sigverify verbosity ( #3813 )
2019-04-16 18:25:53 -07:00
7ec198b9cc
Minor doc fixes++
2019-04-16 17:45:48 -07:00
b2e762ccc6
Minor doc fixes
2019-04-16 17:43:52 -07:00
bee411e826
Preserve extra dependency annotations (optional=,features=) during version bump ( #3810 )
2019-04-16 15:12:10 -07:00
34344982a9
Rename programs to instruction_processors ( #3789 )
...
* Rename programs to instruction_processors
* Updates around the code base to support instruction_processors rename
* Kabab instruction_processors
* Update Cargo.toml files and scripts to use instruction-processors
* Update Cargo.toml to use instruction-processors
* Update CI scripts to use instruction-processors
2019-04-16 22:39:00 +02:00
f73d38739a
Split AccountsDB from Accounts ( #3808 )
...
Split AccountsDB from Accounts
2019-04-16 13:32:22 -07:00
63d66ece57
net/ testnet nodes now stake more lamports ( #3812 )
...
* Add --bootstrap-leader-lamports
* Generalize --no-stake into --stake NUM
* Use a large stake for net/ fullnodes
* Setup vote account before starting fullnode to avoid mixed log output
2019-04-16 13:03:01 -07:00
a4b5493ba1
Document unsafe usage in AppendVec ( #3804 )
...
* document unsafe usage
* clippy
2019-04-16 10:53:37 -07:00
8d613f3977
Selectively deploy beta testnet to GCE/AWS or both clouds ( #3805 )
2019-04-16 10:40:30 -07:00
0ff2bfdd0c
Fewer unsafe hacks for AppendVec ( #3801 )
...
* storage account changes
* cleanup
* checks
* comments
* clippy
* tests
* woot!
* comments
* benches
2019-04-16 08:50:05 -07:00
141e25d567
Bump hashbrown from 0.2.1 to 0.2.2 ( #3800 )
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/Amanieu/hashbrown/releases )
- [Changelog](https://github.com/Amanieu/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/hashbrown/compare/v0.2.1...v0.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-16 06:49:02 -07:00
c67cc694ae
Remove stake from ./net sanity
ephemeral validator ( #3797 )
2019-04-15 21:42:25 -07:00
d77359914f
Log the spy node id by default for better debug ( #3796 )
2019-04-15 20:58:37 -07:00
9293a54234
Remove stray +
2019-04-15 20:28:11 -07:00
d9983905b3
Cargo.lock
2019-04-15 20:28:07 -07:00
3dc47a46d5
Revert "Revert "disable staking of blockstreamer node""
...
This reverts commit 03da63b41b
.
2019-04-15 20:11:00 -07:00
8638b3bb19
Update Cargo.toml files for version = 0.14.0
2019-04-16 02:50:20 +00:00