Michael Vines
beb8e89bf4
Bump version to 0.17.1
2019-08-01 07:48:42 -07:00
mergify[bot]
54ff4529b1
Plumb libra accounts to genesis (bp #5333 ) ( #5379 )
...
automerge
2019-07-31 22:44:14 -07:00
mergify[bot]
0942cbd89b
Handle paying for move transactions with unique solana system transactions ( #5317 ) ( #5378 )
...
automerge
2019-07-31 22:02:28 -07:00
mergify[bot]
88bbaf7add
Teach solana-install about release channels ( #5372 ) ( #5375 )
...
automerge
2019-07-31 18:18:25 -07:00
Jack May
d1447b5e52
Synchronize and cleanup instruction processor lists ( #5356 )
2019-07-31 17:37:52 -07:00
mergify[bot]
c00bb42ecd
Add command to create genesis accounts ( #5343 ) ( #5371 )
...
automerge
2019-07-31 17:13:40 -07:00
mergify[bot]
1a0003fbcc
fix epoch_stakes ( #5355 ) ( #5369 )
...
automerge
2019-07-31 15:56:48 -07:00
Michael Vines
a584ce6472
Ignore flaky test_replicator_startup_2_nodes ( #5358 )
...
automerge
2019-07-31 11:35:58 -07:00
mergify[bot]
63d1f029a9
Ignore flaky local cluster tests ( #5347 ) ( #5349 )
...
* Add logging to local_cluster tests
* Ignore flaky test_leader_failure_4, test_repairman_catchup
And crashing banking benchmarks.
(cherry picked from commit 8d243221f0
)
2019-07-30 23:08:59 -07:00
Michael Vines
24ebf70016
Bump timeouts for publish docker/tarball builds
2019-07-30 20:10:09 -07:00
Dan Albert
d18dc94209
Update testnet book source to release 0.17.0 ( #5339 )
2019-07-29 18:53:00 -06:00
mergify[bot]
8242fd19eb
Move coverage back to the default queue ( #5318 ) ( #5320 )
...
(cherry picked from commit 506b305959
)
2019-07-28 23:17:45 -07:00
mergify[bot]
469e91cd8d
Add --use_move mode to bench-tps ( #5311 ) ( #5316 )
...
automerge
2019-07-28 14:15:57 -07:00
mergify[bot]
4889c2a29c
Add move mode to bench-tps (bp #5250 ) ( #5310 )
...
automerge
2019-07-27 17:51:12 -07:00
mergify[bot]
3c6115c94a
Pull all libra crates from crates.io (bp #5306 ) ( #5307 )
...
automerge
2019-07-27 15:48:41 -07:00
mergify[bot]
70b15317a9
Move credit-only and Move proposals to the implemented section of the book ( #5308 ) ( #5309 )
...
automerge
2019-07-27 15:41:18 -07:00
mergify[bot]
a834e9ae10
Add libray_api (bp #5304 ) ( #5305 )
...
automerge
2019-07-27 13:30:59 -07:00
Michael Vines
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
Greg Fitzgerald
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
Greg Fitzgerald
855f7ff352
Move Move deps from a branch to a tag ( #5300 )
2019-07-26 23:51:42 -06:00
dependabot-preview[bot]
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
Michael Vines
252257fe66
Rewrite multinode-demo/replicator.sh to avoid fullnode.sh ( #5299 )
2019-07-26 19:00:34 -07:00
Jack May
e2c9d87d91
Move verify to finalize ( #5297 )
...
automerge
2019-07-26 17:51:07 -07:00
Greg Fitzgerald
9d34b80ed6
Upgrade to all the latest packages our existing Cargo.toml will allow ( #5298 )
...
automerge
2019-07-26 17:21:01 -07:00
Michael Vines
c63a38ae57
Default log level to to RUST_LOG=solana=info ( #5296 )
2019-07-26 16:29:16 -07:00
Michael Vines
20da2604f8
storage-keypair argument should not be required ( #5295 )
...
automerge
2019-07-26 15:18:55 -07:00
Patrick Amato
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
Pankaj Garg
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
Michael Vines
54ac7ed1ea
Voting/storage keypair can now be provided by the user ( #5288 )
2019-07-26 11:05:02 -07:00
Michael Vines
0180246680
Clean up argument parsing ( #5290 )
...
automerge
2019-07-26 10:37:03 -07:00
Tyera Eulberg
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
Michael Vines
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
Michael Vines
5f09aa36b3
Drop code supporting no leader rotation ( #5286 )
2019-07-26 09:26:27 -07:00
Michael Vines
d6c74f438a
Delete vestigal --vote-account argument ( #5287 )
...
automerge
2019-07-26 08:42:48 -07:00
dependabot-preview[bot]
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
Rob Walker
f4554be72c
add vote withdraw ( #5284 )
2019-07-25 23:20:47 -07:00
Rob Walker
8537da19bb
groom accounts_db ( #5283 )
2019-07-25 22:59:28 -07:00
Michael Vines
d1eff5d607
Merge create-stake-account into delegate-stake ( #5280 )
2019-07-25 16:53:43 -07:00
Michael Vines
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
Sagar Dhawan
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
Jack May
27bc0a22dd
Add support for invoking and publishing Move modules ( #5278 )
2019-07-25 09:30:24 -07:00
dependabot-preview[bot]
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
Jack May
bab0f6be1e
Store Move account data in a deterministic order ( #5276 )
2019-07-24 21:43:14 -07:00
Sagar Dhawan
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
Michael Vines
3bd35dd7cc
Remove usage of api.testnet.solana.com ( #5274 )
2019-07-24 17:06:26 -07:00
Patrick Amato
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
Michael Vines
fbfe1a59a6
bump timeout
2019-07-24 13:53:08 -07:00
Michael Vines
77c79effc1
Update github token
2019-07-24 13:50:49 -07:00
Greg Fitzgerald
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
Sagar Dhawan
937816e67b
Post warning if window service isn't receiving any data ( #5269 )
...
automerge
2019-07-24 12:46:10 -07:00
Jack May
c3a941086d
Remove more unwraps ( #5267 )
...
automerge
2019-07-24 12:30:43 -07:00
Jack May
1046c5e32c
Adjust log levels ( #5265 )
...
automerge
2019-07-24 10:15:49 -07:00
Greg Fitzgerald
baac8d2590
Upgrade libra ( #5264 )
...
automerge
2019-07-24 09:56:29 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Jack May
7afc61e0b9
Cap Move program's execution ( #5259 )
2019-07-24 08:06:03 -07:00
Michael Vines
d4d9bec2a9
NDEBUG=1
2019-07-24 07:28:16 -07:00
Michael Vines
d647a4ec57
Bump publish-crate.sh timeout
2019-07-23 22:12:34 -07:00
Jack May
536b4c1a25
Export genesis creation function ( #5252 )
2019-07-23 21:34:17 -07:00
Justin Starry
547a7a345f
Add logs to indicate when the leader changes ( #5253 )
2019-07-23 22:19:20 -04:00
Tyera Eulberg
26e380e53c
Sort bench-tps keypairs ( #5254 )
...
automerge
2019-07-23 17:46:33 -07:00
Rob Walker
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
Michael Vines
b41e8333b1
Add support to install a specific Solana version directly from the Github releases ( #5248 )
2019-07-23 12:51:10 -07:00
dependabot-preview[bot]
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
Jack May
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
Michael Vines
17b9ea3e3b
Update buildkite-secondary.yml
2019-07-23 07:33:13 -07:00
Michael Vines
88d4d1db7a
Update buildkite.yml
2019-07-23 00:20:05 -07:00
Michael Vines
cab4c88c71
Bump timeouts
2019-07-22 23:52:30 -07:00
Michael Vines
4ec5a899f5
Check longer
2019-07-22 23:41:42 -07:00
Michael Vines
c2f74330ef
Drop ring crate ( #5242 )
2019-07-22 23:11:40 -07:00
Michael Vines
2c8e0bcf87
Introduce --config-dir to avoid shipping clear-config.sh ( #5241 )
2019-07-22 22:59:02 -07:00
Michael Vines
4966ab528e
validator.sh: Add --reset-ledger option ( #5235 )
...
* Add --recreate-ledger option
* --reset-ledger
2019-07-22 22:20:54 -07:00
Michael Vines
5f81a67298
Add --no-deploy option to allow restarting nodes without a software update ( #5182 )
2019-07-22 21:38:26 -07:00
Dan Albert
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
Dan Albert
735c7c9841
Add manual publish for book and create book-beta ( #5112 )
2019-07-22 17:45:00 -06:00
Michael Vines
3a69459645
Surface validator pubkey in metrics ( #5227 )
2019-07-22 16:08:21 -07:00
Dan Albert
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
TristanDebrunner
038c6ea0a7
Bump solana_libra to v0.0.0.1 ( #5225 )
...
automerge
2019-07-22 14:17:06 -07:00
Sagar Dhawan
81f4fd56c7
Log the repairee pubkey when unable to serve them ( #5222 )
...
automerge
2019-07-22 14:13:29 -07:00
sakridge
264a3d7dde
Increase ticks_per_slot for banking benchmark ( #5221 )
2019-07-22 13:57:28 -07:00
Rob Walker
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
sakridge
baec17fdf4
Fix some nightly warnings ( #5218 )
2019-07-22 12:51:02 -07:00
Greg Fitzgerald
186b514ebb
Embed Move ( #5150 )
...
automerge
2019-07-22 12:01:52 -07:00
Rob Walker
2d42c1e33e
add root to terminology ( #5209 )
...
* add root to terminology
* review feedback
2019-07-22 09:36:20 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Michael Vines
ac72265c6b
Request a uniform timezone
2019-07-22 09:25:36 -07:00
Michael Vines
09da6b4b48
Encourage setting an RPC port
2019-07-22 08:23:36 -07:00
Michael Vines
0d8f5379a0
Add time units
2019-07-22 08:22:21 -07:00
Michael Vines
02c7b89a8f
Update location of TdS external accounts file url
2019-07-21 17:38:15 -07:00
Michael Vines
90ae33c200
Update incoming_webhook
2019-07-21 11:27:19 -07:00
Michael Vines
55c879ce2d
Update S3 key
2019-07-21 11:18:17 -07:00
Michael Vines
1b5a332239
Adjustments for appveyor server
2019-07-21 09:21:28 -07:00
sakridge
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
Greg Fitzgerald
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
Rob Walker
b766ac0899
rent ( #5205 )
2019-07-20 16:28:17 -07:00
Rob Walker
e6b525a614
disable audit until crossbeam epoch release ( #5208 )
2019-07-20 15:50:26 -07:00
Sagar Dhawan
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
Michael Vines
9d2940d487
Show wallet commands for better log debugging
2019-07-19 20:21:51 -07:00
Michael Vines
6969ece2dd
Ensure CI_OS_NAME is set for appveyor server
2019-07-19 20:06:32 -07:00
TristanDebrunner
48fc35884c
Add Transaction Documentation ( #5115 )
2019-07-19 16:42:50 -06:00
dependabot-preview[bot]
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
Dan Albert
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
Tyera Eulberg
3f54c0f1a6
Update struct order arbitrarily to match rpc output ( #5197 )
2019-07-19 11:45:04 -06:00
dependabot-preview[bot]
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
Trent Nelson
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
sakridge
8b69998379
Lower recovery messages ( #5181 )
2019-07-19 09:20:14 -07:00
Michael Vines
a21251dfea
Fix up signal handling
2019-07-19 08:35:22 -07:00
Michael Vines
06cd7c1020
Disable restart
2019-07-19 08:35:22 -07:00
Michael Vines
782846f295
Document fetch-perf-libs.sh when building with CUDA
2019-07-19 08:35:22 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Michael Vines
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
dependabot-preview[bot]
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
Michael Vines
1e1cb7c57c
Select stable rust version ( #5180 )
2019-07-18 21:19:07 -07:00
Michael Vines
cdbd1b908a
Ensure validator process is kill when stdout/stderr are redirected ( #5179 )
2019-07-18 21:18:48 -07:00
sakridge
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
Tibi Krisboi
25080f1a33
fix book typos ( #5185 )
2019-07-18 17:24:22 -07:00
Rob Walker
afa05acb32
more replay_stage grooming ( #5163 )
2019-07-18 14:54:27 -07:00
Rob Walker
d47caf2af8
add information to panic ( #5177 )
2019-07-18 14:41:32 -07:00
Sagar Dhawan
a3a91ba222
Fix misleading variable name ( #5176 )
...
automerge
2019-07-18 14:07:32 -07:00
Sagar Dhawan
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
Tyera Eulberg
488dd0e563
Keybase: s/id/username ( #5165 )
2019-07-18 12:16:13 -06:00
Michael Vines
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
Sagar Dhawan
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
Rob Walker
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
Rob Walker
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
Sagar Dhawan
10d85f8366
Add weighted shuffle support for values upto u64::MAX ( #5151 )
...
automerge
2019-07-17 12:44:28 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Rob Walker
5174b3bc3f
use precalculated max_tick_height ( #5134 )
2019-07-17 00:19:38 -07:00
Rob Walker
f88c72c41e
stress tweaks ( #5140 )
2019-07-16 22:04:40 -07:00
Michael Vines
9f678cc32a
Show stake pubkey
2019-07-16 20:10:15 -07:00
Michael Vines
57036fbcc1
Check harder on crates.io for recently published crates ( #5136 )
2019-07-16 19:09:49 -07:00
Michael Vines
349e5001d6
clear-config.sh now works with a secondary disk ( #5135 )
2019-07-16 19:09:14 -07:00
sakridge
94db9cd412
Reduce banking_stage bench copy-paste code and fix programs bench ( #4926 )
2019-07-16 18:28:18 -07:00
sakridge
b505a0df22
Throw more threads at hash_internal_state ( #5023 )
2019-07-16 16:58:30 -07:00
Greg Fitzgerald
acf096c5f7
Add cross-program invocation proposal ( #4922 )
...
automerge
2019-07-16 16:36:05 -07:00
dependabot-preview[bot]
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
sakridge
5825b967d2
Check for valid pid before kill in node stop script ( #5126 )
2019-07-16 14:31:15 -07:00
Justin Starry
bf5bce50a4
Fix stake pruning test ( #5124 )
2019-07-16 13:20:03 -04:00
Greg Fitzgerald
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
Jack May
176cec6215
Update Rust-BPF Sysroot ( #5122 )
2019-07-16 07:42:22 -08:00
Tyera Eulberg
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
Michael Vines
7e60ee39d9
Add missing dash
2019-07-16 07:27:35 -07:00
Michael Vines
3ea2933e2d
It's 2019
2019-07-15 20:58:21 -07:00
Rob Walker
fe87c05423
fix transaction_count ( #5110 )
...
* fix transaction_count
* add sig count to bank hash
2019-07-15 13:42:59 -07:00
TristanDebrunner
6b86f85916
Add C API ( #5072 )
2019-07-15 13:17:17 -06:00
Greg Fitzgerald
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
Tyera Eulberg
92d78451b1
Update expected keybase-pubkey location ( #5104 )
...
automerge
2019-07-15 09:28:06 -07:00
Tyera Eulberg
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
Dan Albert
db7e78bf99
Add node zone and count to ENV ( #5100 )
...
* Add node zone and count to ENV
2019-07-14 22:40:18 -06:00
Dan Albert
adecd4cfdc
Pull testnet vars up to buildkite env ( #5098 )
2019-07-14 20:27:49 -06:00
sakridge
40faaef9da
Revert "Logging ( #5017 )" ( #5096 )
...
This reverts commit b50a3bae72
.
2019-07-14 18:48:15 -07:00
sakridge
9b54528c8e
Fix some nightly warnings ( #5093 )
...
ONCE_INIT => Once::new
Box<Error> => Box<dyn Error>
2019-07-14 13:37:55 -07:00
Dan Albert
440d006ec1
Plumb --no-snapshot in from CI ( #5077 )
...
* Plumb --no-snapshot in from CI
2019-07-14 13:17:30 -06:00
Greg Fitzgerald
6c49b10784
Purge remaining uses of Locktower ( #5076 )
...
automerge
2019-07-13 00:24:15 -07:00
dependabot-preview[bot]
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
Michael Vines
741a0a8a4e
Correctly decode update manifest ( #5086 )
...
automerge
2019-07-12 22:55:55 -07:00
Rob Walker
16b6576839
use precalculated max_tick_height ( #5084 )
2019-07-12 22:25:48 -07:00
Michael Vines
6accf21229
Add epoch voting history to show-vote-account ( #5080 ) ( #5085 )
...
automerge
2019-07-12 22:01:12 -07:00
Michael Vines
d2b21ce8d0
Stop trying to publish crates that are unpublishable
2019-07-12 21:53:09 -07:00
Michael Vines
b01990d480
Avoid trying to republish crates already on crates.io
2019-07-12 21:43:16 -07:00
Michael Vines
d7fdfb7e21
Give publish-crate more time
2019-07-12 20:28:10 -07:00
Greg Fitzgerald
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
Rob Walker
259a5130a8
whoops ( #5083 )
2019-07-12 19:08:51 -07:00
Rob Walker
0d27515d09
tmp dirs target to farf ( #5079 )
2019-07-12 18:28:42 -07:00
Pankaj Garg
1c966aac25
Facility to generate a blocktree prune list using ledger tool ( #5041 )
...
automerge
2019-07-12 16:58:13 -07:00
Rob Walker
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
Sagar Dhawan
7aecb87bce
Add a version field to blobs ( #5057 )
2019-07-12 13:43:19 -07:00
Jack May
4a02914b30
Add pub key authorized list
2019-07-12 12:34:17 -07:00
Sagar Dhawan
7c12ecbe81
Fix unnecessary computation ( #5055 )
2019-07-12 11:30:37 -07:00
Dan Albert
f093377805
apt-get update before installing certbot ( #5054 )
...
* apt-get update before installing certbot
2019-07-12 11:50:40 -06:00
Dan Albert
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
Michael Vines
9f58318fc5
Add --no-snapshot to disable booting a validator from a snapshot ( #5050 )
...
automerge
2019-07-11 21:03:17 -07:00
Michael Vines
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
carllin
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
Sagar Dhawan
0a36a78133
Fix replicator segment selection ( #5046 )
2019-07-11 18:31:41 -07:00
Jack May
a25446f045
Pull in more Rust-BPF compatible built-ins ( #5043 )
2019-07-11 15:16:30 -08:00
Jack May
2860d2fe27
Pull in support for Rust-BPF stack argument passing ( #5038 )
2019-07-11 14:27:18 -08:00
Dan Albert
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
Trent Nelson
5698d48dc8
merkle-tree: Make instantiation a little less painful ( #5037 )
...
automerge
2019-07-11 15:15:08 -07:00
Jack May
5b95685e12
Add rewards to is_syscall_id() ( #5035 )
2019-07-11 13:47:22 -08:00
Pankaj Garg
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
Rob Walker
a191f3fd90
add node_pubkey to vote warning ( #5033 )
2019-07-11 13:12:26 -07:00
Tyera Eulberg
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
Tyera Eulberg
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
Tyera Eulberg
08f6de0acd
Plumb scan_accounts into accounts_db, adding load from storage ( #5029 )
2019-07-11 12:16:02 -06:00
Patrick Amato
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
Rob Walker
2abbc89dcd
add accounts_index_scan_accounts ( #5020 )
2019-07-10 22:06:32 -07:00
Rob Walker
8cad992170
reduce replicode in accounts, fix cast to i64 ( #5025 )
2019-07-10 21:22:58 -07:00
Michael Vines
41d0db078e
Wait for bootstrap leader to initialize before starting other validators ( #5027 )
2019-07-10 21:03:48 -07:00
Michael Vines
8781aebe06
Pass SOLANA_METRICS_CONFIG along to oom-monitor.sh ( #5021 )
2019-07-10 20:11:55 -07:00
Rob Walker
727c15ef8a
start from random point in fork stores ( #5010 )
2019-07-10 18:44:49 -07:00
Sagar Dhawan
e4926e4110
Set exit when replicator run exits ( #5016 )
2019-07-10 16:27:18 -07:00
carllin
b50a3bae72
Logging ( #5017 )
...
* Add logging to replay_stage
* locktower logging
2019-07-10 15:52:31 -07:00
Sagar Dhawan
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
Mark E. Sinclair
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
Sagar Dhawan
b1a678b2db
Document getSlotsPerSegment in rpc api doc ( #5005 )
...
* Document getSlotsPerSegment in rpc api doc
2019-07-10 10:05:11 -07:00
Dan Albert
e563a4dda3
Rename tds-testnet to tds ( #5008 )
2019-07-10 10:26:24 -06:00
Tyera Eulberg
dbe533385e
Improve signature checks in config_api ( #5001 )
...
automerge
2019-07-10 01:00:49 -07:00
Rob Walker
f537482c86
remove set_leader from cluster_info ( #4998 )
2019-07-09 22:06:47 -07:00
Michael Vines
aebd70ddce
Move letsencrypt arg to create_args
2019-07-09 21:27:12 -07:00
Michael Vines
7d80cfb17a
Include --letsencrypt ($1)
2019-07-09 20:54:11 -07:00
Sagar Dhawan
b8e7736af2
Move SLOTS_PER_SEGMENT to genesis ( #4992 )
...
automerge
2019-07-09 16:48:40 -07:00
Michael Vines
32b55e6703
Fund solana-install deployments from the mint keypair to avoid airdrops ( #4997 )
2019-07-09 16:45:28 -07:00
Michael Vines
0a949677f0
net/ plumbing to manage LetsEncrypt TLS certificates ( #4985 )
...
automerge
2019-07-09 15:45:46 -07:00
Rob Walker
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
Dan Albert
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
Dan Albert
1ca7e9f67b
Add testnet-tds support to testnet manager ( #4762 )
...
* Add testnet-tds support to testnet scripts
2019-07-09 14:39:55 -06:00
Jack May
bc8f435d45
Shell script nits ( #4982 )
2019-07-09 12:09:13 -08:00
Tyera Eulberg
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
Dan Albert
fc58b3e8c3
Fix typos
2019-07-09 09:35:52 -06:00
carllin
1033f52877
Add pubkey ( #4971 )
2019-07-09 00:54:22 -07:00
Jack May
4771177f9d
Update LLVM to v0.0.11 ( #4976 )
2019-07-08 23:22:49 -08:00
Jack May
50c6b5d62d
Work around missing lib on linux (Issue #4972 ) ( #4975 )
2019-07-08 22:24:57 -08:00
Jack May
f9a2254688
Split out Rust BPF no-std stuff ( #4968 )
2019-07-08 20:28:05 -08:00
Rob Walker
49250f62aa
make commit_credits one trip through the rwlock ( #4969 )
2019-07-08 20:46:21 -07:00
carllin
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
Rob Walker
417e8d5064
fix blocktree_processor test_process_entries_stress ( #4967 )
2019-07-08 18:11:58 -07:00
Trent Nelson
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
Jack May
563c42b829
Consistant message format ( #4965 )
2019-07-08 16:07:45 -08:00
Jack May
841e5e326c
Program mutable lamports ( #4964 )
2019-07-08 15:52:25 -08:00
Tyera Eulberg
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
Trent Nelson
c5ba2e0883
bank_forks test stability ( #4959 )
...
automerge
2019-07-08 15:55:49 -07:00
Rob Walker
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
Sagar Dhawan
bb6bcd79c0
Handle replicator errors without panicking ( #4955 )
...
* Handle replicator errors without panicking
* Unwelcome println
2019-07-08 12:43:35 -07:00
Sagar Dhawan
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
carllin
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
carllin
fc180f4cbf
Halve stake of malicious validator ( #4937 )
2019-07-05 15:45:39 -07:00
dependabot-preview[bot]
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
Michael Vines
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
Dan Albert
b4aebbd991
Increment InfluxDB to 1.7 ( #4931 )
2019-07-03 17:44:49 -07:00
dependabot-preview[bot]
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
Michael Vines
f1f6537837
Reduce default commission from 100% to 50% ( #4929 )
2019-07-03 14:18:08 -07:00
Rob Walker
2ec5d2c7f5
start local_cluster nodes from genesis blocks ( #4928 )
2019-07-03 14:03:52 -07:00
Jack May
42e5623e26
Update rust-bpf-sysroot to v0.5 ( #4920 )
2019-07-03 11:20:21 -08:00
dependabot-preview[bot]
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
Pankaj Garg
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
Sagar Dhawan
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
Pankaj Garg
bf319ab06d
Convert syscall accounts to credit only accounts ( #4915 )
2019-07-02 15:17:28 -07:00
Rob Walker
12ef0c25b5
change vote commission to u8 (from u32) ( #4887 )
...
automerge
2019-07-02 14:18:11 -07:00
Michael Vines
8620d0a3b2
Add curl retries
2019-07-02 08:37:18 -07:00
Michael Vines
933ae51fcc
Add .exe extension before checking for a program file on windows ( #4902 )
2019-07-02 08:04:27 -07:00
Michael Vines
c1201e54fa
Avoid signal-hook crate on windows ( #4900 )
2019-07-01 22:52:55 -07:00
Pankaj Garg
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
TristanDebrunner
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
Tyera Eulberg
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
Michael Vines
2abe051a1f
run command now kills child process on SIGTERM to cleanly exit ( #4896 )
...
automerge
2019-07-01 17:10:14 -07:00
Sagar Dhawan
65adce65fa
Always send pull responses to the origin addr ( #4894 )
2019-07-01 16:49:05 -07:00
carllin
0c8f187993
remove syscall tick height ( #4891 )
2019-07-01 16:21:51 -07:00
Rob Walker
cbd2938035
update book with stake stuff ( #4893 )
2019-07-01 15:16:41 -07:00
Michael Vines
0999225794
Try to gracefully terminal child process before using SIGKILL ( #4890 )
2019-07-01 14:08:30 -07:00
Pankaj Garg
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
carllin
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
Michael Vines
19ea5fe0c0
Rework fullnode.sh to recover better from genesis block resets ( #4884 )
2019-07-01 11:54:00 -07:00
Tyera Eulberg
d7ed3b8024
Add RPC api to return program accounts ( #4876 )
...
automerge
2019-06-29 09:59:07 -07:00
sakridge
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
Michael Vines
41bda18046
Disable Enter prompt when stdin is not a tty ( #4874 )
2019-06-28 17:43:43 -07:00
Michael Vines
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
carllin
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
dependabot-preview[bot]
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
Michael Vines
76413cbfac
Ensure validator process is killed when fullnode.sh is killed ( #4869 )
...
automerge
2019-06-28 14:24:44 -07:00
sakridge
0fa1af5d47
Cleanup num_threads() and batch_limit numbers ( #4852 )
2019-06-28 10:55:24 +02:00
anatoly yakovenko
af1c70f032
book: Add simple payment and state verification proposal ( #4200 )
...
automerge
2019-06-27 17:08:10 -07:00
Tyera Eulberg
278614fc7c
Impl credit-only accounts in Budget ( #4862 )
2019-06-27 19:22:21 -04:00
Trent Nelson
baca35ef4d
book: Make build a little less annoying ( #4861 )
...
automerge
2019-06-27 15:20:37 -07:00
Tyera Eulberg
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
dependabot-preview[bot]
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
carllin
6cec61dcfc
Re-enable tests ( #4848 )
2019-06-27 12:09:14 -07:00
sakridge
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
sakridge
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
Sathish
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
carllin
97c97db97e
Fix early exit clearing all buffered packets ( #4810 )
2019-06-26 22:39:50 -07:00
Michael Vines
b8ae025f90
rsync of ledger/ and state.tgz now works on both macOS and Linux ( #4845 )
...
automerge
2019-06-26 22:10:24 -07:00
Michael Vines
27221e28f6
Use default pubkey for solana-install sanity check
2019-06-26 21:49:22 -07:00
carllin
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
Sagar Dhawan
8cea650535
Handle NaN and inifinite point values ( #4839 )
2019-06-26 18:33:52 -07:00
dependabot-preview[bot]
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
Sagar Dhawan
850f77ab3b
Minor refactor of duplicated reward claim logic ( #4835 )
...
automerge
2019-06-26 15:01:45 -07:00
Michael Vines
4a10fd3272
Upload all artifacts
2019-06-26 14:37:18 -07:00
Michael Vines
9e2eb9e4f9
Set CI_REPO_SLUG correctly for the solana-secondary pipeline
2019-06-26 14:37:18 -07:00
Sagar Dhawan
8120b57f17
Setup reward pools in genesis ( #4831 )
...
automerge
2019-06-26 13:51:17 -07:00
Pankaj Garg
f651c0922a
Airdrop more token in wallet sanity due to fee ( #4830 )
...
automerge
2019-06-26 13:32:58 -07:00
jkhawaja11
8d2ec20201
Tidied up intro paragraph ( #4819 )
...
I tidied up the intro paragraph!
2019-06-26 12:12:25 -07:00
jkhawaja11
dce1f80aac
Made tiny change to second paragraph ( #4820 )
...
Replaced 'it's' with 'Solana
2019-06-26 12:12:11 -07:00
Sagar Dhawan
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
Rob Walker
8a64e1ddc3
add fee burning ( #4818 )
2019-06-26 10:13:21 -07:00
dependabot-preview[bot]
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
Justin Starry
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
carllin
d6737b8cc9
Set epoch schedule in set_root in leader schedule cache ( #4821 )
2019-06-26 00:19:48 -07:00
Pankaj Garg
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
Sathish
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
Trent Nelson
f20ba423ca
Merklize PoH TX mixin hash ( #4644 )
2019-06-25 14:44:27 -06:00
Michael Vines
c5e6ebb496
Create snapshots sparsely ( #4815 )
2019-06-25 12:10:17 -07:00
Sathish
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
Sagar Dhawan
74a06e4230
Update thinclient to resend the same tx until its blockhash expires ( #4807 )
2019-06-24 16:46:34 -07:00
Rob Walker
70f93cc126
remove mining_pool from stake_state ( #4804 )
2019-06-24 16:01:02 -07:00
Pankaj Garg
3f8ff23125
Forward transactions to the leader for next Nth slot ( #4806 )
...
* review comments
2019-06-24 15:56:50 -07:00
anatoly yakovenko
29611fb61d
tower consensus naming ( #4598 )
...
s/locktower/tower/g
2019-06-24 13:41:23 -07:00
dependabot-preview[bot]
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
Michael Vines
206e62271b
Ignore flaky test_two_unbalanced_stakes ( #4794 )
...
automerge
2019-06-23 20:55:43 -07:00
dependabot-preview[bot]
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
Michael Vines
1561d9c8d4
Remove --storage-mining-pool-lamports ( #4792 )
2019-06-23 20:19:53 -07:00
dependabot-preview[bot]
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
Michael Vines
fd6047d1c5
Add validation tip
2019-06-23 09:10:39 -07:00
Michael Vines
b0467be393
Add quotes
2019-06-23 09:09:12 -07:00
Michael Vines
1b0b095813
Setup v0.1[78] backport label
2019-06-23 09:04:43 -07:00
Michael Vines
bd43724dfc
Don't set automerge label the PR has status failures
2019-06-22 20:52:32 -07:00
Sagar Dhawan
11992946a4
Add storage reward pools ( #4779 )
2019-06-22 17:18:35 -07:00
Michael Vines
0cc8a841ab
set automerge label on mergify backport PRs ( #4788 )
2019-06-22 09:00:00 -07:00
Michael Vines
23b6b85bf0
Prevent Travis/Appveyor from trying to build mergify branches ( #4786 )
2019-06-22 08:42:27 -07:00
Sathish
96b56fa6f7
Update authorized public key ( #4783 )
2019-06-22 08:33:39 -07:00
Pankaj Garg
405ca1bcb2
Add instructions and processor for stake deactivation ( #4781 )
...
automerge
2019-06-21 23:45:03 -07:00
Michael Vines
c6316bb24b
Initial mergify config
2019-06-21 22:50:17 -07:00
Pankaj Garg
b7f169e06e
Program instruction to withdraw un-staked lamports from stake account ( #4780 )
2019-06-21 22:28:34 -07:00
Michael Vines
e4b466874c
Remove storage-mining-pool-keypair arg
2019-06-21 21:38:03 -07:00
Dan Albert
9911942dbd
Increment cargo.toml files to v0.17.0
2019-06-22 04:35:25 +00:00
Trent Nelson
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
Rob Walker
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
Michael Vines
f39e74f0d7
serde the full FeeCalculator ( #4778 )
...
automerge
2019-06-21 17:23:26 -07:00
Sagar Dhawan
22b767308a
Add insturctions to run a replicator on testnet ( #4733 )
2019-06-21 16:32:23 -07:00
Michael Vines
36aa876833
Avoid linking with CUDA directly
2019-06-21 15:26:22 -07:00
carllin
06ba0b7279
Remove holding cluster_info lock while forwarding packets ( #4773 )
2019-06-21 15:21:49 -07:00
Jack May
a38e1a81ef
Call do.sh from anywhere ( #4771 )
2019-06-21 12:26:17 -07:00
Sagar Dhawan
da925142d1
Update replicator ports and silence socket timeout on windows ( #4770 )
...
automerge
2019-06-21 11:28:52 -07:00
Jack May
5feeb257bb
Seperate out BPF Loader helpers ( #4768 )
2019-06-21 11:08:50 -07:00
Trent Nelson
06c547094a
Add Merkle Tree implementation ( #4749 )
...
automerge
2019-06-21 10:22:21 -07:00
Sagar Dhawan
a40c5cf185
Update storage contract to use a deterministic BTreeMap ( #4763 )
2019-06-21 09:51:05 -07:00
dependabot-preview[bot]
deb83cdef6
Bump rayon from 1.0.3 to 1.1.0 ( #4729 )
...
automerge
2019-06-21 09:32:41 -07:00
dependabot-preview[bot]
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
Jack May
407db65336
Add 128bit Rust BPF test ( #4766 )
...
automerge
2019-06-21 02:43:50 -07:00
Jack May
9c5a3cd277
Update Rust BPF to v0.1.2 ( #4767 )
2019-06-21 02:15:42 -07:00
Jack May
138a49e820
Fix paths ( #4764 )
2019-06-21 00:08:02 -07:00
Michael Vines
36c9e22e3d
Revert "Dynamic erasure ( #4653 )"
...
This reverts commit ada4d16c4c
.
2019-06-20 20:53:03 -07:00
Pankaj Garg
aa0f8538ed
Fix client script arguments in the book ( #4760 )
2019-06-20 19:59:20 -07:00
Jack May
4177c56c51
Use real panic that reports file/line ( #4758 )
2019-06-20 19:10:03 -07:00
Jack May
425ac8d520
Remove need to use null when passing Rust strings ( #4756 )
2019-06-20 19:09:50 -07:00
Mark E. Sinclair
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
Jack May
4069ef2e02
Install xargo once ( #4753 )
2019-06-20 16:49:33 -07:00
Jack May
ace98bba08
Upgrade BPF sysroot to v0.4 ( #4754 )
2019-06-20 16:41:49 -07:00
Jack May
e59b53dfa8
BPF rust language updates ( #4752 )
2019-06-20 16:07:12 -07:00
carllin
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
Rob Walker
33d13a3aea
Update inflation.rs
2019-06-20 12:37:24 -07:00
Rob Walker
1f0f947ed2
add validator rewards pools ( #4742 )
...
* add validator rewards pools
* populate rewards syscall
2019-06-20 12:22:29 -07:00
Michael Vines
6854c64a09
Bump coverage build timeout
2019-06-20 09:24:11 -07:00
Michael Vines
4a32bc48d2
ignore unstable test_repairman_catchup
2019-06-20 09:24:11 -07:00
Jack May
b430762a23
check rust programs ( #4688 )
2019-06-20 07:43:31 -07:00
Rob Walker
f8523db51d
Revert "remove build --all ( #4737 )" ( #4745 )
...
This reverts commit 63503ad589
.
2019-06-19 23:21:10 -07:00
Sathish
48b11d1841
Initialize paths for non existent accounts ( #4744 )
2019-06-19 23:15:22 -07:00
Rob Walker
3600a926df
protect against corruption ( #4741 )
2019-06-19 21:29:36 -07:00
carllin
c228792967
Add blocktree and repair_service to SUMMARY.md ( #4738 )
2019-06-19 20:10:04 -07:00
Rob Walker
7ea522e851
add rewards syscall, groom some others ( #4740 )
2019-06-19 19:46:47 -07:00
Rob Walker
63503ad589
remove build --all ( #4737 )
...
* remove build all
* Update test-stable.sh
2019-06-19 17:36:25 -07:00
Pankaj Garg
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
Rob Walker
2e2b1881f5
move genesis_block to builder pattern ( #4736 )
2019-06-19 15:40:39 -07:00
carllin
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
Michael Vines
a5279bb835
Don't ship bench-streamer
2019-06-19 12:37:35 -07:00
Michael Vines
357554b209
Cache target/
2019-06-19 12:37:35 -07:00
Rob Walker
41fbdc6e08
use stake ( #4721 )
2019-06-19 11:54:52 -07:00
Michael Vines
8bd1c57448
Defer CUDA selection to env.sh, also always create env.sh
2019-06-19 08:47:27 -07:00
Sathish Ambley
2562e48b9d
Check for non zero count value
2019-06-19 08:47:12 -07:00
carllin
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
Michael Vines
6bc0d2a0cb
exit with success even if no CUDA version detected
2019-06-18 21:18:13 -07:00
Michael Vines
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
Michael Vines
b4484b89c3
'
2019-06-18 19:13:44 -07:00
Michael Vines
c029f069f0
Cache .cargo for faster builds
2019-06-18 19:11:36 -07:00
Jack May
fdb57bc5db
Add Rust BPF Tick Height test ( #4718 )
2019-06-18 15:56:24 -07:00
Pankaj Garg
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
dependabot-preview[bot]
2da7c7fbd3
Bump nix from 0.14.0 to 0.14.1 ( #4642 )
...
automerge
2019-06-18 11:36:26 -07:00
Michael Vines
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
Sathish Ambley
44967abd1c
update storage len
2019-06-17 22:48:27 -07:00
Sathish Ambley
8b41a5d725
periodically save config in separate folders
2019-06-17 22:48:27 -07:00
Sathish Ambley
07c183bb84
Fix test
2019-06-17 22:48:27 -07:00
Sathish Ambley
7fd879b417
Restart validator nodes from snapshots
2019-06-17 22:48:27 -07:00
Sathish Ambley
dc5c6e7cf8
validator restart
2019-06-17 22:48:27 -07:00
Michael Vines
bd633d2b81
Add CI_REPO_SLUG ( #4714 )
...
automerge
2019-06-17 20:42:09 -07:00
Michael Vines
feeaad619a
Avoid panic if no rpc peers exist
2019-06-17 19:47:45 -07:00
Michael Vines
b44d8c394e
Only add --mining-pool arg when a mining pool keypair exists
2019-06-17 19:47:45 -07:00
Rob Walker
0ff9c4cd8e
add stake warmup and cool down ( #4711 )
2019-06-17 19:34:21 -07:00
sakridge
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
Pankaj Garg
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
Sagar Dhawan
cc48773b03
Add "download from replicator" utility ( #4709 )
...
automerge
2019-06-17 18:12:13 -07:00
Sagar Dhawan
8fbf0e2d9f
Update replicators to use the storage blockhash to generate offsets ( #4712 )
2019-06-17 16:39:26 -07:00
Rob Walker
d86358eedc
add Account::new_data ( #4701 )
...
* add account_new_data
* fixup
* fixup
2019-06-17 15:58:05 -07:00
Michael Vines
fe04fb4cd3
Refetch perf-libs when the release version is changed ( #4706 )
...
automerge
2019-06-17 14:31:41 -07:00
Jack May
de3f7e9634
Update Rust program build script paths ( #4707 )
2019-06-17 14:24:00 -07:00
Michael Vines
5e8fcdbe1d
Set {min,max}_lamports_per_signature correctly when fees don't adjust ( #4705 )
...
automerge
2019-06-17 13:18:12 -07:00
Michael Vines
3ee7256c0c
Add cuda docs
2019-06-17 12:42:59 -07:00
Jack May
2a7a9fdf03
Re-org SDK dir ( #4690 )
2019-06-17 11:04:38 -07:00
Michael Vines
5bf87de136
Add obvious log message indicating CUDA feature state
2019-06-17 11:01:55 -07:00
Michael Vines
97a136ea20
Set rustc-cfg=cuda explicitly, also code cleanup
2019-06-17 11:01:55 -07:00
Michael Vines
735dfab02e
decomma
2019-06-17 11:01:55 -07:00
Michael Vines
b5f65ce49c
Link cuda feature validator/ to core/
2019-06-17 11:01:55 -07:00
Michael Vines
a283863694
Add storage-mining-pool genesis params
2019-06-14 20:25:39 -07:00
Michael Vines
25908feef9
Fund accounts with the worst-case fee
2019-06-14 19:52:44 -07:00
Jack May
b91ad6fd96
Clear C dependency files from cache ( #4692 )
2019-06-14 19:11:16 -07:00
Pankaj Garg
02abf422df
Serialize genesis block using bincode ( #4687 )
...
* use mmap to read the genesis block, and deserialize
2019-06-14 14:22:52 -07:00
Rob Walker
3fe5f886d7
change store to store_account ( #4689 )
2019-06-14 13:34:15 -07:00
Rob Walker
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
sakridge
589a9d3a72
Create aligned number of keypairs so they all get funded ( #4685 )
2019-06-14 11:11:52 -07:00
Michael Vines
bd884a56bf
Install libssl1.1 better
2019-06-14 08:01:22 -07:00
Sagar Dhawan
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
Pankaj Garg
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
Greg Fitzgerald
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
Sagar Dhawan
b1ac8f933b
Fix storage program space issues and limit storage transaction data ( #4677 )
2019-06-13 17:53:54 -07:00
sakridge
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
Rob Walker
34c0537e9b
update book with staking changes ( #4679 )
2019-06-13 16:24:03 -07:00
Michael Vines
8628f33d0b
Fix HostId field in the testnet dashboard
2019-06-13 16:09:09 -07:00
Michael Vines
ed05aeaef8
Permit datapoints with no fields
2019-06-13 16:09:09 -07:00
Michael Vines
e1444a9b00
Add curl retries
2019-06-13 15:05:07 -07:00
Michael Vines
9514169bf6
Ensure volume mountpoints exist
2019-06-13 15:05:07 -07:00
Michael Vines
fa8394f526
Initial documentation for validator metrics
2019-06-13 15:05:07 -07:00
Michael Vines
1cd8c1865e
Generate random passwords and keep them out of the environment/program args
2019-06-13 12:37:39 -07:00
Pankaj Garg
e3f895d7d4
Create bench exchange accounts in genesis block ( #4655 )
...
* fix script
* review comments
2019-06-13 11:51:35 -07:00
Tyera Eulberg
8abf22f34b
Temporarily revert: Convert System Transfer accounts to credit-only ( #4670 )
2019-06-13 11:01:09 -06:00
Michael Vines
a016bc2736
Add infra to publish metrics tarball
2019-06-13 10:00:24 -07:00
Michael Vines
470debef16
Inline metrics/scripts dependencies
2019-06-13 10:00:24 -07:00
Michael Vines
c147dc3028
Update README
2019-06-13 10:00:24 -07:00
Michael Vines
bdd95b2286
Generate local dashboard to avoid duplication
2019-06-13 10:00:24 -07:00
Michael Vines
efe676bc94
Minor script refactoring/refinement
2019-06-13 10:00:24 -07:00
Michael Vines
fc34687687
Create write-only user, default to custom grafana
2019-06-13 10:00:24 -07:00
Michael Vines
6042ccf496
Streamline grafana.ini
2019-06-13 10:00:24 -07:00
Michael Vines
f1197e1b1f
Adjust datasource name
2019-06-13 10:00:24 -07:00
carllin
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
Tyera Eulberg
0da9ac1a47
Remove unnecessary parameter element ( #4666 )
...
* Stop passing pubkey ref unnecessarily
* Cargo.lock
2019-06-12 16:18:27 -06:00
sakridge
c1f316721a
Clean up some error handling ( #4667 )
...
Shouldn't call exit from a library function.
2019-06-12 15:01:59 -07:00
Michael Vines
8e86014311
Update stakers_slot_offset if slots_per_epoch is adjusted ( #4660 )
2019-06-12 14:12:17 -07:00
Michael Vines
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
Jack May
bc44516eb4
Add test to exercise more args then registers ( #4661 )
2019-06-12 13:04:53 -07:00
Jack May
b78a13d42c
Nits ( #4662 )
2019-06-12 13:04:24 -07:00
Jack May
0dcdc37fec
Split BPF loader to match the rest of the programs ( #4636 )
2019-06-12 08:49:59 -07:00
Michael Vines
dd1c3514a8
Use auto hashes-per-tick config for testnet testnet
2019-06-12 08:40:56 -07:00
Rob Walker
767efab941
add inflation to genesis ( #4652 )
...
* add inflation to genesis
* avoid having to write new()
2019-06-11 21:42:31 -07:00
Pankaj Garg
288a3bdcd9
Provision bench client accounts in genesis block ( #4648 )
...
* fixes to script
* shellcheck
* address review comments
2019-06-11 18:47:35 -07:00
Sagar Dhawan
8019bff391
Fixes for storage program and rework storage stage ( #4654 )
...
automerge
2019-06-11 18:27:47 -07:00
Rob Walker
575a897ffc
track market cap ( #4643 )
...
* track market cap
* fixup, rebase
* prettier
2019-06-11 17:04:13 -07:00
Rob Walker
697228a484
rpc vote_accounts by ecurrent pocch, not stakers epoch ( #4651 )
2019-06-11 16:57:47 -07:00
Pankaj Garg
ca907f37c3
fix cuda testnet compilation errors ( #4649 )
2019-06-11 15:30:39 -07:00
Jack May
439e7cc26a
Add dependent crate test ( #4647 )
...
automerge
2019-06-11 11:45:12 -07:00
Rob Walker
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
Jack May
6dbba86cc6
Cleanup rust-utils ( #4646 )
...
automerge
2019-06-11 11:42:30 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Rob Walker
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
Michael Vines
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
carllin
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
Tyera Eulberg
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
Pankaj Garg
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
Michael Vines
b4d4edb645
Restore cargo install to work around --features= 'feature' ( #4627 )
2019-06-10 18:49:08 -07:00
sakridge
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
carllin
73491e3ca1
bump libssl ( #4634 )
2019-06-10 18:03:13 -07:00
Rob Walker
d1d53c3fb6
calculate stake from activated amount ( #4630 )
2019-06-10 16:17:29 -07:00
Rob Walker
a77e576cd9
void key
2019-06-10 15:54:32 -07:00
Sagar Dhawan
9e14cde461
Revert "Fix roots never being purged ( #4134 )" ( #4628 )
...
automerge
2019-06-10 14:08:09 -07:00
Michael Vines
a2a7c86c0d
Move Testnet Participation under Getting Started
2019-06-10 13:53:31 -07:00
Michael Vines
38aeed02fc
Ignore dependabot branches
2019-06-10 12:50:48 -07:00
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Rob Walker
a18c0e34f4
add activate_stake to stake_api ( #4600 )
2019-06-10 12:17:29 -07:00
Jack May
be3a0b6b10
Build/clean all ( #4626 )
...
automerge
2019-06-10 11:15:28 -07:00
Jack May
9f6496d38a
Panic filename ( #4625 )
...
automerge
2019-06-10 11:00:15 -07:00
Jack May
1fa31c9410
.iter fixed, drop enumerate where not needed ( #4624 )
...
automerge
2019-06-10 10:19:58 -07:00
Michael Vines
2b5e757d57
Adjust slack notification
2019-06-10 07:44:31 -07:00
Michael Vines
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
Michael Vines
6926e89e86
Minor doc update
2019-06-08 19:36:37 -07:00
Michael Vines
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
Michael Vines
91b23f8316
Switch from solana-install to solana-install-init
2019-06-08 19:24:36 -07:00
Michael Vines
2fd8d57504
Print path normally to avoid forward slash escaping
2019-06-08 19:22:17 -07:00
Michael Vines
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
Michael Vines
9f46b2a6ce
Avoid weird paths on Windows ( #4612 )
...
automerge
2019-06-08 17:23:34 -07:00
Michael Vines
a357d08524
Avoid unnecessary re-downloading if |solana-install init| is invoked repeatedly ( #4611 )
2019-06-08 17:15:16 -07:00
Michael Vines
177c9cc026
-f
2019-06-08 16:33:22 -07:00
TristanDebrunner
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
Michael Vines
8676b5d40c
Use more -f
2019-06-07 22:18:55 -07:00
Michael Vines
efab896c9e
Ignore unencrypted file
2019-06-07 21:38:30 -07:00
Michael Vines
97b9d57b62
shellcheck
2019-06-07 21:35:51 -07:00
Michael Vines
487826a539
Deploy windows updates
2019-06-07 20:46:58 -07:00
Michael Vines
4acb764589
Pick up .exe extension
2019-06-07 20:13:47 -07:00
Michael Vines
9de4c1dcd9
Add slack notification
2019-06-07 19:58:52 -07:00
Michael Vines
e8c4302d6d
Add Appveyor CI for Windows release artifacts
2019-06-07 19:47:26 -07:00
Michael Vines
a9f73ea321
solana-keygen no longer blindly overwrites a keypair, or assumes "new" ( #4599 )
...
automerge
2019-06-07 17:54:54 -07:00
Jack May
66c41b3e8c
Enable iter test ( #4542 )
...
automerge
2019-06-07 16:44:14 -07:00
Michael Vines
8435fbfa0b
Travis window support is too unstable, disable for now
2019-06-07 15:17:27 -07:00
Jack May
9a4c449135
Builtins ( #4594 )
...
automerge
2019-06-07 14:38:49 -07:00
Pankaj Garg
ac6dbf8f04
Broadcast blobs even if the peers have no stake ( #4597 )
2019-06-07 14:12:27 -07:00
Michael Vines
b55927370b
Restore OS -> TARGET map
2019-06-07 13:22:40 -07:00
Michael Vines
002fbc4d53
Add |wallet fees| subcommand for easy viewing of the current cluster fees ( #4596 )
2019-06-07 13:11:56 -07:00
anatoly yakovenko
53deb7919c
Update book for Turbine ( #4583 )
2019-06-07 13:03:05 -07:00
Michael Vines
8e46c44f3e
Deploy mac OS solana-install update package to testnets ( #4595 )
2019-06-07 12:59:58 -07:00
Rob Walker
37c2fa1d8d
add current to bank syscalls ( #4581 )
2019-06-07 11:41:34 -07:00
Michael Vines
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
carllin
c9d63204eb
Replace unneeded seqcst with relaxed on atomic operations ( #4587 )
2019-06-06 23:53:21 -07:00
Michael Vines
cfab54511b
Ignore bench_banking_stage_multi_accounts ( #4590 )
...
automerge
2019-06-06 21:47:07 -07:00
Michael Vines
492cc93850
Limit short_vec length to u16, usize is overkill for our usage ( #4588 )
2019-06-06 20:18:41 -07:00
Rob Walker
fd9fd43e83
add solana_name_id, reassociate names with modules, modularize id tests ( #4580 )
2019-06-06 19:27:49 -07:00
Pankaj Garg
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
Sagar Dhawan
688f8a669a
Add a storage accounts cache to Bank ( #4578 )
2019-06-06 17:40:01 -07:00
Michael Vines
46eea85022
Improve error message
2019-06-06 17:06:56 -07:00
Michael Vines
1c765124e7
Clean up .configured flag handling to work with an external identity keypair ( #4579 )
...
automerge
2019-06-06 14:51:48 -07:00
Pankaj Garg
194491ae96
Removed some dead code ( #4563 )
...
* Removed some dead code
* remove dead code from Replicator
2019-06-06 14:26:12 -07:00
Michael Vines
2ae595294c
fullnode.rs: restart the node correctly on non-zero exit
2019-06-06 13:46:46 -07:00
Pankaj Garg
ead947e710
Change default setting for real PoH in testnet scripts ( #4573 )
2019-06-06 12:49:46 -07:00
anatoly yakovenko
82df267ec9
s/avalanche/turbine ( #4561 )
...
* s/avalanche/turbine/g
2019-06-06 12:48:40 -07:00
Michael Vines
53275cc678
Introduce normalized CI environment vars: ci/env.sh ( #4571 )
2019-06-06 12:20:47 -07:00
Sagar Dhawan
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
Michael Vines
ee42040e6b
Give coverage build more time ( #4572 )
...
automerge
2019-06-06 11:07:32 -07:00
Michael Vines
2b98a16ec6
Upgrade to rust stable 1.35.0 ( #4568 )
2019-06-06 09:24:38 -07:00
Michael Vines
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
Michael Vines
8f50c3dd2e
Be explicit about return status
2019-06-05 14:12:06 -07:00
Michael Vines
9c47ce30a7
shift
2019-06-05 12:06:54 -07:00
Rob Walker
3433b08b8c
remove unnecessary wrapper ( #4559 )
2019-06-05 11:43:41 -07:00
Michael Vines
d26fd27bf9
Avoid sudo in tune-system.sh unless requested by the user ( #4556 )
2019-06-05 09:10:23 -07:00
Michael Vines
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
Michael Vines
51aacfe3ca
Use pure-rust reed-solomon-erasure for windows ( #4548 )
2019-06-04 21:49:27 -07:00
Michael Vines
82bd2df986
Use Library::new() for windows ( #4544 )
2019-06-04 21:49:05 -07:00
Michael Vines
aa88c40a9e
multi_bind_in_range(): limit to 1 socket in windows ( #4549 )
2019-06-04 20:55:02 -07:00
Michael Vines
8ec5a47027
Add EntryWriter::write() stub for windows ( #4546 )
2019-06-04 20:15:37 -07:00
carllin
5bd3eb4557
Up number of threads ( #4541 )
2019-06-04 18:01:28 -07:00
dependabot-preview[bot]
e9cb4a12dc
Bump serde_derive from 1.0.91 to 1.0.92 ( #4505 )
...
automerge
2019-06-04 15:48:23 -07:00
Sagar Dhawan
de5cad9211
Add account owner to Storage Accounts ( #4537 )
...
* Add account owner to Storage Accounts
* Fix tests
2019-06-04 14:52:52 -07:00
Michael Vines
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
dependabot-preview[bot]
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
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Pankaj Garg
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
Rob Walker
e7129757c9
store_accounts to use try_available ( #4523 )
...
* store_accounts to use try_available
* tighter
* clippy
2019-06-04 11:21:12 -07:00
Michael Vines
3635a68129
solana-install now compiles for Windows ( #4531 )
...
automerge
2019-06-04 08:51:20 -07:00
Pankaj Garg
70a16e91a5
Randomize avalanche broadcast peer table for each blob ( #4529 )
...
* fix clippy warnings
2019-06-03 20:38:05 -07:00
Dan Albert
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
Michael Vines
ff77789718
Collect fees at the end of a slot ( #4525 )
2019-06-03 18:40:20 -07:00
Sagar Dhawan
a77775cb58
Move validation submissions into its own fn ( #4528 )
...
automerge
2019-06-03 18:27:06 -07:00
Sagar Dhawan
167e15a5ae
Update replicator sampling and proof generation ( #4522 )
...
* Update replicator sampling and proof generation
* Clippy
2019-06-03 17:27:28 -07:00
sakridge
dea663d509
Storage arranged by fork ( #4518 )
2019-06-03 15:34:32 -07:00
Michael Vines
9754e551cb
Fund vote accounts with 1 lamport only ( #4512 )
2019-06-03 14:48:01 -07:00
Pankaj Garg
40a4ac15f1
Remove per transaction fee ( #4521 )
...
automerge
2019-06-03 13:00:08 -07:00
Rob Walker
c56052ff16
remove from_account from stake_instruction ( #4502 )
2019-06-03 09:04:51 -07:00
Rob Walker
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
Michael Vines
e4ca3900ae
Reduce default validators from 5 to 2
2019-06-02 22:58:59 -07:00
Pankaj Garg
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
Michael Vines
e15246746d
Enable non-zero fees for all testnets ( #4513 )
...
automerge
2019-05-31 22:33:55 -07:00
Michael Vines
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
Michael Vines
bc1368ba3e
Make run.sh compatible with multinode-demo/validator.sh ( #4507 )
...
automerge
2019-05-31 16:51:09 -07:00
Michael Vines
c0a161afe8
Enable fees in ci/localnet-sanity.sh ( #4508 )
...
automerge
2019-05-31 16:50:39 -07:00
Michael Vines
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
Tyera Eulberg
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
Michael Vines
ce04d2bfc2
Add replicator support to net/ ( #4494 )
2019-05-31 15:27:31 -07:00
Rob Walker
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
Rob Walker
028e111fbc
remove payer from vote instructions ( #4475 )
2019-05-31 11:45:17 -07:00
dependabot-preview[bot]
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
Michael Vines
d2f9625878
minor update
2019-05-31 07:36:59 -07:00
Sathish
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
Michael Vines
2d284ba6db
Fix clear-config.sh
2019-05-30 15:31:41 -07:00
Michael Vines
1de805e7cd
Add fees syscall to expose cluster fees into programs ( #4472 )
2019-05-30 15:18:48 -07:00
Michael Vines
d642125f68
publish-crate fixups
2019-05-30 15:15:58 -07:00
Sagar Dhawan
b8aff218e2
Shutdown all services before bailing replicator init ( #4487 )
...
automerge
2019-05-30 14:36:47 -07:00
carllin
045d4d5294
Unignore test test_repairman_catchup ( #4484 )
2019-05-30 13:21:12 -07:00
Dan Albert
d67dd8ce1f
Fix stable metrics dashboard for current channel use ( #4483 )
2019-05-30 13:16:26 -06:00
Michael Vines
4d6679906b
Clean up crates.io publishing ( #4478 )
...
* Clean up crates.io publishing
* Cargo.lock
2019-05-30 11:53:41 -07:00
Michael Vines
4537f54532
Break noop_program -> runtime dependency ( #4481 )
2019-05-30 11:20:49 -07:00
Michael Vines
39b40dfff8
Remove runtime dependency on storage ( #4480 )
2019-05-30 10:54:28 -07:00
carllin
c82f4a1b6d
Unignore test_repairman_catchup
2019-05-29 21:59:41 -07:00
Michael Vines
7a021dff05
Beautify Cargo.tomls with |cargo tomlfmt| ( #4477 )
2019-05-29 18:30:49 -07:00
carllin
348c2263ba
Remove genesis blockhash ( #4471 )
...
* Remove genesis blockhash
* Remove genesis blockhash from tests
* Fix golden
2019-05-29 17:29:02 -07:00
Pankaj Garg
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
Sagar Dhawan
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
sakridge
4404634b14
Coalesce packets better ( #4456 )
2019-05-29 12:17:50 -07:00
Rob Walker
6a1de33138
tighten up packets_to_blobs ( #4464 )
...
* tighten up packets_to_blobs
* missed a test
2019-05-29 10:08:35 -07:00
Rob Walker
c05c3e69ca
add tests and groom naming ( #4467 )
2019-05-29 10:08:03 -07:00
carllin
534244b322
Fix set_roots to use cached bank parents instead of searching blocktree ( #4466 )
2019-05-29 09:43:22 -07:00
Sagar Dhawan
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
Michael Vines
a7ef409c2b
Drop influxcloud ( #4460 )
...
automerge
2019-05-28 16:26:59 -07:00
Rob Walker
14594217db
undelete votestate etc ( #4457 )
2019-05-28 16:01:27 -07:00
Pankaj Garg
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
Rob Walker
9fcd162412
update book with passive staking ( #4451 )
2019-05-28 14:02:04 -07:00
Rob Walker
441fed7a5b
check freeze before updating slot_hashes ( #4448 )
...
* check freeze before updating slot_hashes
* fixup
2019-05-28 12:25:55 -07:00
Rob Walker
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
Tyera Eulberg
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
sakridge
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
dependabot-preview[bot]
13c2e50b38
Bump sys-info from 0.5.6 to 0.5.7 ( #4445 )
...
automerge
2019-05-27 20:31:12 -07:00
Michael Vines
dd39b2b056
Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it
2019-05-27 19:35:04 -07:00
carllin
65f89d6729
Bump logging level of validator procsesing errors ( #4442 )
2019-05-27 16:19:38 -07:00
Michael Vines
1eceb4831d
Use nohup and sleep a little to improve stability when launching a node
2019-05-27 13:57:40 -07:00
Michael Vines
50303c9ede
data_dir -> data-dir
2019-05-27 07:31:50 -07:00
Michael Vines
ed6a438c51
v0.16.0
2019-05-26 19:42:15 -07:00
Michael Vines
2adb98a4a0
Ignore flaky test_repairman_catchup ( #4439 )
...
automerge
2019-05-26 12:24:20 -07:00
Michael Vines
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
Michael Vines
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
carllin
aa3c00231a
Fix should_update check to update EpochSlots in gossip ( #4435 )
...
automerge
2019-05-25 06:44:40 -07:00
carllin
d772a27936
Plumb ClusterInfoRepairListener ( #4428 )
...
automerge
2019-05-24 19:20:09 -07:00
Rob Walker
0302f13b97
add datapoint for corrupt vote_account ( #4424 )
2019-05-24 18:34:56 -07:00
Tyera Eulberg
16b25d0874
Clone with https for Travis/repo with submodules ( #4431 )
2019-05-24 21:18:31 -04:00
Michael Vines
c2dcbee6af
cd within the subshell
2019-05-24 18:10:25 -07:00
Pankaj Garg
1f71d05299
remove copying of forwarded packets ( #4425 )
...
automerge
2019-05-24 17:35:09 -07:00
Jack May
bfa1c025fd
Add rust bpf allocator ( #4426 )
2019-05-24 16:21:42 -07:00
sakridge
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
Sagar Dhawan
916844d399
Fix replicator account setup in fullnode.sh ( #4430 )
2019-05-24 15:40:49 -07:00
Sagar Dhawan
4c9b7c9d2b
Submit all incoming proofs as valid ( #4377 )
2019-05-24 14:49:10 -07:00
Michael Vines
9843c3a5cb
Restrict transaction fee payers to system accounts ( #4198 )
...
automerge
2019-05-24 13:06:55 -07:00
Michael Vines
f56955a17c
Use absolute path to env.sh
2019-05-24 12:27:12 -07:00
Michael Vines
9784bbf154
Pay for storage transactions with a system account ( #4423 )
...
automerge
2019-05-24 11:04:05 -07:00
Michael Vines
45642c4da1
Add path to env.sh
2019-05-24 09:56:07 -07:00
Michael Vines
8eac199e8b
Include perf-libs in release tarball ( #4422 )
2019-05-24 09:28:52 -07:00
Michael Vines
2e251ccc5c
De-fullnode variable names ( #4420 )
2019-05-24 04:31:39 -07:00
carllin
cf4bb70d80
Rename id to pubkey in cluster_info_repair_listener ( #4421 )
2019-05-24 04:31:32 -07:00
carllin
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
Michael Vines
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
Michael Vines
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
Tyera Eulberg
50207a30ef
Rename solana-fullnode to solana-validator redux ( #4417 )
2019-05-23 21:28:18 -07:00
Rob Walker
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
Tyera Eulberg
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
sakridge
0b892b2579
Reduce 100ms to 1ms. ( #4412 )
...
automerge
2019-05-23 15:15:26 -07:00
Michael Vines
fb2eac20bb
Rename solana-fullnode to solana-validator ( #4411 )
2019-05-23 15:06:01 -07:00
Michael Vines
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
Pankaj Garg
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
carllin
6a9e0bc593
Change EpochSlots to use BtreeSet so that serialization/deserialization returns the same order ( #4404 )
...
automerge
2019-05-23 03:50:41 -07:00
carllin
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
Michael Vines
2ed77b040a
create_genesis_block() now returns a struct ( #4403 )
2019-05-22 20:39:00 -07:00
Rob Walker
7ada8510c4
add slot_hashes to bank, remove phony slot_hashes_from_vote_instruction ( #4401 )
2019-05-22 19:07:56 -07:00
Pankaj Garg
b8f6c17dee
Don't filter transactions if we are buffering it locally ( #4395 )
...
automerge
2019-05-22 17:54:28 -07:00
Pankaj Garg
2f976ae460
Dashboard update for real PoH performance ( #4397 )
2019-05-22 16:18:57 -07:00
Pankaj Garg
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
Tyera Eulberg
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
Jack May
c121498b5b
Check that Rust project exists ( #4393 )
2019-05-22 15:09:59 -07:00
Pankaj Garg
eef2bdf690
Add CPU affinity for PoH service thread ( #4394 )
...
automerge
2019-05-22 14:21:43 -07:00
dependabot[bot]
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
sakridge
90e73515ed
Remove ls which is innacurate since we never clean up the logs ( #4392 )
...
automerge
2019-05-22 13:11:20 -07:00
sakridge
1d7a758c97
Bump perf libs version to fix out buffer sizing ( #4385 )
2019-05-22 13:00:03 -07:00
Jack May
e5b7aead12
Cargo watch ignores local metrics ( #4384 )
2019-05-22 00:08:18 -07:00
Rob Walker
578c2ad3ea
add bank hash to votes ( #4381 )
2019-05-21 21:45:38 -07:00
Rob Walker
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
dependabot[bot]
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
Rob Walker
41a377013f
fix spelling ( #4378 )
...
automerge
2019-05-21 17:13:21 -07:00
sakridge
52d453d06f
Reduce broadcast prints ( #4368 )
2019-05-21 17:02:19 -07:00
Rob Walker
58295b825d
introduce syscalls ( #4373 )
2019-05-21 15:19:41 -07:00
Jack May
f6c7812fcc
Rename Broker to Swapper ( #4371 )
2019-05-21 14:21:41 -07:00
Jack May
2f7561e4ee
Split SDK's BPF Rust-utils ( #4369 )
2019-05-21 13:39:27 -07:00
Jack May
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
Jack May
28f948aa7f
Multi rust projects ( #4362 )
2019-05-21 11:22:33 -07:00
Sagar Dhawan
c9ba9e4eb7
Add storage space constant ( #4366 )
...
automerge
2019-05-21 11:07:13 -07:00
sakridge
f877fb8c8f
Don't print leader update message unless leader actually updates ( #4365 )
2019-05-21 11:06:56 -07:00
Michael Vines
772ba41ede
Cargo.lock
2019-05-21 08:08:07 -07:00
Michael Vines
6374e69a69
Add mining pool wallet commands ( #4360 )
...
automerge
2019-05-21 07:32:38 -07:00
Jack May
ef0580bd3d
#4271 not reproducable, remove workaround ( #4363 )
2019-05-20 23:45:09 -07:00
carllin
1a77486f8e
Make RootedSlotsIterator for traversing slots on the root fork ( #4361 )
2019-05-20 23:09:00 -07:00
Rob Walker
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
Michael Vines
1acfcf3acf
Fix storage-keypair
2019-05-20 19:54:37 -07:00
Sagar Dhawan
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
carllin
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
sakridge
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
dependabot[bot]
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
Sagar Dhawan
af82b0dce9
Fix sending root slots instead of current slot ( #4354 )
...
automerge
2019-05-20 15:01:55 -07:00
Rob Walker
d4da2fbacd
fix bench warnings ( #4356 )
2019-05-20 14:32:23 -07:00
Michael Vines
77efe95730
Order "install" correctly
2019-05-20 13:54:15 -07:00
Rob Walker
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
Michael Vines
114e2989fa
Improve PoH unit test asserts ( #4351 )
...
automerge
2019-05-20 13:02:44 -07:00
sakridge
7024c73e9b
Revert banking threads increase which seems to be slower in testing. ( #4349 )
2019-05-20 11:42:37 -07:00
Michael Vines
6d418aa3f1
Use rust_stable
2019-05-20 10:48:48 -07:00
Michael Vines
f079a78c5e
Remove fee arg from system_transaction::* ( #4346 )
...
automerge
2019-05-20 10:03:19 -07:00
Michael Vines
6365c4c061
Use cleanup ( #4347 )
2019-05-20 09:58:27 -07:00
sakridge
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
Michael Vines
034eda4546
Fix a couple replicator nits ( #4345 )
...
automerge
2019-05-20 08:55:45 -07:00
Greg Fitzgerald
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
Michael Vines
a7e160e5c4
Add datapoint metrics to dashboard ( #4343 )
...
automerge
2019-05-19 15:07:03 -07:00
Michael Vines
6283cc916d
Add SOLANA_METRICS_MAX_POINTS_PER_SECOND env var ( #4342 )
2019-05-19 13:56:52 -07:00
dependabot[bot]
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
Michael Vines
20b2be6e0b
Enable real PoH on beta testnet as well
2019-05-18 19:45:00 -07:00
Michael Vines
cbebc7a80c
Expand shortArgs correctly
2019-05-18 19:00:48 -07:00
Sagar Dhawan
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
Michael Vines
167890ca63
Set rust_version
2019-05-18 14:48:53 -07:00
Michael Vines
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
Michael Vines
7e1a7862db
test_process_store_ok() now pays with a system account ( #4339 )
...
automerge
2019-05-17 20:17:50 -07:00
Michael Vines
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
Rob Walker
431cc82032
add Transaction::partial_sign() ( #4333 )
...
* add partial sign
* nits
2019-05-17 18:55:57 -07:00
dependabot[bot]
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
Pankaj Garg
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
Sagar Dhawan
788290ad82
Rework Storage Program to accept multiple proofs per segment ( #4319 )
...
automerge
2019-05-17 14:52:54 -07:00
dependabot[bot]
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
Jack May
4ed0cded9c
Rm metrics docker even if not running ( #4329 )
2019-05-17 13:13:38 -07:00
sakridge
035a364122
Add expect to get better errors on crash ( #4327 )
2019-05-17 12:49:41 -07:00
sakridge
b114bc3674
Add benchmark for sigverify stage ( #4320 )
2019-05-17 11:09:42 -07:00
Jack May
bc74ee7117
Common Rust-BPF utilities and types ( #4325 )
2019-05-17 11:04:29 -07:00
Pankaj Garg
b2ce5dc9f5
Adjust log level for counter metrics ( #4323 )
2019-05-17 07:00:06 -07:00
Pankaj Garg
e920191de0
Rate limit metrics per log level ( #4313 )
...
* Rate limit metrics per log level
* fix tests
2019-05-16 22:27:05 -07:00
Rob Walker
39e85a3e53
kill some bs58 ( #4316 )
...
* kill some bs58
* fixup
2019-05-16 21:43:18 -07:00
Trent Nelson
41156da4ca
Sync run.sh with fd3f2cb
( #4322 )
...
automerge
2019-05-16 21:32:23 -07:00
Jack May
9271ba0039
Cleanup Rust BPF program building ( #4318 )
2019-05-16 17:35:42 -07:00
carllin
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
Rob Walker
7bfb60f82e
add impl FromStr for Signature ( #4315 )
...
automerge
2019-05-16 14:54:31 -07:00
Jack May
359c50f1b3
cp -a includes -r ( #4312 )
2019-05-16 12:24:04 -07:00
Greg Fitzgerald
fff1631a8b
Return a better error when a program account isn't found ( #4310 )
2019-05-16 11:32:27 -06:00
Jack May
7d42ae30d9
Update Rust-BPF to 2018 Edition ( #4307 )
2019-05-16 09:12:33 -07:00
Rob Walker
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
Sagar Dhawan
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
dependabot[bot]
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
carllin
abd7f6b090
Change slot_meta_iterator() to return an iterator not a cursor ( #4303 )
...
automerge
2019-05-15 18:28:23 -07:00
Sagar Dhawan
d8735df1de
Update replicator to use cluster_info instead of cached client ( #4302 )
2019-05-15 18:14:04 -07:00
dependabot[bot]
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
Pankaj Garg
778bcbce50
Reduce log level for frequent log message and frequency for metrics datapoint ( #4300 )
...
automerge
2019-05-15 16:01:17 -07:00
Sagar Dhawan
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
Michael Vines
915956b94b
Remove disable leader rotation option ( #4299 )
...
automerge
2019-05-15 15:16:45 -07:00
Sagar Dhawan
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
Jack May
2bef1b0433
Use rust-bpf-sysroot release branches ( #4293 )
2019-05-15 12:45:48 -07:00
Rob Walker
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
Sagar Dhawan
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
Jack May
3204a00e73
Update rust-bpf-sysroot to latest ( #4291 )
2019-05-15 09:53:44 -07:00
dependabot[bot]
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
Michael Vines
6e4f9cedf2
Fix Plum Tree link
2019-05-15 08:15:22 -07:00
carllin
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
Sagar Dhawan
1d54d29076
Fix reading ledger for chacha encrypt ( #4288 )
2019-05-14 16:59:17 -07:00
Sagar Dhawan
10b9a4806b
Fix incorrect genesis blockhashes on restart ( #4287 )
2019-05-14 16:32:44 -07:00
Rob Walker
0c1191c3ee
rework staking_utils ( #4283 )
2019-05-14 16:15:51 -07:00
Rob Walker
18b386cd10
remove unused make_active_set_entries ( #4284 )
2019-05-14 15:08:49 -07:00
dependabot[bot]
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
Rob Walker
216e9a61a0
expose stake directly from bank ( #4281 )
2019-05-14 13:35:14 -07:00
Rob Walker
0f498e6265
remove unused filter_zero_balance ( #4279 )
2019-05-14 10:44:29 -07:00
Rob Walker
e8ad822111
get program names from programs ( #4273 )
...
* get program names from programs
* fixup
2019-05-14 10:44:16 -07:00
carllin
65a82ebf50
Fix broken tip ( #4278 )
...
automerge
2019-05-14 02:35:32 -07:00
Sathish
727802684c
Use 20 bytes signature slice for cache purposes ( #4260 )
2019-05-13 22:53:10 -07:00
carllin
e20a8329d3
Add API to iterate over slot's blobs ( #4276 )
2019-05-13 22:04:54 -07:00
Sagar Dhawan
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
carllin
3bd921264a
Move EpochSchedule into own module ( #4272 )
2019-05-13 16:24:32 -07:00
carllin
7501ed65e5
Initialize and Update EpochSlots in RepairService ( #4255 )
...
* Initialize EpochSlots in RepairService
* Fix flaky test
2019-05-13 15:37:50 -07:00
Michael Vines
2eaa64c4e8
valhashators -> validators
2019-05-13 15:29:23 -07:00
Pankaj Garg
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
Michael Vines
a4fb01b42b
Add +x
2019-05-13 14:30:44 -07:00
Rob Walker
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
Mark E. Sinclair
796000e96f
Improve erasure metrics ( #4268 )
...
* Improve erasure metrics
* Simplify metrics submission
2019-05-13 16:04:43 -05:00
Rob Walker
e2f00dc205
Cargo.toml implied ( #4270 )
...
automerge
2019-05-13 13:51:42 -07:00
Sagar Dhawan
5e91f8f59d
Update reported tx count to exclude errors ( #4201 )
2019-05-13 13:23:52 -07:00
Dan Albert
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
Michael Vines
a2e3a92b01
Extend GetBlockHash RPC API to include the fee scehdule for using the returned blockhash ( #4222 )
2019-05-13 12:49:37 -07:00
Rob Walker
23c696706b
add stake_accounts to banks' caches ( #4267 )
2019-05-13 12:33:23 -07:00
Michael Vines
1393d26f63
Remove obsolete internal multinode-demo/ logging ( #4265 )
2019-05-13 10:51:18 -07:00
Tyera Eulberg
1b68da7572
Use solana-ed25519-dalek v0.2.0 ( #4264 )
...
automerge
2019-05-13 09:51:59 -07:00
Michael Vines
8542006259
Config instructions now only require one key ( #4258 )
2019-05-12 22:47:12 -07:00
Michael Vines
426d06b89b
Improve target/ cache logging
2019-05-12 22:16:23 -07:00
Michael Vines
06378d6db6
Refine killNode logging
2019-05-12 21:21:31 -07:00
Michael Vines
dccfe31e8c
Increase target cache size for coverage build
2019-05-12 21:21:31 -07:00
Michael Vines
1dce5976cf
Disable node restart in localnet-sanity.sh
2019-05-12 21:21:31 -07:00
Michael Vines
340d01665c
Avoid generating default keypair
2019-05-12 21:21:31 -07:00
Michael Vines
50f79e495e
net/ improvements ( #4257 )
...
automerge
2019-05-11 22:54:50 -07:00
Michael Vines
dd12db2f06
Correctly handle more zones than additional nodes
2019-05-11 14:47:27 -07:00
Michael Vines
1afccb7351
Add more regions to the testnet
2019-05-11 14:12:13 -07:00
Michael Vines
bfc65e829e
Use zone[0] for any left over nodes
2019-05-11 14:07:36 -07:00
dependabot[bot]
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
Michael Vines
55f5f6a033
Make links clickable
2019-05-10 19:49:45 -07:00
Dan Albert
7ae421eaf6
Update release version in book ( #4254 )
2019-05-10 18:43:08 -06:00
Michael Vines
e7da2c0931
Add validator registration link ( #4229 )
2019-05-10 15:14:03 -07:00
Pankaj Garg
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
Tyera Eulberg
06a93dcb43
Move to solana-ed25519-dalek ( #4248 )
2019-05-10 15:26:46 -06:00
carllin
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
carllin
0da6e1af14
Repair Design Proposal ( #3402 )
...
* Update information about existing repair protocol + new repairman proposal
2019-05-10 13:50:23 -07:00
sakridge
576524f13b
Updates to storage proposal with more storage contract details ( #3373 )
2019-05-10 09:19:06 -07:00
Jack May
f567877d1d
Cleanup metrics ( #4230 )
2019-05-10 08:33:58 -07:00
carllin
9881820444
RepairService saves db_iterator instead of reconstructing on every search ( #4242 )
2019-05-09 19:57:51 -07:00
Rob Walker
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
Rob Walker
81fa69d347
Revert "Create bank snapshots ( #3671 )" ( #4243 )
...
This reverts commit abf2b300da
.
2019-05-09 19:27:27 -07:00
Sathish
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
Michael Vines
a8254fd258
Clear stale ledger on fullnode startup if necessary ( #4238 )
2019-05-09 17:09:36 -07:00
dependabot[bot]
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
carllin
ab3c988146
API for getting first and last slots in epoch ( #4241 )
...
automerge
2019-05-09 16:06:57 -07:00
carllin
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
Sagar Dhawan
a031b09190
Add replicator support to multinode demo ( #4221 )
...
automerge
2019-05-09 13:43:39 -07:00
Michael Vines
df43e721e3
Exit 1 on ledger verification failure
2019-05-09 12:05:51 -07:00
Rob Walker
5f72650c7f
add derive Debug to Keypair ( #4236 )
2019-05-09 11:41:11 -07:00
sakridge
5d0d467287
fix banking_stage benches ( #4231 )
2019-05-09 11:20:26 -07:00
Rob Walker
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
Michael Vines
1e949caa7f
Move airdrop retries fully out of bash ( #4234 )
...
automerge
2019-05-09 09:48:27 -07:00
Michael Vines
f2b727b534
Update mint keypair filename
2019-05-09 07:27:13 -07:00
Rob Walker
f7680752e7
make gen_keypair_file take &str ( #4232 )
...
automerge
2019-05-08 23:00:48 -07:00
Michael Vines
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
Michael Vines
d486d2b8ce
Consolidate default arg parsing ( #4224 )
...
automerge
2019-05-08 19:12:43 -07:00
carllin
bba94c43b9
Add BankForks to RepairService ( #4223 )
...
automerge
2019-05-08 18:51:43 -07:00
sakridge
9cdffc7d64
Don't push empty vecs into the unprocessed buffers ( #4214 )
2019-05-08 17:58:07 -07:00
Michael Vines
5a86f2506d
Remove unnecessary retrying ( #4219 )
2019-05-08 16:20:37 -07:00
Rob Walker
518227eac0
add-rpc_client.get_account ( #4218 )
2019-05-08 15:50:23 -07:00
carllin
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
Rob Walker
965c1e0000
staking plumbing part 3, 3.5 ( #4216 )
2019-05-08 12:56:11 -07:00
Rob Walker
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
Pankaj Garg
5719b8f251
Change remote node's ssh config to allow more login retries ( #4215 )
...
automerge
2019-05-08 11:20:06 -07:00
Pankaj Garg
1a2b131ceb
Don't forward transactions that are expired or failed signature check ( #4199 )
2019-05-08 10:32:25 -07:00
dependabot[bot]
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
carllin
791ee411a5
Add root to bank forks ( #4206 )
2019-05-07 23:34:10 -07:00
Michael Vines
f690c64375
Disable solana-upload-perf until performance can be debugged ( #4210 )
2019-05-07 23:02:09 -07:00
Jack May
427963f554
Core depends on vote and budget program directly ( #4204 )
2019-05-07 22:41:47 -07:00
Michael Vines
b0f2220ef6
Fix solana-upload-perf log folding. Upload bench output too ( #4208 )
2019-05-07 22:30:42 -07:00
Michael Vines
908b48bf0e
Increase test-stable build timeout
2019-05-07 22:23:43 -07:00
Rob Walker
b49f8c0984
reduce replicode, introduce passive staking support ( #4207 )
2019-05-07 22:22:43 -07:00
Michael Vines
7609a007c6
Add FeeCalculator to the genesis block ( #4196 )
2019-05-07 20:28:41 -07:00
dependabot[bot]
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
Michael Vines
d10bde656a
Pass payer key into get_keys() ( #4203 )
2019-05-07 18:48:31 -07:00
Rob Walker
401764ddb1
add create_delegate_stake_account ( #4197 )
2019-05-07 17:08:49 -07:00
carllin
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
Michael Vines
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
Michael Vines
d9e18a71ec
Pay program loading fees from a system account ( #4190 )
2019-05-07 15:00:54 -07:00
Sagar Dhawan
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
Michael Vines
4f3b22d04e
Minor code restyling, no functional changes
2019-05-07 12:35:29 -07:00
Michael Vines
2c78a93001
GenesisBlock::new(X) => create_genesis_block(X)
2019-05-07 12:34:17 -07:00
Michael Vines
2621aeee82
Set default wallet rpc port correctly
2019-05-07 11:37:51 -07:00
Rob Walker
8e400fc4bd
rework genesis (passive staking groundwork) ( #4187 )
...
* rework genesis
* fixup
2019-05-07 11:16:22 -07:00
Pankaj Garg
29c2a63c8b
Retry transactions that failed due to account lock ( #4184 )
...
* added test
2019-05-07 10:23:02 -07:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Tyera Eulberg
3fd9aada8b
Add missing modules to workspace ( #4183 )
2019-05-06 22:40:54 -06:00
Jack May
453fdb9e28
Add support for local metric collection/viewing ( #4170 )
2019-05-06 16:44:06 -07:00
Greg Fitzgerald
3f6a79b078
Add a validator node proposal ( #3035 )
...
automerge
2019-05-06 13:41:28 -07:00
Pankaj Garg
e9f80e5542
Don't use default ticks per slot in calculating next slot leader ( #4169 )
2019-05-06 11:23:06 -07:00
Rob Walker
694d28acf8
remove some boilerplate ( #4143 )
2019-05-06 10:11:18 -07:00
Michael Vines
88fdba5aca
Temp: bump test-bench timeout
2019-05-06 10:00:00 -07:00
Greg Fitzgerald
a19df7a36c
Add type annotations for external crates ( #4125 )
2019-05-06 10:11:50 -06:00
Michael Vines
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
Tyera Eulberg
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
Michael Vines
0139e5db21
Correct blockstreamer node args
2019-05-04 08:22:36 -07:00
Michael Vines
586fb15c2c
fullnode positional arguments may now be mixed with optional arguments ( #4151 )
2019-05-03 20:49:24 -07:00
carllin
297328ff9a
Fix improper tick sleeping time in test ( #4155 )
...
automerge
2019-05-03 20:15:10 -07:00
dependabot[bot]
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
Pankaj Garg
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
Sagar Dhawan
a7b695c27a
Change replicators to slot-based ( #4118 )
2019-05-03 16:27:53 -07:00
carllin
5bb75a5894
Fix roots never being purged ( #4134 )
2019-05-03 15:17:37 -07:00
Michael Vines
f3f416b7ba
Rename --network argument to --entrypoint ( #4149 )
2019-05-03 15:00:19 -07:00
Michael Vines
31b74bdf0b
Display release date in the local timezone ( #4144 )
2019-05-03 14:54:25 -07:00
Mark E. Sinclair
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
Michael Vines
f91627a230
Remove extra-fullnode-args.sh ( #4142 )
2019-05-03 13:32:59 -07:00
Michael Vines
f9c093022c
multinode-demo/: Merge bootstrap-leader.sh into fullnode.sh ( #4139 )
2019-05-03 12:33:48 -07:00
Michael Vines
7fe3c75c6b
Add a node-specific ip echo service to remove dependency on ifconfig.co ( #4137 )
2019-05-03 11:01:35 -07:00
Michael Vines
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
Pankaj Garg
5b2a82a951
Fix validator confirmation graph y axis scale ( #4136 )
2019-05-02 19:51:56 -07:00
Pankaj Garg
441e76ebeb
Index buffered transactions at the correct offset ( #4126 )
...
* tests
2019-05-02 19:05:53 -07:00
carllin
c2dfb9900e
Revert "Change forwarded metrics to be in line with fetch stage metrics ( #4068 )" ( #4135 )
...
automerge
2019-05-02 17:36:19 -07:00
Mark E. Sinclair
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
Rob Walker
ffb15578ce
remove cargo install cargo-audit from CI ( #4123 )
2019-05-02 15:35:47 -07:00
Rob Walker
abcbbb925f
push latest, too ( #4131 )
2019-05-02 15:33:08 -07:00
Rob Walker
059755fe59
install mdbook and svgbob_cli ( #4128 )
2019-05-02 15:32:31 -07:00
sakridge
ae12dc2c75
Add specs to testnet participation guide ( #4078 )
2019-05-02 15:21:05 -07:00
Rob Walker
37b5c6afaa
install cargo audit ( #4122 )
2019-05-02 13:16:21 -07:00
dependabot[bot]
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
Rob Walker
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
Rob Walker
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
sakridge
1ab5098576
Move get_clients into gossip_service ( #4109 )
2019-05-01 17:14:01 -07:00
Pankaj Garg
598f765960
Fix net.sh for running on macos ( #4107 )
...
automerge
2019-05-01 16:03:35 -07:00
sakridge
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
Pankaj Garg
3eec3cfac2
Cleanup banking stage in lieu of recent transaction forwarding changes ( #4101 )
2019-05-01 15:13:10 -07:00
Jack May
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
Rob Walker
a7d18125d3
install grcov ( #4097 )
2019-05-01 14:27:17 -07:00
Sagar Dhawan
8202310073
Minor update to gossip spy command ( #4103 )
2019-05-01 14:25:26 -07:00
dependabot[bot]
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
sakridge
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
Pankaj Garg
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
Michael Vines
950d8494ba
earlyoom: Stop using unsupported -k option ( #4096 )
...
automerge
2019-05-01 11:29:02 -07:00
Rob Walker
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
Jack May
ad27c30623
Cleanup bench-exchange messages ( #4093 )
2019-04-30 23:09:33 -07:00
Sagar Dhawan
9add8d0afc
Add alternative to Spy Nodes that can fully participate in Gossip ( #4087 )
...
automerge
2019-04-30 16:42:56 -07:00
sakridge
af2e7ea285
Add 1 decimal to validator confirmation ( #4084 )
2019-04-30 16:37:03 -07:00
Rob Walker
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
sakridge
408bdbce7a
Add non_default_stream parameter to cuda_verify ( #4079 )
2019-04-30 13:34:46 -07:00
carllin
1a259d4a3f
Prevent Requests/Caching of leader schedules for epochs beyond confirmed roots ( #4033 )
...
automerge
2019-04-30 13:23:21 -07:00
Michael Vines
c5f8b4960c
Stop nodes in parallel
2019-04-30 10:42:59 -07:00
Michael Vines
21f845ed39
Use more -w
2019-04-30 09:57:14 -07:00
Michael Vines
7a369df9a7
Add flag to skip slow extras when deploying a large testnet
2019-04-30 09:26:50 -07:00
Michael Vines
f02ec31c68
Flip if/else
2019-04-30 08:56:53 -07:00
Michael Vines
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
Dan Albert
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
Greg Fitzgerald
2604f8ac0a
Move implemented functionality into the Implemented Proposals section ( #4057 )
2019-04-29 17:29:41 -06:00
Pankaj Garg
a7574f8657
Cleanup metrics dashboard ( #4072 )
2019-04-29 15:52:04 -07:00
carllin
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
Michael Vines
bae0aadafa
Remove Bench Exchange Contract Execution graph
2019-04-29 14:29:54 -07:00
Jack May
5524146ddf
push down noop's messages ( #4069 )
...
automerge
2019-04-29 14:10:36 -07:00
carllin
3b2adbc9df
Change forwarded metrics to be in line with fetch stage metrics ( #4068 )
...
automerge
2019-04-29 13:50:14 -07:00
Sagar Dhawan
4e41c81bc7
Fix the output from Gossip Discovery ( #4067 )
...
automerge
2019-04-29 13:19:24 -07:00
Jack May
c545e812d0
Expand bank benches to include async/sync and native_loader ( #4026 )
2019-04-29 13:09:11 -07:00
anatoly yakovenko
c2193a37ce
cleanup unused function ( #4064 )
2019-04-29 12:45:14 -07:00
carllin
fabba82173
ignore non-descendants of roots in blocktree ( #4032 )
2019-04-29 12:29:14 -07:00
Michael Vines
c3ec5ad846
testnet-demo: use more low quota nodes
2019-04-29 12:18:39 -07:00
dependabot[bot]
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
Michael Vines
e2e55f81d0
Increase testnet-demo node count a little
2019-04-29 09:09:55 -07:00
Greg Fitzgerald
d862565b16
Move Transact proposal to implemented ( #4055 )
...
And update names to reflect what was implemented.
2019-04-29 09:13:39 -06:00
Michael Vines
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
sakridge
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
anatoly yakovenko
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
anatoly yakovenko
3e14af5033
bast bank ancestor check ( #4050 )
2019-04-28 10:27:09 -07:00
Michael Vines
6f56501034
Correctly terminate instances across multiple zones
2019-04-28 09:09:02 -07:00
Michael Vines
0b7269b64e
Switch testnet-demo to influxcloud
2019-04-27 22:12:50 -07:00
Michael Vines
457a2d948b
Correct us-central1-b zone name
2019-04-27 21:43:18 -07:00
Michael Vines
528bdf34fd
testnet-demo: skip over validator nodes that fail to boot
2019-04-27 21:34:23 -07:00
Pankaj Garg
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
Pankaj Garg
13fcfcb964
Blockstreamer annotation fix for non buildkite deployments ( #4045 )
2019-04-27 20:37:36 -07:00
Michael Vines
9c1fd55768
testnet-demo: add more GCE zones, remove client
2019-04-27 16:52:09 -07:00
Pankaj Garg
7f9a476660
Performance metrics computation methodology ( #4041 )
2019-04-27 16:37:51 -07:00
sakridge
b07290df81
Add usage to net.sh when it encounters an invalid argument ( #4042 )
...
automerge
2019-04-27 16:12:13 -07:00
dependabot[bot]
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
sakridge
64222cfff7
update lock file for 0.15 ( #4039 )
...
automerge
2019-04-27 11:43:12 -07:00
Michael Vines
e81d434903
Add DNS resolution for network/drone arguments ( #4038 )
...
automerge
2019-04-27 10:06:58 -07:00
Michael Vines
bf0dd158de
Avoid inaccurate PATH nagging ( #4034 )
...
automerge
2019-04-27 09:11:02 -07:00
Sagar Dhawan
18e398131d
Fix issues with bench-tps ( #4005 )
2019-04-27 08:39:29 -07:00
Michael Vines
4a5837a286
Add "
2019-04-27 07:41:21 -07:00
Michael Vines
656e2649a7
v0.15.0
2019-04-27 07:38:46 -07:00
Michael Vines
d36af917ea
Swap testnet-beta and testnet configuration
2019-04-26 23:24:35 -07:00
Michael Vines
c81733b41a
Add testnet-demo configuration
2019-04-26 22:59:26 -07:00
Michael Vines
b6558a2ef3
Remove created lockfile
2019-04-26 21:36:20 -07:00
Michael Vines
634d8e25ee
testnet-deploy.sh updates
2019-04-26 21:29:42 -07:00
Michael Vines
fea212e64e
Initialize stopNetwork var
2019-04-26 21:10:36 -07:00
Michael Vines
e3ab76f1a7
Pin recommended release version ( #4021 )
2019-04-26 21:10:31 -07:00
Pankaj Garg
87f1bd58b9
Reduce submit frequency of counters that are very frequent and killing metrics DB ( #4027 )
2019-04-26 20:37:40 -07:00
sakridge
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
Jack May
8b34fd2c75
Fix warnings on nightly ( #4028 )
2019-04-26 16:25:13 -07:00
Jack May
b912ee7fdf
Nit: Spelling ( #4025 )
2019-04-26 16:02:37 -07:00
Jack May
3cf708f019
nit: remove copyposta ( #4024 )
2019-04-26 16:02:13 -07:00
Michael Vines
070e0e9613
Skip *de*serializing too
2019-04-26 14:43:07 -07:00
Dan Albert
3e678511d2
Add enable/disable key value pairs into the steps block ( #4018 )
2019-04-26 14:26:05 -06:00
Michael Vines
4ce2105548
Switch from a S3 URL to release.solana.com for release assets ( #4017 )
...
automerge
2019-04-26 13:06:55 -07:00
Pankaj Garg
721c6a7e2d
Update metrics dashboard ( #4012 )
...
automerge
2019-04-26 10:32:49 -07:00
Dan Albert
08f0fb1e14
Implement working lockfile for testnet lockout ( #4013 )
2019-04-26 11:22:23 -06:00
Dan Albert
f5f5281f85
Add on-demand functionality to all testnets ( #4003 )
...
* Add on-demand functionality to all testnets
2019-04-26 10:02:23 -06:00
Michael Vines
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
Mark E. Sinclair
8b1724bb70
Serialize blocktree writes by locking the database ( #4008 )
...
Move several private methods to free functions
2019-04-26 10:52:10 -05:00
Rob Walker
eebdfe8d73
wait for network recovery after restart ( #4000 )
2019-04-26 07:30:52 -07:00
Michael Vines
82776b333d
Merge the "cloud" grafana dashboard into the normal dashboard ( #4007 )
...
automerge
2019-04-25 21:14:36 -07:00
Michael Vines
e71ab55288
Rename in-tree program_ids to be base-58 human readable ( #4001 )
2019-04-25 17:58:49 -07:00
sakridge
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
sakridge
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
Pankaj Garg
15aa07f2a0
Fix node count metrics ( #3997 )
...
- the count was truncated to avalanche neighborhood size
2019-04-25 13:47:38 -07:00
carllin
e4536621df
Log all uncommittable errors on validator ( #3999 )
2019-04-25 13:37:30 -07:00
Sagar Dhawan
a3c302c36a
Add signature polling to SyncClient ( #3996 )
...
automerge
2019-04-25 12:46:40 -07:00
Dan Albert
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
Michael Vines
0add5c1dc8
Move testnet buildkite env variables back into the tree ( #3989 )
2019-04-25 11:44:58 -07:00
Jack May
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
Michael Vines
4dc0495a1b
Fix tar version check
2019-04-25 11:16:49 -07:00
Tyera Eulberg
5a79676b8a
Custom error decoder ( #3783 )
...
automerge
2019-04-25 10:29:44 -07:00
Michael Vines
b67b0bff05
Do not enable rpc exit on the blockstreamer node ( #3977 )
2019-04-25 09:30:59 -07:00
Michael Vines
4c200635b7
Shuffle initial mention of solana-gossip ( #3991 )
...
automerge
2019-04-25 09:30:30 -07:00
Michael Vines
b98200aca4
Use rm -rf ( #3990 )
2019-04-25 08:58:34 -07:00
Tyera Eulberg
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
carllin
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
Sagar Dhawan
cf91ff8694
Remove Thin Client from storage stage ( #3976 )
...
automerge
2019-04-24 22:34:10 -07:00
Pankaj Garg
e867ce0944
Find unique zones and delete nodes in each zone ( #3978 )
2019-04-24 17:50:42 -07:00
Pankaj Garg
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
Mark E. Sinclair
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
Jack May
54b44977e0
Lower test time ( #3967 )
2019-04-24 12:19:31 -07:00
Pankaj Garg
9c7ccc0e2b
More metrics to track memory usage ( #3966 )
...
automerge
2019-04-24 11:11:30 -07:00
dependabot[bot]
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
anatoly yakovenko
c969975fde
lockfree storage ( #3963 )
2019-04-24 11:51:57 -05:00
Michael Vines
3eed6a6090
Annotate testnet buildkite logs with blockexplorer URL ( #3964 )
...
automerge
2019-04-24 08:09:37 -07:00
Michael Vines
1661a7a55f
Correct variable name
2019-04-24 07:39:29 -07:00
Michael Vines
6293d324db
Spellnig
2019-04-24 07:39:29 -07:00
Michael Vines
c1ecfec3b0
Bump stable build timeout
2019-04-23 20:29:14 -07:00
Michael Vines
05b4dbf148
Document an alternative mechanism to locate the validator's vote id
2019-04-23 19:35:20 -07:00
Michael Vines
4efada6d84
Update keygen.rs
2019-04-23 19:24:42 -07:00
sakridge
23c01473a0
Use cache for dll symbols ( #3950 )
...
Speeds up loaded programs.
2019-04-23 17:25:03 -07:00
Jack May
f2e2106f62
Bench exchange tweaks ( #3957 )
2019-04-23 16:48:17 -07:00
Sagar Dhawan
0cbac26591
Add genesis blockhash to blobs ( #3953 )
2019-04-23 16:24:44 -07:00
Dan Albert
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
carllin
ab11327e34
Fix mismatch between leader/validator bank votability ( #3942 )
...
* Fix mismatch between leader/validator bank votability
2019-04-23 15:32:19 -07:00
Pankaj Garg
3ba93aa8fe
Facility to pass extra arguments to bench clients from net.sh command ( #3952 )
...
automerge
2019-04-23 15:13:29 -07:00
Michael Vines
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
Pankaj Garg
d22a1c9b1f
Use smaller batch size in sigverify stage if CUDA is not available ( #3951 )
2019-04-23 12:41:50 -07:00
Greg Fitzgerald
29698fcd38
Cleanup stragglers from move-to-transfer rename ( #3947 )
2019-04-23 13:30:42 -06:00
Pankaj Garg
7372ec9e1a
Use poh would_be_leader check in banking stage to hold or forward txs ( #3948 )
2019-04-23 11:56:30 -07:00
Jack May
840a64ee8b
Optimize exchange contract ( #3926 )
2019-04-23 11:39:53 -07:00
dependabot[bot]
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
dependabot[bot]
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
Rob Walker
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
Pankaj Garg
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
Sagar Dhawan
43f7cd8149
Fix Retransmit slamming the leader with its own blobs ( #3938 )
2019-04-22 18:41:01 -07:00
Sagar Dhawan
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
Pankaj Garg
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
Rob Walker
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
sakridge
b27b515186
Add more dashboard text to metrics readme ( #3925 )
2019-04-22 14:55:19 -07:00
Michael Vines
05bcb7f292
Add stop node command to solana-gossip ( #3928 )
2019-04-22 14:51:20 -07:00
sakridge
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
Pankaj Garg
bec094bb3e
Start bench tps clients as default ( #3917 )
2019-04-21 20:18:52 -07:00
Michael Vines
af9ebf1d1a
Add status logging while processing a ledger ( #3916 )
2019-04-20 20:17:57 -07:00
Michael Vines
6f2f7018e8
Update testnet-participation.md
2019-04-20 19:14:07 -07:00
anatoly yakovenko
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
Sagar Dhawan
349e8a9462
Ensure forwarded Blobs don't break Erasure ( #3907 )
2019-04-20 16:44:06 -07:00
Sagar Dhawan
c0bffb56df
Update Avalanche to use Epoch Stakes ( #3900 )
2019-04-19 22:31:40 -07:00
Sagar Dhawan
970cc32e65
Fix Data Plane computation when stakes are equal ( #3913 )
2019-04-19 21:07:21 -07:00
Rob Walker
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
Pankaj Garg
d83a71d89f
More AWS regions for testnet deployment ( #3911 )
...
- also some minor fixes to gce.sh
2019-04-19 17:46:14 -07:00
Rob Walker
efbb573316
add an env::var driven localcluster test ( #3906 )
2019-04-19 15:47:03 -07:00
Rob Walker
85554087d1
treat negatives like zero instead of crashing out ( #3899 )
2019-04-19 15:46:39 -07:00
Rob Walker
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
sakridge
4abe95abec
Helper function for filtering/creating clients in bench-exchange ( #3903 )
2019-04-19 14:05:07 -07:00
Tyera Eulberg
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
Jack May
afb00432d4
Add BankClient support to bench-exchange ( #3902 )
2019-04-19 13:18:20 -07:00
Rob Walker
320bd66c84
handle zero num_will_fit ( #3892 )
...
* handle zero num_will_fit
* clippy
2019-04-19 12:02:33 -07:00
Jack May
1a9ac62f60
Add bench-exchange support to the net framework ( #3893 )
2019-04-19 09:56:01 -07:00
Greg Fitzgerald
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
Michael Vines
baac21209e
Recreate SOLANA_INSTALL_UPDATE_MANIFEST_KEYPAIR_x86_64_unknown_linux_gnu ( #3895 )
2019-04-19 07:39:41 -07:00
Greg Fitzgerald
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
carllin
512bfc93cb
Add a cache for leader schedules ( #3841 )
...
* Add a cache for leader schedules
2019-04-19 02:39:44 -07:00
Jack May
0f88872650
Compatible network is now default ( #3896 )
2019-04-18 23:19:03 -07:00
sakridge
f4e40d2c41
Add bench-exchange tx send metrics ( #3890 )
2019-04-18 22:31:25 -07:00
Rob Walker
6eac5951ed
Revert "Revert "revert-revert-erasure and erasure fixes ( #3833 )" ( #3855 )" ( #3889 )
...
This reverts commit 596f611ede
.
2019-04-18 21:56:43 -07:00
Sagar Dhawan
475a74d37f
Reduce packet recv batches ( #3894 )
...
* Reduce packet recv batches
* Fix type
2019-04-18 19:24:37 -07:00
Tyera Eulberg
b8ee952135
Dedup drone code ( #3885 )
2019-04-18 19:06:56 -06:00
sakridge
15bed29afa
Add rpc request debug to make_rpc_request ( #3888 )
2019-04-18 17:04:40 -07:00
sakridge
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
Jack May
2cd556e43c
Add drone cap parameter ( #3876 )
2019-04-18 15:42:20 -07:00
Pankaj Garg
060793f451
Fix testnet automation scripts ( #3886 )
...
- missing machine type since change in gce.sh
2019-04-18 15:12:35 -07:00
Sagar Dhawan
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
Jack May
aab410380e
Fix net for macos and local ( #3872 )
2019-04-18 14:49:35 -07:00
Rob Walker
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
Jack May
c1e39a3b98
git ignore more ( #3870 )
2019-04-18 14:23:34 -07:00
sakridge
7e1a7b1f64
Add bench-exchange to installed bins ( #3883 )
...
Need to run exchange clients on remote machines.
2019-04-18 13:55:41 -07:00
Tyera Eulberg
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
Michael Vines
8514d27c2f
Update testnet-participation.md
2019-04-18 13:16:15 -07:00
Pankaj Garg
8999bfef65
Try to delete nodes in all cloud zones ( #3874 )
2019-04-18 13:16:14 -07:00
sakridge
96425fb520
Don't panic the drone on a request that ends in error. ( #3869 )
2019-04-18 12:18:31 -07:00
dependabot[bot]
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
Pankaj Garg
f2187780d2
Do not forward vote transactions ( #3871 )
2019-04-18 11:18:49 -07:00
Tyera Eulberg
6a878602f2
Revert "Migrate from ring to ed25519-dalek, take 2 ( #3844 )" ( #3868 )
...
This reverts commit e9b82bacda
.
2019-04-18 11:47:34 -06:00
Michael Vines
f8543a268f
solana-gossip now displays other spy nodes and contact info age ( #3867 )
2019-04-18 09:48:21 -07:00
Tyera Eulberg
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
sakridge
684e1c73dd
Allow for custom cpu config on gce and use 20gb ram for clients ( #3856 )
2019-04-18 09:36:11 -07:00
Dan Albert
901c74b653
Add packages and fix publish script ( #3839 )
...
* Add packages and fix publish script
* Fixup
2019-04-18 09:24:18 -06:00
Michael Vines
2c0afe71b2
minor grooming
2019-04-18 07:31:42 -07:00
Pankaj Garg
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
Pankaj Garg
26a7eb6fa5
Don't use barrier transaction in testnet for perf testing ( #3862 )
2019-04-17 20:29:36 -07:00
Mark E. Sinclair
aa21f5343a
Remove broken read().unwrap() call to a non-shared packet
2019-04-17 21:24:40 -05:00
Sagar Dhawan
9c2809db21
Delete SharedPackets ( #3843 )
...
* Delete SharedPackets
* Fix bench and sigverify
2019-04-17 18:15:50 -07:00
Michael Vines
9ccd362461
Correct ./net.sh sanity argument order
2019-04-17 18:10:38 -07:00
Pankaj Garg
596f611ede
Revert "revert-revert-erasure and erasure fixes ( #3833 )" ( #3855 )
...
This reverts commit 6bef16a6a1
.
2019-04-17 18:04:30 -07:00
Michael Vines
78d5ace754
Refactor multinode-demo/ scripts to avoid shipping fullnode-x.sh ( #3835 )
2019-04-17 18:03:58 -07:00
Sagar Dhawan
2b3218b5f2
Fix flaky tests by waiting for test node to boot ( #3845 )
2019-04-17 17:50:34 -07:00
Pankaj Garg
d0fb55d9b1
Allow testnet creation with no validator nodes ( #3846 )
2019-04-17 17:38:18 -07:00
Pankaj Garg
a2c8e3952f
Fixes to TPS calculation and reporting ( #3836 )
...
Fixes to TPS calculations and reporting
2019-04-17 15:37:01 -07:00
Michael Vines
beb8c7914e
Disable testnet-sanity ledger verification, too slow
2019-04-17 15:19:37 -07:00
Rob Walker
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
Michael Vines
e03215c4c0
Remove iterations with leader rotation disabled
2019-04-17 15:07:51 -07:00
Jack May
8d1fd29fa6
Add readme ( #3838 )
2019-04-17 14:42:04 -07:00
Jack May
46f655eddd
Add .gitignore to bench-exchange ( #3837 )
2019-04-17 14:34:04 -07:00
Michael Vines
ca36a6f4e0
Run sanity only in the zone that contains the bootstrap leader and blockstreamer nodes ( #3828 )
2019-04-17 14:25:40 -07:00
Jack May
fdb12b54fa
Run multinode-demo from anywhere ( #3831 )
2019-04-17 14:23:32 -07:00
Greg Fitzgerald
09dd4bb702
Fix build ( #3834 )
2019-04-17 15:17:04 -06:00
Rob Walker
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
Greg Fitzgerald
51a2988bb2
Revert "Rename programs to instruction_processors ( #3789 )" ( #3824 )
...
This reverts commit 34344982a9
.
2019-04-17 15:05:49 -06:00
carllin
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
Jack May
f3676e2d03
Enable bench exchange test ( #3830 )
2019-04-17 13:37:02 -07:00
sakridge
4b8cb72977
Revert "Use Rust erasure library and turn on erasure ( #3768 )" ( #3827 )
...
This reverts commit b9bb5af4a5
.
2019-04-17 12:52:12 -07:00
Jack May
2518e95fb0
Add bench-exchange ( #3826 )
2019-04-17 11:28:26 -07:00
Michael Vines
bc17edcda3
Add --keypair to avoid writing a new one to ~ in CI
2019-04-17 10:12:18 -07:00
Michael Vines
eb185b9ea5
testnet-beta sanity no longer tries to check inactive zones
2019-04-17 09:30:41 -07:00
Michael Vines
aa6c82cfdc
Add show-vote-account command ( #3814 )
2019-04-17 07:45:07 -07:00
Mark E. Sinclair
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
anatoly yakovenko
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
Rob Walker
e94f268346
reduce sigverify verbosity ( #3813 )
2019-04-16 18:25:53 -07:00
Michael Vines
7ec198b9cc
Minor doc fixes++
2019-04-16 17:45:48 -07:00
Michael Vines
b2e762ccc6
Minor doc fixes
2019-04-16 17:43:52 -07:00
Michael Vines
bee411e826
Preserve extra dependency annotations (optional=,features=) during version bump ( #3810 )
2019-04-16 15:12:10 -07:00
Amr Ali
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
anatoly yakovenko
f73d38739a
Split AccountsDB from Accounts ( #3808 )
...
Split AccountsDB from Accounts
2019-04-16 13:32:22 -07:00
Michael Vines
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
anatoly yakovenko
a4b5493ba1
Document unsafe usage in AppendVec ( #3804 )
...
* document unsafe usage
* clippy
2019-04-16 10:53:37 -07:00
Pankaj Garg
8d613f3977
Selectively deploy beta testnet to GCE/AWS or both clouds ( #3805 )
2019-04-16 10:40:30 -07:00
anatoly yakovenko
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
dependabot[bot]
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
Michael Vines
c67cc694ae
Remove stake from ./net sanity
ephemeral validator ( #3797 )
2019-04-15 21:42:25 -07:00
Michael Vines
d77359914f
Log the spy node id by default for better debug ( #3796 )
2019-04-15 20:58:37 -07:00
Michael Vines
9293a54234
Remove stray +
2019-04-15 20:28:11 -07:00
Michael Vines
d9983905b3
Cargo.lock
2019-04-15 20:28:07 -07:00
Michael Vines
3dc47a46d5
Revert "Revert "disable staking of blockstreamer node""
...
This reverts commit 03da63b41b
.
2019-04-15 20:11:00 -07:00
Dan Albert
8638b3bb19
Update Cargo.toml files for version = 0.14.0
2019-04-16 02:50:20 +00:00
Pankaj Garg
819a0c5c7e
Update testnet automation script to reflect changes in metrics ( #3779 )
2019-04-15 18:56:04 -07:00
Dan Albert
7afd8644b3
Clarify release instructions ( #3792 )
2019-04-15 19:05:15 -06:00
anatoly yakovenko
68fc303b9b
Rework Accounts for fast squash, hashing state and checkpoint recovery. ( #3613 )
...
* accounts rewrite
* ignore grow tests
* skip duplicate roots
* allow for a root race
* logger
* accounts_index tests
* tests
* tests
2019-04-15 17:15:50 -07:00
sakridge
2bbed7727f
Wait a bit for the funding transactions to go through ( #3788 )
2019-04-15 16:30:00 -07:00
Michael Vines
63b1fd3675
Correctly fill out IP address for rpc ports ( #3791 )
2019-04-15 16:21:06 -07:00
Sagar Dhawan
3fcf03ff3e
Refactor LocalCluster and add support for listener nodes ( #3790 )
2019-04-15 15:27:45 -07:00
Greg Fitzgerald
80f3568062
Upgrade to Rust 1.34.0 ( #3781 )
...
* Upgrade to Rust 1.34.0
* Remove redundant closures
Thanks Clippy!
2019-04-15 15:56:08 -06:00
Greg Fitzgerald
3e1214a871
Don't add reviewers to draft PRs ( #3780 )
2019-04-15 15:03:44 -06:00
Michael Vines
149d809e86
Minor cli help cleanup ( #3786 )
2019-04-15 13:36:14 -07:00
dependabot[bot]
784dbb00ab
Bump reqwest from 0.9.14 to 0.9.15 ( #3785 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.14 to 0.9.15.
- [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.14...v0.9.15 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-15 13:31:33 -07:00
Michael Vines
87aef92e71
Fix up bash array handling ( #3771 )
2019-04-15 13:25:44 -07:00
Michael Vines
d026ebb83a
Use tvu_peers() since validators no longer run an RPC port by default ( #3784 )
2019-04-15 13:25:09 -07:00
Rob Walker
64c6f05da2
persist set_root() and use it in blocktree_processor to limit squashes ( #3782 )
...
* rename locktower's slot to epoch
* persist set_root() and use it in blocktree_processor to limit squashes
2019-04-15 13:12:28 -07:00
dependabot[bot]
8963500aa8
Bump generic-array from 0.12.0 to 0.13.0
...
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.12.0 to 0.13.0.
- [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[bot] <support@dependabot.com >
2019-04-15 12:35:06 -06:00
dependabot[bot]
175c0090de
Bump hashbrown from 0.2.0 to 0.2.1
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.2.0 to 0.2.1.
- [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.0...v0.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-15 12:18:44 -06:00
Rob Walker
5c4689a326
rename locktower's slot to epoch ( #3776 )
2019-04-15 10:46:14 -07:00
Michael Vines
5e2831f09e
Disable cluster restart attempt
2019-04-15 09:59:53 -07:00
Michael Vines
666882fbbd
-r does not require an argument
2019-04-15 09:40:34 -07:00
Michael Vines
6c9fba058b
Reenable validator sanity check for testnet-{beta,edge}
2019-04-15 08:58:29 -07:00
Michael Vines
0767c0c07f
Add DNS resolution to cli tools
2019-04-14 21:25:46 -07:00
Rob Walker
6859907df9
more rigorous erasure constants, comments ( #3766 )
...
* more rigorous erasure constants, comments
* new header size means new golden
2019-04-14 21:10:09 -07:00
Rob Walker
de52747950
remove max_tick_height replicode ( #3765 )
2019-04-14 19:15:31 -07:00
Rob Walker
bd1db51e07
delete db_window.rs, move contents to window_service, clean up process_blobs ( #3746 )
2019-04-14 18:52:05 -07:00
Rob Walker
dd005fb50e
fix broadcast to *always* call erasure generation, simplify generator, test slot reset better ( #3764 )
2019-04-14 18:12:37 -07:00
Rob Walker
542bafeb71
groom packet.rs, add blob.data alignment ( #3763 )
2019-04-14 17:30:08 -07:00
Rob Walker
e57a0ab05d
test some bits ( #3762 )
2019-04-14 17:10:30 -07:00
Pankaj Garg
2c745ce108
Shorten recv wait when there are buffered packets in banking stage ( #3757 )
...
- packets are buffered on leader rotation, when the next leader is
unknown
- shortening the wait allows the banking stage to poll for next
leader more frequently
2019-04-14 12:34:07 -07:00
Michael Vines
f6aa90e193
Add fullnode --dynamic-port-range option
2019-04-14 07:08:29 -07:00
Michael Vines
c7a7d6db84
Use |solana-keygen pubkey| instead of |solana-wallet address|
...
Same end result but solana-keygen is a smaller program that builds
faster
2019-04-14 07:08:29 -07:00
Michael Vines
2277a39dd2
Default solana-gossip log-level to 'info'
2019-04-14 07:07:15 -07:00
Pankaj Garg
ee35ed5250
Refactored buffered packet forwarding code ( #3750 )
...
- Added unit tests
- Don't consume packets if bank is not known
2019-04-13 23:19:54 -07:00
Stephen Akridge
92b5e131fe
Name sigverify threads
2019-04-13 11:24:36 -07:00
Michael Vines
1f35779821
Add solana-install usage info
2019-04-12 17:08:18 -07:00
Michael Vines
5b438d917d
Create fullnode-x.sh wrapper script for use with |solana-install run ...|
2019-04-12 17:08:18 -07:00
Michael Vines
bf4d5745c9
Symlink the entire release to preserve relative paths from bin/
2019-04-12 17:08:18 -07:00
Sagar Dhawan
1e8f83a74a
Use a better name for new api
2019-04-12 14:58:22 -07:00
Sagar Dhawan
1db80d79fc
Update get recent blockhashes to return confirmed blockhashes only
2019-04-12 14:58:22 -07:00
Stephen Akridge
1dac4c33b8
Change sigverify counter from entries to packets
...
batch or entries kind of useless since it can have some
variable number of packets
2019-04-12 13:19:46 -07:00
Rob Walker
656b3139e3
see perf-libs all the time ( #3748 )
2019-04-12 08:38:14 -07:00
anatoly yakovenko
8b08fe265a
AppendVec PR with using "/tmp" as the default directory and a random file ( #3743 )
...
* AppendVec with raw pointers
* fixed test target directory
2019-04-12 04:30:17 -07:00
Michael Vines
29dc139a22
shellcheck
2019-04-11 17:39:04 -07:00
Pankaj Garg
44ebfa736a
Don't forward buffered packet to the same node ( #3712 )
...
- instead, process the packets
2019-04-11 17:23:45 -07:00
Pankaj Garg
b001685e7b
Added missing feature flag for erasure ( #3741 )
2019-04-11 15:25:32 -07:00
Rob Walker
ca6290b117
remove wallet stuff, bootstrap node is already staked ( #3744 )
2019-04-11 15:16:38 -07:00
Rob Walker
767e0a201e
stak*->vote ( #3740 )
2019-04-11 14:52:56 -07:00
Sagar Dhawan
877ec08280
Send recent votes in Vote Transactions ( #3734 )
2019-04-11 14:48:36 -07:00
Greg Fitzgerald
485013b7ce
Revert "AppendVecs that can return references and read/append without locks ( #3713 )"
...
This reverts commit f669ae5868
.
2019-04-11 14:47:30 -07:00
Rob Walker
efd19b07e7
implement erasure-based recovery inside blocktree ( #3739 )
...
* implement recover in blocktree
* erasures metric
* erasure metrics only
* fixup
2019-04-11 14:14:57 -07:00
Tyera Eulberg
d31989f878
CustomError from Vec->u32
2019-04-11 13:59:48 -07:00
anatoly yakovenko
f669ae5868
AppendVecs that can return references and read/append without locks ( #3713 )
...
* AppendVec with raw pointers
* appendvecs
* imports
* review
* review comments
* clippy
2019-04-11 13:16:56 -07:00
Greg Fitzgerald
a28c3b0e9a
Consume Bank in BankClient
...
This will allow BankClient to spin up a thread to use the Bank.
It'll also ease the transaction from BankClient to ThinClient since
it won't let you depend on Bank.
Drawback, you the transition from Bank to BankClient will be harder
because the Bank methods are inaccessible.
2019-04-11 12:16:33 -07:00
Michael Vines
0aa05158c9
Adjust noop/failure program names to be consistent with all other programs
2019-04-11 11:59:56 -07:00
carllin
787dc5748a
Fixed DuplicateSigs ( #3727 )
...
* Fixed DuplicateSigs by not recording errors in signature cache of bank
2019-04-11 11:51:34 -07:00
Greg Fitzgerald
8ada4bfd1f
Remove test now covered by Vote crate
2019-04-11 10:53:11 -07:00
Greg Fitzgerald
5d4624e75f
Use Bank::add_instruction_processor to bypass manual build step
2019-04-11 10:53:11 -07:00
Michael Vines
2f1b0bf4f5
Add solana-install deployments to the testnets
2019-04-11 10:03:35 -07:00
Rob Walker
e1d5bb1a26
add redundant broadcast ( #3724 )
...
* add redundant broadcast
* crank up to full redundancy
* Update broadcast_stage.rs
* Update broadcast_stage.rs
* Update broadcast_stage.rs
* Update broadcast_stage.rs
2019-04-11 09:15:17 -07:00
Jack May
d0f46d6a8a
Cleanup client traits and create super trait ( #3728 )
2019-04-11 00:25:14 -07:00
Rob Walker
4b6c0198ad
reset coding generator on slot boundaries ( #3726 )
2019-04-10 18:18:55 -07:00
Rob Walker
f1e7237c09
vote_api cleanup ( #3710 )
...
* vote_api cleanup
* fixups
* fixup
* remove unused code
* revert removal of serialize and deserialize
* ...
* increase coverage, bootstrap staking
* Sagar's STAKE to my VOTE
2019-04-10 17:52:47 -07:00
Sagar Dhawan
1b5845ac3e
Fix getting votes from gossip ( #3723 )
2019-04-10 17:16:08 -07:00
Rob Walker
58a049ebe5
pick up logs as artifacts ( #3721 )
2019-04-10 17:05:39 -07:00
Sagar Dhawan
c0808d01f8
Add tests
2019-04-10 15:51:00 -07:00
Sagar Dhawan
7fd5e51168
Make sure bank 0 is votable and correctly designate signer
2019-04-10 15:51:00 -07:00
Sagar Dhawan
d2ea782372
Always use bootstrap vote account for leader
2019-04-10 15:51:00 -07:00
Dan Albert
e6f02d1a10
Use latest release for testnet doc ( #3711 )
...
* Use latest release for testnet doc
* Clean up markdown
2019-04-10 15:01:37 -07:00
Greg Fitzgerald
894135a084
Less pub in PohRecorder
2019-04-10 12:50:45 -07:00
Michael Vines
df9cf92782
testnet-participation.md is now /implemented/
2019-04-10 12:26:47 -07:00
Michael Vines
f243a96e01
Remove testnet/metrics server debug info from book
2019-04-10 12:26:47 -07:00
Michael Vines
842d146b0d
Limit USE_INSTALL scope
2019-04-10 11:50:23 -07:00
Pankaj Garg
81d43c57a2
Add missing feature flags to gossip ( #3708 )
2019-04-10 06:52:46 -07:00
Pankaj Garg
7da4142d33
Process votes from gossip only in leader node ( #3707 )
2019-04-09 22:06:32 -07:00
Michael Vines
88e5b14afc
Exit faster on sanity failures
2019-04-09 17:16:15 -07:00
Michael Vines
0b95a5c121
Include blockstreamer node in sanity
2019-04-09 16:52:57 -07:00
dependabot[bot]
62c28a8592
Bump reqwest from 0.9.13 to 0.9.14
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.13 to 0.9.14.
- [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.13...v0.9.14 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-09 16:22:17 -07:00
Pankaj Garg
b80c6840da
Metrics dashboard publish script updates for influx cloud
2019-04-09 15:44:01 -07:00
carllin
003fd6545c
Logging for unexpected validator errors ( #3697 )
2019-04-09 15:05:43 -07:00
Pankaj Garg
393ed978d1
Update testnet monitor to use influx cloud end point ( #3700 )
2019-04-09 14:56:21 -07:00
Stephen Akridge
2c93062f54
Improve banking_stage performance messages
...
Use transaction count instead of batch count,
and set the recv_start from when we finished processing
the previous batch to get a more accurate number.
2019-04-09 14:54:12 -07:00
Sathish
7b2abf2087
Update count for the right store ( #3683 )
2019-04-09 13:48:13 -07:00
Dan Albert
a5254a3f7a
Add TESTNET_TAG Env var to buildkite ( #3692 )
...
* Add TESTNET_TAG Env var to buildkite
2019-04-09 13:00:45 -07:00
Pankaj Garg
dc6c34da5d
Fast-track vote signature verification and processing ( #3695 )
2019-04-09 12:57:12 -07:00
carllin
d4eebcc2aa
Check for frozen in confirm_forks ( #3678 )
2019-04-09 11:45:38 -07:00
carllin
4f232cbc27
Make MAX_RECENT_BLOCKHASHES <= MAX_HASH_AGE_IN_SECONDS ( #3679 )
...
* Make MAX_RECENT_BLOCKHASHES == MAX_HASH_AGE_IN_SECONDS
2019-04-09 11:45:25 -07:00
Stephen Akridge
76e524ae48
Remove check for 0 additional nodes
...
Network with 1 leader is valid.
2019-04-09 11:16:55 -07:00
Michael Vines
6ac919c71a
Set warn log level only for perf testnets
2019-04-09 11:09:16 -07:00
Michael Vines
1ba4806f8c
Document recent -z and -x command-line arg changes
2019-04-09 10:39:55 -07:00
Stephen Akridge
20a2c59b70
Reduce udp read/write buffer sizes
...
With 18.04, these large values cause packet errors and mess up the system.
2019-04-08 15:21:45 -07:00
Stephen Akridge
6540fa9121
Add sleep for check_signature
2019-04-08 15:09:02 -07:00
dependabot[bot]
21287ba554
Bump clap from 2.32.0 to 2.33.0
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.32.0 to 2.33.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-08 12:56:44 -07:00
dependabot[bot]
7295a84d69
Bump bincode from 1.1.2 to 1.1.3 ( #3672 )
...
Bumps [bincode](https://github.com/TyOverby/bincode ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/TyOverby/bincode/releases )
- [Commits](https://github.com/TyOverby/bincode/compare/v1.1.2...v1.1.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-08 12:55:18 -07:00
carllin
483cc2fa4e
Support old repair strategy for reparing slots in a range for supporting replicators ( #3665 )
2019-04-08 12:46:23 -07:00
Jack May
e551f6b552
Support settable drone lamport cap ( #3675 )
2019-04-08 12:37:01 -07:00
Jack May
44b391096d
Configurable local cluster native processors ( #3676 )
2019-04-08 11:15:58 -07:00
Michael Vines
d45d8e9670
s/credit/read/
2019-04-08 08:39:59 -07:00
Rob Walker
88bda58836
remove unused ( #3674 )
2019-04-08 04:50:42 -07:00
Rob Walker
79bf3cf70d
add rewards math ( #3673 )
...
* add rewards math
* fixup
2019-04-07 21:45:28 -07:00
Pankaj Garg
72b7419e1c
Define list of valid cloud regions for GCE and AWS ( #3670 )
2019-04-07 14:29:09 -07:00
Pankaj Garg
7baff0920c
Propagate cloud env variables to buildkite job
2019-04-07 11:48:25 -07:00
Pankaj Garg
d9ecc278b4
Configure cloud zones and nodes from buildkite for beta testnet ( #3666 )
2019-04-07 08:25:34 -07:00
Pankaj Garg
0904df327d
Parallelize cloud node deployment commands in case of multiple zones ( #3657 )
2019-04-07 08:13:48 -07:00
carllin
444e87f888
Fix metric ( #3664 )
2019-04-06 21:57:01 -07:00
carllin
20aa4434e2
Fix repair ( #3581 )
...
Add DetachedHeads repair protocol
Add DetachedHeads repair test
Repair starting from root
2019-04-06 19:41:22 -07:00
Pankaj Garg
03da63b41b
Revert "disable staking of blockstreamer node"
...
This reverts commit 42d8a7d9e7
.
2019-04-06 08:57:06 -07:00
Greg Fitzgerald
878a842611
Move append_vec bench to the crate with append_vec ( #3650 )
...
* Move append_vec bench to the crate with append_vec
* Use black_box to tell the compiler not to optimize away test data
```
pub fn black_box<T>(dummy: T) -> T {
unsafe {
let ret = std::ptr::read_volatile(&dummy);
std::mem::forget(dummy);
ret
}
}
```
* Revert "Use black_box to tell the compiler not to optimize away test data"
This reverts commit 5610b8ee95
.
* Use black_box to tell the compiler not to optimize away test data
* Create bench directories
2019-04-06 07:18:56 -06:00
Carl
f3eda38b65
Fix broken lockout doubling
2019-04-05 23:15:46 -07:00
Tyera Eulberg
68e21911eb
Remove redundant transfer_signed
2019-04-05 22:04:32 -07:00
Tyera Eulberg
95cc36af96
Impl SyncClient and AsyncClient for ThinClient
2019-04-05 22:04:32 -07:00
Tyera Eulberg
d3c4e4f7b3
Update docs
2019-04-05 22:09:29 -06:00
Tyera Eulberg
4068612300
Remove RpcSignatureStatus
2019-04-05 22:09:29 -06:00
Tyera Eulberg
f349c1f0dc
Get everything off RpcSignatureStatus
2019-04-05 22:09:29 -06:00
Tyera Eulberg
90c1300bb6
Plumb TransactionError through Rpc
2019-04-05 22:09:29 -06:00
Tyera Eulberg
569a289a6f
Cargo.lock, serde_derive
2019-04-05 22:09:29 -06:00
Pankaj Garg
89efe67e73
Fix the ordering of beta testnet zones
2019-04-05 17:53:31 -07:00
Greg Fitzgerald
c3654b0f65
Add sdk benches to ci
...
And add `-a` to `tee` for more reliable copypasta.
2019-04-05 17:58:11 -06:00
Sagar Dhawan
f5f4434e0a
Remove unnecessary lock in sigverify
2019-04-05 16:57:45 -07:00
Rob Walker
d30049b8eb
test for debit of TX fees on full process_transaction() ( #3643 )
...
* fix double debit of TX fees
* add test that fails when removing that line
* put that line back in
* comments
2019-04-05 16:55:58 -07:00
Pankaj Garg
42d8a7d9e7
disable staking of blockstreamer node
...
- this will stop it from entering leader rotation schedule
2019-04-05 16:48:52 -07:00
Sagar Dhawan
adcda3c715
Remove airdrop dependency from replicators
2019-04-05 16:11:39 -07:00
Rob Walker
a5b5248a09
move vote_accounts up ( #3647 )
2019-04-05 14:23:00 -07:00
Dan Albert
3fcca5bc0a
Suppress shellcheck array expansion warnings
2019-04-05 13:25:14 -07:00
Dan Albert
9d4c6f6aaa
Appease shellcheck
2019-04-05 13:25:14 -07:00
Dan Albert
d570b08134
Clean up array expansion
2019-04-05 13:25:14 -07:00
Dan Albert
8b6d7129f3
Fix option flag lettering
2019-04-05 13:25:14 -07:00
Dan Albert
50444181c5
Fix arg array ordering and rename network-name option
2019-04-05 13:25:14 -07:00
Dan Albert
0c51f156ae
Reverse order of zone arg array building
2019-04-05 13:25:14 -07:00
Dan Albert
fe2fb40d88
Add multi-region deploy functionality
2019-04-05 13:25:14 -07:00
Dan Albert
9ba0439593
Add multi-region deploy functionality
2019-04-05 13:25:14 -07:00
Pankaj Garg
b33a1fa019
Fix clippy errors
2019-04-05 12:22:10 -07:00
Pankaj Garg
63fd4222aa
Fix testnet sanity check for beta testnet
2019-04-05 12:22:10 -07:00
Tyera Eulberg
ef5df6f3fe
Add server specification
2019-04-05 11:44:57 -07:00
Tyera Eulberg
2f90f9fbd4
Version all jsonrpc crates, in core too
2019-04-05 11:44:57 -07:00
dependabot[bot]
12b099ea78
Bump jsonrpc-core from 10.1.0 to 11.0.0
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 10.1.0 to 11.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-05 11:44:57 -07:00
Rob Walker
9f046a023e
move transaction_count up ( #3618 )
...
* move transaction_count up
* fixup
2019-04-05 10:42:25 -07:00
Greg Fitzgerald
46e6911ec1
Add get_signature_status() to SyncClient
...
And move bank::Result to transaction module.
2019-04-05 10:22:05 -07:00
Greg Fitzgerald
d3844ef32a
Add AsyncClient
2019-04-05 10:22:05 -07:00
Greg Fitzgerald
4507dca342
Boot exchange_transaction. No tests depend on it.
2019-04-05 11:10:57 -06:00
Pankaj Garg
c2fdd1362a
bump release version in testnet participation document
2019-04-05 08:30:42 -07:00
carllin
4ea19b90a4
Fix update_ancestor_stakes in locktower ( #3631 )
...
* Fix update_ancestor_stakes in locktower
* Add test for vote threshold
2019-04-05 03:05:31 -07:00
Pankaj Garg
9cd555cad5
AWS script change for additional zones and regions
2019-04-04 15:59:59 -07:00
Pankaj Garg
ed78c8d3bb
Fix beta testnet launch script
2019-04-04 15:16:01 -07:00
Sagar Dhawan
0b23af324b
Refactor Storage Program ( #3622 )
...
* Refactor Storage Program
* Replace KeyedAccount trait with StorageAccount struct
* Implement State for Account, not StorageAccount
* Make State trait more generic
* Move validation check into function
2019-04-04 12:01:09 -07:00
Greg Fitzgerald
1598a02a7a
Wrap all client errors with TransportError
2019-04-04 12:00:19 -06:00
Greg Fitzgerald
167f5bdc58
Add get_balance() and get_account_data() to SyncClient
...
Migrate tests to use them.
2019-04-04 12:00:19 -06:00
Greg Fitzgerald
5cd7bccdf3
Add SyncClient and use from BankClient
2019-04-04 12:00:19 -06:00
Tyera Eulberg
acbc261891
Add gossip to build script, and fix bash strings
2019-04-04 00:18:48 -07:00
dependabot[bot]
f97f0c4758
Bump serde_derive from 1.0.89 to 1.0.90
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.89...v1.0.90 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-03 19:54:50 -07:00
dependabot[bot]
e6ac5bc546
Bump serde from 1.0.89 to 1.0.90
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.89...v1.0.90 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-03 20:26:48 -06:00
Pankaj Garg
ef1e5db0ee
Force delete all beta testnet nodes before restarting them
2019-04-03 17:58:54 -07:00
Sagar Dhawan
5cdfd79e96
Replace print with debug
2019-04-03 16:23:02 -07:00
Sagar Dhawan
b441bac7b2
Add separate Struct for Replicator submissions
2019-04-03 16:23:02 -07:00
Sagar Dhawan
00cb52c444
Update Storage Program to support multiple accounts
2019-04-03 16:23:02 -07:00
Jack May
9323a3e257
Use keyed_account index names ( #3555 )
2019-04-03 15:57:26 -07:00
Greg Fitzgerald
35298e01a8
Remove Instruction wrapper structs and name functions after enum fields
2019-04-03 13:34:27 -07:00
Greg Fitzgerald
867f6f107b
Rename SystemInstruction::Move to SystemInstruction::Transfer
2019-04-03 08:35:57 -06:00
Greg Fitzgerald
43bb813cbe
Rename 'new_account' to 'new_user_account'
...
And 'new_program_account' to 'new_account'
2019-04-02 21:24:42 -06:00
dependabot[bot]
7b82e96467
Bump libc from 0.2.50 to 0.2.51 ( #3554 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.50 to 0.2.51.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.50...0.2.51 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-02 20:32:35 -05:00
Greg Fitzgerald
978ff87b76
Fix potential storage bug
...
The previous code was assuming the instruction index and the
program_id index were the same. That's always true for
single-instruction transactions, but not for multiples.
2019-04-02 19:00:35 -06:00
Greg Fitzgerald
4c0bc1fd88
Add program_ids() methods
...
Added CompiledInstruction::program_id() so that we don't need to pass
around instruction indexes just for Message::program_id().
Also added Message.program_ids() that returns a slice so that we
can move those pubkeys into Message::account_keys.
2019-04-02 19:00:35 -06:00
Jack May
025b4f90de
Pre-populate tokens ( #3605 )
2019-04-02 16:50:53 -07:00
Greg Fitzgerald
20189c5d45
Bump hashbrown to 0.2.0
2019-04-02 16:37:21 -06:00
Pankaj Garg
2e4acba579
Remove second block streamer from testnet beta
2019-04-02 15:15:11 -07:00
Mark E. Sinclair
d90b8c331d
Refactor blocktree storage abstraction ( #3588 )
2019-04-02 16:58:07 -05:00
Pankaj Garg
efbb49d579
Don't use external node ssh key if one is not configured
2019-04-02 14:20:00 -07:00
dependabot[bot]
f0079cd7b3
Bump hashbrown from 0.1.8 to 0.2.0
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.1.8 to 0.2.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.1.8...v0.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-02 13:45:49 -06:00
Greg Fitzgerald
a0041cec97
Rename Runtime to MessageProcessor
2019-04-02 12:49:26 -06:00
Pankaj Garg
77bb9e7ffc
Fix the release number in testnet participation document
2019-04-02 11:26:54 -07:00
Pankaj Garg
f441177840
Deploy beta testnet with 100 nodes across AWS and GCP
2019-04-02 11:21:57 -07:00
Sagar Dhawan
cd634801a2
Re-enable test but remove replicators from config
2019-04-02 10:38:30 -07:00
Sagar Dhawan
5f10a87dec
Ignore Flaky Local Cluster test
2019-04-02 10:56:29 -06:00
Greg Fitzgerald
fa1c1e3734
Rename native programs to native instruction processors
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
947cdd8748
Rename system_program to system_instrution_processor
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
0a9f063d3e
Rename native_program.rs to instruction_processor_utils.rs
...
Prefer the term "instruction processor" over "program". Reserve
the term "native" for the loader and shared object it loads.
Compiling an instruction processor to BPF shouldn't imply changing
to a non-native entrypoint.
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
dd4c512954
Rename Wallet's id to keypair
2019-04-02 07:38:28 -06:00
carllin
d228b6467c
Implement finalizer so that all locked accounts are dropped ( #3585 )
...
* Implement finalizer so that all locked accounts are dropped when finalizer goes out of scope
* Add test for tx error with lock conflict
* Fix double unlock from destructor running after a call to unlock
2019-04-02 03:55:42 -07:00
Tyera Eulberg
92c66a411b
Remove bench-tps converge-only
2019-04-01 23:05:25 -06:00
Tyera Eulberg
af97ad3d68
Add solana-gossip module
2019-04-01 23:05:25 -06:00
Tyera Eulberg
6ff2a0a75e
Rework discover to handle additional parameters, and be unit-testable
2019-04-01 23:05:25 -06:00
dependabot[bot]
5b7d5e2e02
Bump reqwest from 0.9.12 to 0.9.13
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.12 to 0.9.13.
- [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.12...v0.9.13 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-01 20:34:08 -06:00
Pankaj Garg
97bd7a00f1
Support for configuring testnet nodes across multiple cloud services
2019-04-01 17:11:41 -07:00
Rob Walker
25a2f08f8d
add passive staking and rewards ( #3579 )
...
* add stake stuff
* more generic
* test decode bail cases
* favor early returns
2019-04-01 16:45:53 -07:00
Sathish Ambley
3152090a66
update with review comments
2019-04-01 15:54:53 -06:00
Sathish Ambley
9a0f9b910e
add bench tests for squash operations
2019-04-01 15:54:53 -06:00
Sathish Ambley
f853c39169
remove unused member
2019-04-01 15:54:53 -06:00
Sathish Ambley
75ad1305c0
Cache vote accounts and optimize squash
2019-04-01 15:54:53 -06:00
Pankaj Garg
cb3adea94f
Increase node count in beta testnet
2019-04-01 11:06:24 -07:00
Greg Fitzgerald
fcef54d062
Add a constructor to generate random pubkeys
2019-03-31 16:23:18 -06:00
Greg Fitzgerald
32683cac7c
Move markdown into book
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
15947b8642
Congestion stats, take 3
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
4e0316f792
Apply review feedback
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
9594b7fdce
Use stake-weighted congestion statistics
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
1adf8355f2
Add design proposal for deterministic transaction fees
2019-03-31 16:23:06 -06:00
carllin
8660c3581e
Add squashing metrics ( #3573 )
2019-03-29 21:21:59 -07:00
carllin
f886b3b12b
Fix resetting PohRecorder to wrong bank ( #3553 )
...
* Check whether future slot already has transmission
2019-03-29 20:00:36 -07:00
Greg Fitzgerald
5646daa820
Delete lots of fee parameters
...
So many zeros!
2019-03-29 19:21:51 -06:00
Greg Fitzgerald
7896e8288d
Replace Transaction::fee with a FeeCalculator
2019-03-29 19:21:51 -06:00
carllin
9369ea86ea
Track detached slots in blocktree ( #3536 )
...
* Add contains_all_parents flag to SlotMeta to prep for tracking detached heads
* Add new DetachedHeads column family
* Remove has_complete_parents
* Fix test
2019-03-29 16:07:24 -07:00
carllin
dee5ede16d
Get rid of unnecessary frozen banks ( #3572 )
2019-03-29 16:06:48 -07:00
Greg Fitzgerald
3b516c0710
Fix build
2019-03-29 14:56:29 -06:00
Stephen Akridge
0887832b00
Early exit if buffered packets is empty
2019-03-29 13:40:07 -07:00
Greg Fitzgerald
8e04fadb05
Cleanup magic numbers
...
Rename `num_signatures` to `num_required_signatures` to
disambiguate it from `tx.signatures.len()`.
2019-03-29 13:03:29 -07:00
Greg Fitzgerald
31f8b6d352
Integrate Message into Transaction
2019-03-29 13:03:29 -07:00
Greg Fitzgerald
98d60e6124
Expose a method for getting the Message from a Transaction
...
This currently constructs the message, but when message
is integrated, it can return a `&Message`.
2019-03-29 13:03:29 -07:00
Pankaj Garg
fc678f53ba
Send metrics data to the correct/configured database host
2019-03-29 12:14:15 -07:00
Pankaj Garg
8e25c39564
fix formatting of numbered list
2019-03-29 11:46:21 -07:00
Pankaj Garg
78ab79c322
fix build failure
2019-03-29 11:46:21 -07:00
Pankaj Garg
052fc9b74f
Information on how to debug testnet issues
2019-03-29 11:46:21 -07:00
Tyera Eulberg
f482c9ab61
Functionalize tx serialization; make testing more explicit
2019-03-29 11:31:46 -06:00
Tyera Eulberg
75dcd97f5f
Update test to deserialize txs
2019-03-29 11:31:46 -06:00
Tyera Eulberg
4776dc36ab
Map entry txs to serialized txs in blockstream
2019-03-29 11:31:46 -06:00
anatoly yakovenko
10239c3b3c
Replace recursive status cache with a single global fast status cache ( #3541 )
...
Fast Status Cache
2019-03-29 10:03:55 -07:00
Greg Fitzgerald
753d0dcabe
Fix the cuda build
...
And add a test to check the condition that the cuda tests are
exercising.
2019-03-29 08:25:56 -06:00
Greg Fitzgerald
b708998d9d
Fix chacha build
2019-03-29 08:25:56 -06:00
Greg Fitzgerald
3759b0d2a5
Fix Blockstreamer test
2019-03-29 08:25:56 -06:00
Greg Fitzgerald
c4bc710d3a
Use Serde's with
attribute to shorten length encodings in Transaction
2019-03-29 08:25:56 -06:00
Sathish Ambley
857dc2ba47
Remove custom serialization
2019-03-29 08:25:56 -06:00
Stephen Akridge
981e057363
Just test features in core
2019-03-28 21:40:52 -07:00
Tyera Eulberg
37494c67d0
Add pubkey read/write tools
...
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Tristan Debrunner <tristan@solana.com >
2019-03-28 20:04:32 -06:00
Greg Fitzgerald
7a81f327ce
Add sigverify tests
2019-03-28 19:42:11 -06:00
Tyera Eulberg
845ddc3496
Fixup wallet-sanity to match new balance string
2019-03-28 16:56:27 -07:00
Sagar Dhawan
c61bb16fdf
Fix manifest path for cargo commands ( #3549 )
2019-03-28 15:56:08 -07:00
Pankaj Garg
15b945a652
Fix EC2 scripts for blockstream startup
2019-03-28 15:37:23 -07:00
Pankaj Garg
1d48c4dd45
enable leader rotation in beta testnet
2019-03-28 13:44:44 -07:00
Greg Fitzgerald
2ab50cbae8
Move untested code out of SDK
...
verify_signature() was only used in a test that was testing
binary layout. It only worked because the test transaction only
had one signature.
from() was only used by verify_signature() and that's something
we'd typically called `pubkey()`.
hash() didn't return the hash of the Transaction, as you might
guess. It's only used for PoH, so move it into Entry.
2019-03-28 14:24:59 -06:00
Stephen Akridge
0482f153d0
Lower a bunch of debug
...
Can't afford to be printing on every transaction error, it will slow
the system down.
2019-03-28 12:24:47 -07:00
Jack May
92e1c4c531
Report which account is in use ( #3539 )
2019-03-28 08:17:49 -07:00
Greg Fitzgerald
4bca60861e
Specialize GenericInstruction
2019-03-28 05:45:46 -06:00
Mark E. Sinclair
50b0a5ae83
Blocktree+Erasure tests of basic erasure functionality ( #3535 )
...
* Remove WindowSlot; add Blocktree based tests to erasure
2019-03-28 01:55:51 -05:00
Jack May
c30eb6185c
Enable logging in exchange program ( #3538 )
2019-03-27 23:02:05 -07:00
Pankaj Garg
a94bc80383
fix clippy errors
2019-03-27 18:05:17 -07:00
Pankaj Garg
586b6fc3d7
review comments
2019-03-27 18:05:17 -07:00
Pankaj Garg
a14c202d60
fix the ip address that's stored in the config file
2019-03-27 18:05:17 -07:00
Pankaj Garg
ed48c495a3
fix shell-check errors
2019-03-27 18:05:17 -07:00
Pankaj Garg
f0abd06a46
Added support for multi-region cloud testnet
2019-03-27 18:05:17 -07:00
Sagar Dhawan
7d0ff8e713
Re-enable Replicator test ( #3534 )
2019-03-27 17:21:49 -07:00
Sagar Dhawan
e8cc566b2b
Storage Account setup for replicators and validators ( #3516 )
...
* Setup Storage Accounts for replicators
* Setup Storage Accounts for validators
* Add Replicator Info to Local Cluster and Add test
2019-03-27 15:54:09 -07:00
Anatoly Yakovenko
e45f7afd85
use the right id for delegate id
2019-03-27 15:04:09 -07:00
Greg Fitzgerald
054ae3a3e3
Document current transaction size awkwardness
2019-03-27 14:27:20 -06:00
Sagar Dhawan
36ea088387
Fix Storage Stage not receiving entries when node is leader ( #3528 )
2019-03-27 13:10:33 -07:00
Greg Fitzgerald
47b6707c07
Don't use a loader to test Storage instruction processor
2019-03-27 11:02:41 -06:00
Anatoly Yakovenko
0346b9cb5c
hang out on progress until fork is confirmed
2019-03-27 08:41:41 -07:00
Anatoly Yakovenko
6bfe497ab5
remove leader confirmaiton
2019-03-27 08:41:41 -07:00
Anatoly Yakovenko
6956bf635e
validator confirmaiton
2019-03-27 08:41:41 -07:00
Anatoly Yakovenko
e27d6d0988
validator confirmation
2019-03-27 08:41:41 -07:00
Greg Fitzgerald
3fc09fb23f
Remove keypairs from BankClient
...
Bring its interface closer to the other clients.
2019-03-27 09:37:19 -06:00
Greg Fitzgerald
cecdb7061e
Remove blockhash parameter from Bank::transfer
...
That parameter is an artifact from the Loom days, when I thought
Bank should implement the same interace as ThinClient.
2019-03-27 08:51:10 -06:00
Greg Fitzgerald
0ac865f08c
Remove BankClient::process_instructions
2019-03-27 08:51:10 -06:00
Greg Fitzgerald
55115d0eeb
Add process_message() to BankClient
2019-03-27 08:51:10 -06:00
Mark
16ff4ac1a8
Simplify storage interface in blocktree ( #3522 )
2019-03-27 01:36:39 -05:00
Greg Fitzgerald
5ce31168ef
Remove Transaction::new_signed
2019-03-26 19:51:16 -07:00
Greg Fitzgerald
b9ff70c8ab
pub Transaction::new_unsigned
...
Offer an incremental path off Transaction::new_unsigned_instructions().
2019-03-26 20:06:05 -06:00
Greg Fitzgerald
77498c6efe
Expose Message via the new default Transaction constructor
2019-03-26 20:06:05 -06:00
Greg Fitzgerald
8c69c40834
Make space for a new Transaction::new
2019-03-26 20:06:05 -06:00
Rob Walker
d497b99abb
use solana_entrypoint directly ( #3518 )
2019-03-26 16:40:34 -07:00
Greg Fitzgerald
ca2ac1e5ea
Remove a mostly unused Transaction constructor
2019-03-26 15:46:58 -07:00
Pankaj Garg
c09e0eb536
propagate TESTNET_DB_HOST env variable to next step in buildkite
2019-03-26 14:40:18 -07:00
Pankaj Garg
0d90dfae1a
Add provisions to specify a database server in testnet manager buildkite
2019-03-26 14:40:18 -07:00
Anatoly Yakovenko
bf61321cab
fix metrics
2019-03-26 14:30:25 -07:00
Anatoly Yakovenko
591653981b
fix metrics
2019-03-26 14:30:25 -07:00
Pankaj Garg
e651510805
Instructions on how to boot metrics server
2019-03-26 14:02:41 -07:00
Anatoly Yakovenko
9d73fbb84a
also check the delegate_id
2019-03-26 12:03:22 -07:00
Rob Walker
215b07c1a9
remove status_cache.freeze ( #3506 )
2019-03-26 11:56:25 -07:00
anatoly yakovenko
420cbc45cd
Record the current nodes locktower votes from the bank ( #3502 )
...
* observed_locktower_stats
* fixup! observed_locktower_stats
2019-03-26 11:06:31 -07:00
Greg Fitzgerald
df333e8b6e
Move new_move_many to SystemInstruction
2019-03-26 09:22:29 -07:00
Greg Fitzgerald
9759ac2961
Mark book's javascript library as binary
...
highlight.js has a big dictionary of words. When git-grep includes
one of those words, it floods the screen with the whole dictionary.
Mark it as binary so that it'll now just report one line:
Binary file book/theme/highlight.js matches
2019-03-26 07:39:34 -07:00
Anatoly Yakovenko
af9b173dfd
fix link
2019-03-26 05:43:02 -07:00
Greg Fitzgerald
b61aed7250
Minor cleanup
2019-03-25 20:31:13 -07:00
Pankaj Garg
e1c0425c2b
Remove rewards crate from publishing script
2019-03-25 20:19:58 -07:00
carllin
615472b52c
Initailize locktower with heaviest bank ( #3489 )
2019-03-25 20:00:11 -07:00
Greg Fitzgerald
4d34102d9c
Move stragglers into the book
...
The stuff added between the time we switched to proposals/ and the git-revert
2019-03-25 19:39:22 -07:00
Pankaj Garg
3e22ce4154
Added stats for locktower in testnet dashboard
2019-03-25 18:49:15 -07:00
Pankaj Garg
215f33680b
Fix the filename in testnet pariticpation instructions
2019-03-25 17:33:41 -07:00
Rob Walker
a5420f19da
Update testnet-participation.md
...
add instructions for finding metrics
2019-03-25 17:12:00 -07:00
Greg Fitzgerald
4bc3f70150
Boot VoteTransaction
2019-03-25 17:11:57 -07:00
Pankaj Garg
e8814b1297
Add support for influx cloud
2019-03-25 17:10:38 -07:00
Rob Walker
46ab0e6449
Update testnet-participation.md
...
multinode-demo/validator-x.sh uses cargo run unless USE_INSTALL==1
2019-03-25 16:30:56 -07:00
Anatoly Yakovenko
59b4f40f4e
fixup! fixup! keep track of locktower slots and stakes
2019-03-25 16:05:28 -07:00
Anatoly Yakovenko
93c57934cb
fixup! keep track of locktower slots and stakes
2019-03-25 16:05:28 -07:00
Anatoly Yakovenko
e8e1d6b8ce
keep track of locktower slots and stakes
2019-03-25 16:05:28 -07:00
Stephen Akridge
4916cd8da5
bench-tps in a cargo test
2019-03-25 15:05:56 -07:00
Greg Fitzgerald
573dec63da
Fix runtime benches
2019-03-25 14:32:01 -06:00
Rob Walker
34c051f183
add hash_fromstr ( #3476 )
2019-03-25 12:23:19 -07:00
anatoly yakovenko
51004881f8
filter out banks that have an older epoch ( #3472 )
2019-03-25 11:09:39 -07:00
Greg Fitzgerald
5c536e423c
Inline InstructionCompiler
...
The object-oriented paradigm isn't helpful here; go functional.
2019-03-25 12:08:27 -06:00
Greg Fitzgerald
4efa144916
Generate a Message instead of a Transaction
2019-03-25 12:08:27 -06:00
Greg Fitzgerald
f3936c21a3
Add message
2019-03-25 12:08:27 -06:00
Greg Fitzgerald
caff603497
Less code
2019-03-24 21:44:04 -07:00
Greg Fitzgerald
aefa9891c0
Delete unused code
2019-03-24 21:44:04 -07:00
Greg Fitzgerald
6286947697
Inline payment_plan
...
This module predates Accounts. That was a separate module because
it used to be part of Bank and those types could be sent to any
smart contract. Now each instruction processor defines for itself
what instructions it accepts.
2019-03-24 14:52:06 -06:00
Greg Fitzgerald
33972ef89e
Boot BudgetTransaction
2019-03-24 14:52:06 -06:00
Greg Fitzgerald
b53cbdd9e6
Punt on the Script abstraction
...
Low ROI
2019-03-24 14:52:06 -06:00
Greg Fitzgerald
c49e84c75b
Boot StorageTransaction
2019-03-24 13:51:02 -07:00
Greg Fitzgerald
dcf2337e58
Add StorageInstruction constructors
2019-03-24 13:51:02 -07:00
Greg Fitzgerald
5a65c3f72e
Test-drive StorageContract
2019-03-24 13:51:02 -07:00
Greg Fitzgerald
8ff1987d2d
Reorg Storage program to look more like the others
2019-03-24 13:51:02 -07:00
Greg Fitzgerald
acedf4ca5a
Move Instruction into its own module
2019-03-23 20:31:55 -07:00
carllin
68c35bfde6
Restart node test ( #3459 ) ( #3465 )
...
* Restart node test (#3459 )
* Add test to local_cluster for restarting a node
* fix so that we don't hit end of epoch - leader not found before trying to transfer
* Do not look for confirmations, b/c nobody is voting on empty transmissions in this single node test
2019-03-23 19:19:55 -07:00
Sathish
e1a3708844
Ensure accounts are unlocked ( #3458 )
2019-03-23 13:30:56 -07:00
Pankaj Garg
46ecac3310
Update leader slot in poh recorder if we skipped it ( #3452 )
...
* reset poh recorder with the original start slot
2019-03-23 13:07:09 -07:00
Greg Fitzgerald
028b9da0da
Revert "Move the design proposals to a separate book"
...
This reverts commit 4ca18d6b9a
.
2019-03-23 14:04:34 -06:00
Greg Fitzgerald
74cea2748c
Revert "Publish design proposals"
...
This reverts commit fb44e2bf48
.
2019-03-23 14:04:34 -06:00
dependabot[bot]
a478b2a05a
Bump assert_cmd from 0.11.0 to 0.11.1
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-03-23 13:18:51 -06:00
Michael Vines
41a52dbfea
Document solana-install-init.sh
2019-03-23 09:01:08 -07:00
Michael Vines
4923f889c4
Add trick to ensure the entire script is downloaded
2019-03-23 09:01:08 -07:00
Rob Walker
31b8743052
delay freeze of status_cache until squash ( #3453 )
2019-03-22 22:14:56 -07:00
Jack May
6505221629
Add exchange program ( #3444 )
2019-03-22 21:07:36 -07:00
dependabot[bot]
de2b6bc9fc
Bump tokio from 0.1.17 to 0.1.18
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.17...tokio-0.1.18 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-03-22 19:54:18 -06:00
Michael Vines
f565292852
Update testnet-participation.md
2019-03-22 17:58:58 -07:00
Michael Vines
90f17e8fd4
Update testnet-participation.md
2019-03-22 17:18:27 -07:00
Michael Vines
d6da7dc1b6
Initial testnet participation doc
2019-03-22 17:11:47 -07:00
Michael Vines
7e2aad2590
Refrain from trying to configure a staking account that was previously configured
2019-03-22 17:00:09 -07:00
Michael Vines
f09b8d3921
Demote log level
2019-03-22 17:00:09 -07:00
anatoly yakovenko
52f6c33ff9
Make sure banking stage is recording with the same bank that it read ( #3447 )
...
* make sure banking stage is recording with the same bank that it read with
2019-03-22 14:17:39 -07:00
Stephen Akridge
60dfb35924
Why do I need to see raw bytes from the drone?
2019-03-22 14:07:44 -07:00
Greg Fitzgerald
5f41909098
Stop using VoteTransaction in Vote processor
2019-03-22 14:07:00 -06:00
Michael Vines
a28f7db950
Retry more for a new blockhash
2019-03-22 11:14:03 -07:00
Greg Fitzgerald
38fdbbba3f
Reduce remaining program crates to boilerplate crates
2019-03-22 06:46:44 -07:00
Michael Vines
0a5b6154e8
Use same gossip port for all testnet nodes
2019-03-22 00:16:58 -07:00
Michael Vines
4542a7042a
Add --poll-for-new-genesis-block flag
2019-03-22 00:15:19 -07:00
Michael Vines
6113b64fee
Include multinode-demo scripts in release tarball
2019-03-21 22:09:44 -07:00
Michael Vines
f777ed76a3
Use installed binaries if not within the cargo workspace
2019-03-21 22:09:44 -07:00
Michael Vines
e6b9babf53
Run a drone on blockstreamer nodes
2019-03-21 22:09:44 -07:00
Michael Vines
ed8bada439
Kill all node processes (blockexplorer)
2019-03-21 22:09:44 -07:00
Sathish
06b0c98c75
Remove accounts when the fork is removed ( #3384 )
...
* Fix test
* Cleanup accounts when the fork is removed
* Update test to check for deleted accounts
2019-03-21 17:36:10 -07:00
Michael Vines
dbb145c266
Fixup ledger path
2019-03-21 17:06:57 -07:00
Michael Vines
437481853b
Ensure genesis ledger directory is populated on all validator nodes
...
This allows all nodes to serve the genesis ledger over rsync instead of
just the bootstrap leader
2019-03-21 16:35:40 -07:00
Michael Vines
3b5a9f512c
Get client-id.json out of the genesis ledger directory
2019-03-21 16:35:40 -07:00
Greg Fitzgerald
045af04784
Reduce budget_program and config_program into boilerplate crates
2019-03-21 16:53:08 -06:00
Greg Fitzgerald
d0761f57e8
Add _program suffix to directories of crates with _program suffix
2019-03-21 16:24:06 -06:00
Greg Fitzgerald
4bb88619fd
Move entrypoint boilerplate into a macro
2019-03-21 15:27:49 -06:00
Stephen Akridge
412ebfcaf2
ReplayStage::new is too long
...
break into more functions
2019-03-21 14:08:11 -07:00
Michael Vines
3a7647f611
Add curl-able install script
2019-03-21 13:45:54 -07:00
Michael Vines
d4cc48f99d
Check from account balance and exit cleanly if 0
2019-03-21 13:00:46 -07:00
Michael Vines
852fcbd700
Automatically update PATH for the user
2019-03-21 13:00:46 -07:00
Michael Vines
8ab4b8e6ac
Support local networks for easy testing
2019-03-21 13:00:46 -07:00
Greg Fitzgerald
a8095e204f
Cleanup SystemTransaction
2019-03-21 12:41:39 -07:00
Michael Vines
98979c7d53
Cargo.lock
2019-03-21 11:24:10 -07:00
Michael Vines
c18fcde385
Move installer to the implemented section
2019-03-21 11:24:10 -07:00
Michael Vines
f286bbac99
Initial commands implementation
2019-03-21 11:24:10 -07:00
Michael Vines
4e029d81a2
Setup staking
2019-03-21 11:12:35 -07:00
Greg Fitzgerald
2b00a42b06
Boot Rewards program
2019-03-21 12:07:20 -06:00
Greg Fitzgerald
07d55d0092
Downgrade 'No next leader found' to warning
2019-03-21 11:18:49 -06:00
Michael Vines
fb44e2bf48
Publish design proposals
2019-03-21 10:54:59 -06:00
Mark E. Sinclair
9b0bf5ad66
Add tests for table mappers; Bugfix on-disk mapper ( #3408 )
...
add tests to `kvstore::mapper::{disk, memory}` modules
fix bug in disk mapper uncovered by tests
use `tempdir` crate for unit test-directories
2019-03-21 11:38:29 -05:00
Greg Fitzgerald
4247fa946e
Add solana-wallet balance <PUBKEY>
2019-03-21 09:51:27 -06:00
Michael Vines
071b1d8b77
Cargo.lock
2019-03-21 08:47:58 -07:00
Michael Vines
63aadc4905
Turn top-level Cargo.toml into a virtual manifest
2019-03-21 08:47:58 -07:00
Greg Fitzgerald
d2415613de
Migrate loader tests to BankClient
2019-03-21 09:19:24 -06:00
Greg Fitzgerald
58f071b7a0
Migrate loader to high-level instructions
2019-03-21 09:19:24 -06:00
anatoly yakovenko
148e08a8a5
Enable cluster tests ( #3372 )
...
* Cluster tests
* stable!
* fixup! stable!
* fixup! fixup! stable!
* fixup! fixup! fixup! stable!
* fixup! fixup! fixup! fixup! stable!
* fixed space
* add getNumBlocksSinceSignatureConfirmation entry for the json rpc docs
* Check in upcoming epochs for potential leadership slots in next_leader_slot()
2019-03-21 07:43:21 -07:00
Michael Vines
402a733cd7
Upload tarball as a github release asset
2019-03-20 21:39:35 -07:00
Michael Vines
78be3652de
Add script to upload github release assets
2019-03-20 21:39:35 -07:00
Michael Vines
b03d9884a3
Ensure current crate versions match the tag before publishing to crates.io
2019-03-20 20:51:58 -07:00
Michael Vines
799085a105
Remove dead code
2019-03-20 20:51:58 -07:00
Mark
7812b67471
deduplicate some test code ( #3401 )
2019-03-20 19:35:25 -05:00
Michael Vines
4033fa031b
Add convenience script for testnet deployments
2019-03-20 16:57:55 -07:00
Michael Vines
b41737259a
Add GITHUB_TOKEN
2019-03-20 16:57:55 -07:00
Pankaj Garg
7c8a4bf6a4
use ticks per slot to check if the current tick is in the leader slot
2019-03-20 16:55:01 -07:00
Pankaj Garg
71314d79a7
address review comments
2019-03-20 16:55:01 -07:00
Pankaj Garg
d7ff6645a9
change pubkey to ref
2019-03-20 16:55:01 -07:00
Pankaj Garg
1824e09d0a
find next leader slot before resetting working bank in Poh recorder
2019-03-20 16:55:01 -07:00
Pankaj Garg
205907d3d7
Check if poh recorder has over stepped the leader slot
2019-03-20 16:55:01 -07:00
Michael Vines
d4bcc4d474
🐳
2019-03-20 16:21:47 -07:00
Stephen Akridge
bcb190a12a
Remove erroneous comment
2019-03-20 16:15:25 -07:00
Greg Fitzgerald
63e8496473
Cleanup pubkey parsing copypasta
2019-03-20 16:08:03 -07:00
dependabot[bot]
4107d70e93
Bump reqwest from 0.9.11 to 0.9.12
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.11 to 0.9.12.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-03-20 16:26:31 -06:00
Stephen Akridge
4fb0782892
Rename blocktree SlotMeta::is_rooted to is_connected
...
is_rooted is now is_connected and (still) indicates the set of connected
completed slots. 'rooted' slot terminology is used for a different
meaning in bank_forks and replay_stage.
2019-03-20 14:43:39 -07:00
Michael Vines
9b7c1d5650
Relocate *-help.sh to their respective packages
2019-03-20 14:34:57 -07:00
Michael Vines
985592cf40
Fix cp args
2019-03-20 14:29:30 -07:00
Stephen Akridge
2694654a98
Change fixed 8050 port to one from bind_in_range.
2019-03-20 14:17:21 -07:00
Stephen Akridge
4126461f87
Fix dupe port on cluster_info
...
and remove unintended grow file
2019-03-20 14:17:21 -07:00
Michael Vines
791ead6053
Include TARGET in release URL to make room for future targets
2019-03-20 13:54:32 -07:00
Rob Walker
3048de18bb
add doc that should have been copy-pasta'd from bench ( #3389 )
2019-03-20 11:10:42 -07:00
Rob Walker
df9fd2bc0b
stop copying Blooms ( #3379 )
...
* stop copying Blooms
* fixup
* clippy
2019-03-20 11:06:39 -07:00
Mark E. Sinclair
13c9d3d4e1
Kvstore: use bincode serialization ( #3385 )
...
* use bincode for SSTable serialization; add tests
* Fix bug uncovered in merge algorithm by unit tests
* use bincode in write-ahead-log serialization
* Add helper `Fill` trait for zeroing buffers
2019-03-20 09:55:44 -05:00
Michael Vines
0dc364c17a
Relocate transaction reference verification to join the other validity checks
2019-03-20 07:46:01 -07:00
Mark
b3cdf58e4b
Add WriteBatch to KvStore ( #3364 )
...
* implement write-batch in kvstore
* Add tests to writebatch, and in-memory table
2019-03-20 06:55:39 -05:00
Sagar Dhawan
61f950a60c
Sign Gossip Vote Messages
2019-03-19 19:56:17 -07:00
Michael Vines
da77789881
Revert "Drop 'unchecked' from get_subset_mut()"
...
This reverts commit 70b21b3795
.
2019-03-19 17:52:02 -07:00
Anatoly Yakovenko
61af87972e
allow empty ancestors
2019-03-19 17:51:01 -07:00
carllin
fe9e771b9b
Clear progress map on squash ( #3377 )
2019-03-19 17:30:36 -07:00
Greg Fitzgerald
94b5835738
Make AccountMeta a traditional struct instead of a tuple struct
2019-03-19 17:22:39 -06:00
Greg Fitzgerald
a4652a9aaf
Label tuple with AccountMeta
2019-03-19 17:22:39 -06:00
Anatoly Yakovenko
7246d72f03
fix is_locked_out logic
2019-03-19 16:21:46 -07:00
Michael Vines
70b21b3795
Drop 'unchecked' from get_subset_mut()
2019-03-19 16:12:53 -07:00
Stephen Akridge
682b1b89b3
Adjust for vector of entries in blobs.
2019-03-19 13:49:48 -07:00
Stephen Akridge
f1802e592a
Review comments: node creation functions for replicators
...
And rework download loop.
2019-03-19 13:49:48 -07:00
Stephen Akridge
ee58c1f960
Add test for replicator ledger download
...
Add an interface to query the storage slot a
replicator is holding on storage_addr port.
Fix logic to poll blocktree for all slots
replicated being filled.
Add test logic to ask replicator what slot it
is replicating and then download an entry in
the slot.
2019-03-19 13:49:48 -07:00
Stephen Akridge
07f4dd385d
Cleanup replicator sockets
...
Add optional UdpSocket for storage interface.
Add new_localhost_replicator to create a new replicator local node.
2019-03-19 13:49:48 -07:00
Pankaj Garg
1be7ee51be
Fix potential crash in banking stage
2019-03-19 12:06:42 -07:00
Pankaj Garg
56fcc93ef5
Schedule node for consecutive slots as leader ( #3353 )
...
* Also tweak epoch and slot duration
* new test for leader schedule
2019-03-19 06:36:45 -07:00
Rob Walker
c70412d7bb
move core tests to core ( #3355 )
...
* move core tests to core
* remove window
* fix up flaky tests
* test_entryfication needs a singly-threaded banking_stage
* move core benches to core
* remove unnecessary dependencies
* remove core as a member for now, test it like runtime
* stop running tests twice
* remove duplicate runs of tests in perf
2019-03-18 22:08:21 -07:00
Carl
5e21268ca0
PR comments
2019-03-18 20:46:11 -07:00
Carl
b38e3bef01
Modify bank_forks to support squashing/filtering new root and also don't remove parents from bank_forks when inserting, otherwise we lose potential fork points when querying blocktree for child slots
2019-03-18 20:46:11 -07:00
Michael Vines
89cc82c71b
Update cli interface
2019-03-18 18:34:08 -07:00
Michael Vines
1d0f6a5d85
Add scripts/install-help.sh
2019-03-18 18:34:08 -07:00
Michael Vines
d0292b1cf1
store transaction no longer takes the transaction fee from the config account
2019-03-18 18:34:08 -07:00
Michael Vines
15aed9f320
Self
2019-03-18 18:34:08 -07:00
Rob Walker
5a67362b8e
update passive staking proposal ( #3335 )
...
* update passive staking proposal
* fixup
2019-03-18 18:25:29 -07:00
Mark E. Sinclair
5d73ab299b
Clean up locks in KvStore ( #3358 )
...
* Lift all shared mutable state into Kvstore
commit is now an AtomicUsize
In-memory table and write-log are now struct members behind individual RwLocks
2019-03-18 19:04:31 -05:00
Stephen Akridge
ef111dcbe1
Decendent is not a word
2019-03-18 15:58:27 -07:00
Pankaj Garg
da7e49c880
Fix broken build
...
- build breaks if Cuda feature is used
2019-03-18 15:29:51 -07:00
Greg Fitzgerald
f16f88873d
Add multiple signer support to BankClient
2019-03-18 16:07:45 -06:00
anatoly yakovenko
211c81f2a2
bank fork rpc ( #3351 )
2019-03-18 14:18:43 -07:00
Pankaj Garg
efc39ffdde
Report how many grace ticks were afforded to previous leader ( #3350 )
2019-03-18 13:24:07 -07:00
anatoly yakovenko
61a4b998fa
Implement locktower voting ( #3251 )
...
* locktower components and tests
* integrate locktower into replay stage
* track locktower duration
* make sure threshold is checked after simulating the vote
* check vote lockouts using the VoteState program
* duplicate vote test
* epoch stakes
* disable impossible to verify tests
2019-03-18 12:12:33 -07:00
Stephen Akridge
cedff2fca1
Cleanup sockets test
2019-03-18 11:56:18 -07:00
Greg Fitzgerald
8d032aba9d
Merge InstructionError and ProgramError
...
From the user's perspective, it's just an instruction error.
For program-specific errors, we still have
InstructionError::CustomError.
2019-03-18 10:39:20 -06:00
Greg Fitzgerald
607b368fe3
Add back in test to check the account program id
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
a54854abc7
Do Budget verification in BudgetScript
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
ce6257a069
Delete misplaced unit-tests
...
These tests were from back in the day when Bank(then-called Accountant)
would call `verify_plan()` on all transactions. Nowadays `verify_plan`
is only useful to the client. At can be used to ensure a transaction
won't trigger runtime errors.
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
7b28d3a231
Move Budget's verify_plan() into tests
...
This functionality is supposed to be the the interpreter
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
ea01ff2aab
Add pubkey to BudgetExpr::new_cancelable_future_payment for wallet
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
3369019943
Add BudgetExpr::new_cancelable_authorized_payment
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
dbd4176b97
Move script constructors into a separate module
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
122c7bc2ef
Rename TransactionCompiler to Script and use it to replace the type alias
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
99671472d1
Migrate config tests to Bank
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
0c0716abfb
Move Bank-based tests into unit-tests
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
c09accb685
Rename StaticEntrypoint to ProcessInstruction
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
ae4d14a2ad
Introducing Scripts
...
A sequence of instructions. A client compiles the script and then uses
the compiled script to construction a transaction. Then it adds a
adds a blockhash, signs the transaction, and sends it off for
processing.
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
55cdbedb52
Allow tests to add instruction processors
...
Make runtime a private module again.
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
ee39f31d81
Add Runtime object. Allow any number of static loaders.
2019-03-18 08:22:54 -07:00
Greg Fitzgerald
70b45de012
Get access to runtime errors in Budget unit-tests
2019-03-18 08:22:54 -07:00
carllin
60437a8dcb
Multiple entries per blob ( #3337 )
...
* Pack multiple entries into blob
* fix tests
* Add test for deserializing multi-entry blobs in blocktree
* more test fixes
2019-03-17 18:48:23 -07:00
Michael Vines
a35ebe1186
Avoid RpcRequest
2019-03-17 01:34:58 -07:00
Michael Vines
c498775a3d
Move generic rpc_client functions from wallet/ to client/
2019-03-17 01:34:58 -07:00
Michael Vines
3ad019a176
Increment stable timeout
2019-03-16 23:56:35 -07:00
Michael Vines
9632136cda
Clean up stray retry_get_balance() function
2019-03-16 23:56:35 -07:00
Michael Vines
42cea7a785
Remove metrics dependency
2019-03-16 23:56:35 -07:00
Michael Vines
4c9d852b08
Remove ThinClient::transfer()
2019-03-16 23:56:35 -07:00
Sathish
9566a5cc68
Organize accounts on a per fork basis ( #3336 )
...
* Organize accounts by fork
* Keep track of vote accounts in account info
* update comments
2019-03-16 23:42:32 -07:00
Michael Vines
ac03c59b41
client/: get_transaction_count() now returns a Result
2019-03-16 23:27:23 -07:00
Michael Vines
73ceaf07b1
client/: move RpcClient from rpc_request.rs to rpc_client.rs
2019-03-16 23:27:23 -07:00
Michael Vines
7b314f47f7
Factor RPC request mechanism out of RpcClient into *RpcClientRequest
2019-03-16 23:27:23 -07:00
Michael Vines
23337e08eb
client/: Merge client.rs into thin_client.rs
2019-03-16 22:48:26 -07:00
Michael Vines
97e73311c5
Move mock request_airdrop_transaction into drone/, closer to the real impl
2019-03-16 22:14:09 -07:00
Michael Vines
e2c24481e4
wallet/ now only dev-depends on core/
2019-03-16 21:40:39 -07:00
Michael Vines
ad252fe4c5
Remove unnecessary Option from get_account_data
2019-03-16 11:32:01 -07:00
Michael Vines
4b04bc8612
Move thin_client RPC requests into rpc_request; de-mut thin_client
2019-03-16 11:32:01 -07:00
Michael Vines
bcc34b906c
Relieve the caller of having to care about the rpc request id
2019-03-16 11:32:01 -07:00
Michael Vines
c2b1010f18
Clarify url vs addr
2019-03-16 11:32:01 -07:00
Rob Walker
e3ef4f25d3
Update Dockerfile
...
install mscgen (for book art)
2019-03-15 20:44:35 -07:00
Michael Vines
ad12b0efce
Bump kvstore version to 0.13.0 to match all other solana crates ( #3334 )
2019-03-15 19:05:24 -05:00
Sagar Dhawan
00f005af25
Fix leader rotation counter
2019-03-15 17:01:18 -07:00
Mark
656fb173f9
Extract kvstore into separate crate ( #3327 )
...
* extract kvstore into new crate
* add kvstore crate to CI publishing list
2019-03-15 18:42:47 -05:00
Michael Vines
5f58e9cd6e
Config program - useful for storing/updating simple config items on chain
2019-03-15 16:39:45 -07:00
Michael Vines
1d876df8b3
Add command plumbing
2019-03-15 16:30:31 -07:00
Michael Vines
c8bbca08f8
Install the install program
2019-03-15 16:30:31 -07:00
Pankaj Garg
971da7325d
Reduce log level for periodic debug messages
2019-03-15 15:41:26 -07:00
Michael Vines
ca4f874f52
Remove ci/run-local.sh
2019-03-15 15:09:25 -07:00
Greg Fitzgerald
a88b36d718
Rename TransactionBuilder to TransactionCompiler
2019-03-15 14:46:44 -06:00
Greg Fitzgerald
24d9138067
Abandon Builder pattern
2019-03-15 14:46:44 -06:00
Greg Fitzgerald
aca739b800
Boot fees from TransactionBuilder
2019-03-15 14:46:44 -06:00
Greg Fitzgerald
e091aa87ea
More precise constructor names
2019-03-15 14:46:44 -06:00
Greg Fitzgerald
968022a1b0
Instruction name swap
...
* Instruction -> GenericInstruction
* Instruction<u8, u8> -> CompiledInstruction
* Instruction<Pubkey, (Pubkey, bool)> -> Instruction
2019-03-15 14:46:44 -06:00
Pankaj Garg
66fb1bbb2e
Give last leader some grace ticks to catch up ( #3299 )
...
* Wait for last leader for some ticks
* New tests and fixed existing tests
2019-03-15 13:22:16 -07:00
Mark
fa3e1fa7c9
Add error correction to write-log ( #3323 )
2019-03-15 15:04:34 -05:00
carllin
36763d0802
Cleanup entry.rs packing code ( #3303 )
2019-03-15 12:48:32 -07:00
Sagar Dhawan
be5f800390
Use the Mining Proof's Signature as storage keys ( #3321 )
2019-03-15 11:44:10 -07:00
Mark
ca69b7b75b
Add CRC Reader and Writer I/O wrappers ( #3322 )
...
* add CRC Reader and Writer I/O wrappers
* typo fix and variable rename
2019-03-15 13:17:49 -05:00
Mark
a15927f8d0
make KvStore Send+Sync ( #3317 )
2019-03-15 13:01:34 -05:00
Sunny Gleason
4ba4ad9878
Update README.md
2019-03-15 11:53:37 -06:00
Mark
be1511a7ff
delete accidental file ( #3316 )
2019-03-15 11:28:08 -05:00
Michael Vines
41b98c603b
Upgrade rust stable to 1.33.0
2019-03-15 09:25:28 -07:00
Michael Vines
5430dd28b6
Update docker-rust to 1.33
2019-03-15 09:25:28 -07:00
Michael Vines
e9d687329b
Only push newly built container
2019-03-15 09:25:28 -07:00
Greg Fitzgerald
d72cac6e97
Fix chacha test
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
4e51a444f4
Simplify TransactionBuilder::new_with_instructions
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
48d86683e2
Abuse KeypairUtil
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
42d5dde5b1
new_singleton -> new_with_instruction
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
142eeffe5d
Add BankClient to minimize copypasta
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
6a68df3ebd
Don't resign airdrop requests with the keypair asking for an airdrop
...
The correct thing to do here is retry until you get a
BlockhashNotFound error, and then send another request
to the drone for a new signed transaction.
Also, this test is an integration test masquerading as a unit-test..
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
8306c1841c
Fix build
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
73bd396dfb
Rewrite system integration test
...
Create Client helpers instead of Bank helpers.
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
36fb0a0aef
Add new preferred transaction constructors
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
4d53be8350
Make it unappealing to build and sign transactions at the same time
...
Use a client to sign transactions. It'll need that keypair anyway
to resign new blockhashes on retries.
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
f8bf9ca218
Make safe transaction signing the default
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
7b4568b9bf
Migrate to sign_checked()
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
bd8502e87e
Implement Transaction::new_unsigned with TransactionBuilder
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
21815f26d5
Implement signed transaction using unsigned transaction
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
8ef5195037
Don't test a transaction with a duplicate key
2019-03-15 09:06:54 -06:00
Michael Vines
57606c6bf8
Bump log level for better CI logs
2019-03-15 07:48:23 -07:00
anatoly yakovenko
0465abf75b
move ( #2738 )
2019-03-15 06:58:45 -07:00
Michael Vines
8a142966be
Avoid stray '' when rust version is not specified
2019-03-14 21:30:24 -07:00
Michael Vines
7498488f5f
cloud_DeleteInstances() now waits for the instances to be terminated
2019-03-14 21:15:00 -07:00
Michael Vines
ede99d5913
Revert "Block until instances are confirmed to be deleted"
...
This reverts commit 47ddbbe53b
.
2019-03-14 20:53:10 -07:00
Michael Vines
3ced91319f
Upgrade nightly rust version
2019-03-14 20:22:46 -07:00
Michael Vines
3d1413e619
Preserve original nightly name
2019-03-14 20:22:46 -07:00
Michael Vines
8f25548781
Overhaul cargo/rustc version management
2019-03-14 20:22:46 -07:00
Michael Vines
47ddbbe53b
Block until instances are confirmed to be deleted
2019-03-14 16:20:18 -07:00
Rob Walker
5741400713
add support for finding the next slot a node will be leader ( #3298 )
2019-03-14 16:06:56 -07:00
Rob Walker
9f02a8d3d0
remove ticks_per_slot from blocktree ( #3297 )
2019-03-14 15:18:37 -07:00
Stephen Akridge
c208f4dbb5
Add option of replicators to local cluster test
2019-03-14 13:55:11 -07:00
Michael Vines
a17843c8f6
solana-install design proposal
2019-03-14 13:21:00 -07:00
Sagar Dhawan
3f2fc21bb3
Rename hash_queue and fix boundary condition ( #3289 )
2019-03-14 11:56:36 -07:00
Greg Fitzgerald
9fac3b26ee
Move the design proposals to a separate book
...
Fixes #3262
2019-03-14 10:08:43 -07:00
Greg Fitzgerald
c1eec0290e
Rename userdata to data ( #3282 )
...
* Rename userdata to data
Instead of saying "userdata", which is ambiguous and imprecise,
say "instruction data" or "account data".
Also, add `ProgramError::InvalidInstructionData`
Fixes #2761
2019-03-14 10:48:27 -06:00
Eric
de13082347
add economic design mvp to summary and overview
2019-03-14 09:42:19 -06:00
Eric
48b5d666d0
some economic mvp features
2019-03-14 09:42:19 -06:00
Eric
70bb49a46d
some economic mvp features
2019-03-14 09:42:19 -06:00
Eric
105fc7029e
create mvp section
2019-03-14 09:42:19 -06:00
dependabot[bot]
77a7ffe543
Bump hex-literal from 0.1.3 to 0.1.4
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.3...hex-literal-v0.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-03-14 07:21:32 -06:00
Michael Vines
7d593e6c61
Exit gracefully when no subcommand is specified
2019-03-14 00:35:34 -05:00
Michael Vines
bb420cb995
Use crate_description and crate_name Clap macros
2019-03-14 00:35:34 -05:00
Greg Fitzgerald
e58220282a
Move TransactionError into the SDK
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
4ca4038d54
Rename BankError to TransactionError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
150cd31ec0
Blur the line between Bank and Runtime
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6fd0d4dcf5
Boot error piggybacking on BankError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
296415945a
Generalize error codes
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
1de5ae1ef0
Remove SystemError from ProgramError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6a89c68a1d
Add utility function to help get System error out of ProgramError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
c14cce4c85
Add InstructionError for runtime instruction errors
2019-03-13 21:26:57 -06:00
Stephen Akridge
959961b596
Modified test
2019-03-13 18:18:27 -07:00
Pankaj Garg
6f76c2da6c
Fix confirmation test
2019-03-13 17:50:53 -07:00
Pankaj Garg
8d2bd2b30f
Reduce ticks per second
...
- It's improving TPS. Temp fix for beacons timeframe
2019-03-13 17:50:53 -07:00
Michael Vines
34a8d591fa
Switch version file from .txt to .yaml; add target tuple to version.yml
2019-03-13 16:30:07 -07:00
dependabot[bot]
d94ff4bf4a
Bump tokio from 0.1.15 to 0.1.17
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.15 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.15...tokio-0.1.17 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-03-13 15:45:33 -06:00
carllin
af03df38b9
Don't vote for empty leader transmissions ( #3248 )
...
* Don't vote for empty leader transmissions
* Add is_delta flag to bank to detect empty leader transmissions
* Plumb new is_votable flag through replay stage
* Fix PohRecorder tests
* Change is_delta to AtomicBool to avoid making Bank references mutable
* Reset start slot in poh_recorder when working bank is cleared, so that connsecutive TPU's will start from the correct place
* Use proper max tick height calculation
* Test for not voting on empty transmission
* tests for is_votable
2019-03-13 14:06:12 -07:00
Michael Vines
242bcf44db
Replace stale --no-signer usage with --no-voting
2019-03-13 13:50:30 -07:00
Michael Vines
ebd540972d
Remove duplicate --rpc-drone-address
2019-03-13 13:24:02 -07:00
Michael Vines
a17be9f8bd
Revert "Add case for --rpc-drone-address"
...
This reverts commit 42ad297778
.
2019-03-13 13:23:54 -07:00
Michael Vines
42ad297778
Add case for --rpc-drone-address
2019-03-13 13:04:44 -07:00
Greg Fitzgerald
0568d7238e
Add implemented design proposals section
2019-03-13 13:20:37 -06:00
Greg Fitzgerald
9bc05313a2
Update TPU ASCII art
2019-03-13 13:14:15 -06:00
Michael Vines
fedbae6f8c
Enable rpc for all testnet nodes
2019-03-13 10:49:40 -07:00
Stephen Akridge
64de639817
Fixes to replicator
...
Move functionality into more functions.
Break down the current test and just test creation/joining the network.
2019-03-13 10:15:03 -07:00
Stephen Akridge
ec9e13d1f4
Add repair slot range
...
Use default impl RepairSlotRange
2019-03-13 10:15:03 -07:00
Michael Vines
5d27f221f7
Drop socat for iptables
2019-03-13 12:03:56 -05:00
Michael Vines
61db74d98e
Run socat in the background
2019-03-13 08:15:58 -07:00
Tyera Eulberg
1d689e84f1
Move and rename cluster_client
2019-03-12 22:05:38 -06:00
Tyera Eulberg
b7f420412b
Update publish script
2019-03-12 22:05:38 -06:00
Tyera Eulberg
e3ac9e9679
Move thin client tests to integration test suite
2019-03-12 22:05:38 -06:00
Tyera Eulberg
12fde77ecd
Update crate references
2019-03-12 22:05:38 -06:00
Tyera Eulberg
3fc96c4a18
Add solana-client crate
2019-03-12 22:05:38 -06:00
carllin
cb3eeace56
Replay Stage start_leader() can use wrong parent fork() ( #3238 )
...
* Make sure start_leader starts on the last voted block, not necessarily the biggest indexed bank in frozen_slots()
* Fix tvu test
2019-03-12 17:42:53 -07:00
Pankaj Garg
76feb2098e
Use same VM type for validators as leader, if CUDA is enabled ( #3253 )
...
- Since all nodes are created equal
2019-03-12 17:42:47 -07:00
Rob Walker
06cb266cfe
remove unused code ( #3252 )
2019-03-12 16:46:41 -07:00
Sagar Dhawan
866d3f467f
Fix flag to disable leader-rotation ( #3243 )
2019-03-12 16:35:13 -07:00
Sagar Dhawan
c1e726da87
Remove comment
2019-03-12 15:32:41 -07:00
Sagar Dhawan
7d7528eb18
Fix test_bank_storage
2019-03-12 15:32:41 -07:00
Rob Walker
9f916f9d47
remove Option<> wrapper for accounts
2019-03-12 15:03:26 -07:00
Michael Vines
a7d8bfdf8b
Adjust crate list
2019-03-12 14:02:51 -07:00
Michael Vines
abdd4f371b
Adjust readme path
2019-03-12 14:02:51 -07:00
carllin
13adee332e
Add retry transfer logic to kill_entry_and_spend_and_verify_rest to account for dead forks ( #3239 )
2019-03-12 13:48:02 -07:00
Rob Walker
a799f8f4b1
tell blockexplorer to run on port 8080 ( #3237 )
...
* tell blockexplorer to run on port 8080
* forward port 80 to 5000 for a blockexplorer node
2019-03-12 13:39:09 -07:00
Michael Vines
1ee43a7633
Remove non-essential programs from runtime/
2019-03-12 15:11:59 -05:00
Michael Vines
3d2b7dd1ef
Move programs/system into runtime/
2019-03-12 11:30:58 -05:00
Sagar Dhawan
7b35114c0f
Filter vote accounts with no delegate from being selected in Rotation ( #3224 )
2019-03-11 17:58:21 -07:00
Pankaj Garg
b418525464
Update current leader information in metrics and dashboard
2019-03-11 17:43:59 -07:00
Pankaj Garg
8bba11367e
Provide drone's host address while setting up staking account
2019-03-11 17:11:34 -07:00
anatoly yakovenko
9eb7e63819
Add staking rewards design proposal for delegation ( #3148 )
...
* proposal for single vote many delegators
2019-03-11 16:35:42 -07:00
Michael Vines
092501039c
Cargo.lock
2019-03-11 16:27:22 -07:00
Michael Vines
6899bd7099
0.13.0
2019-03-11 16:21:19 -07:00
Michael Vines
5a0416b925
Keep stable dashboard on stable channel at all times
2019-03-11 16:19:16 -07:00
Michael Vines
ba2cdd0bf6
Move testnet/testnet-perf to the stable channel
2019-03-11 16:14:16 -07:00