263fc25992
Reject TXs sent via RPC with no signatures
...
(cherry picked from commit a888f2f516
)
2020-07-30 07:44:18 -06:00
f6b669eabc
Add new RPC error for TXs with no signatures
...
(cherry picked from commit 9778fedd7a
)
2020-07-30 07:44:18 -06:00
1b2fdcd3a2
Dereplicode send_transaction and request_airdrop RPC handlers
...
(cherry picked from commit a7079e4dde
)
2020-07-30 07:44:18 -06:00
e8e74ee009
Add failing test for TX sent via RPC with no signatures
...
(cherry picked from commit b962b2ce2d
)
2020-07-30 07:44:18 -06:00
227a13f2d2
Fill out missing RPC request received debug logging
2020-07-29 22:58:30 -06:00
6842e37780
Fix race condition between shrinking and cleaning (for 1.1) ( #11234 )
...
* Fix race condition between shrinking and cleaning
* Fix compile error...
* fix ci
* Update comments
2020-07-29 06:06:34 +09:00
035bd7db4e
Bump version to 1.1.23
2020-07-27 16:26:44 -06:00
14c2e2af13
Designate mainnet-beta epoch 61 as an upgrade epoch
...
(cherry picked from commit ed01591be6
)
2020-07-27 14:48:42 -06:00
a5b915263b
Rpc: Add getStakeActivation endpoint (bp #10902 ) ( #11185 )
...
* Rpc: Add getStakeActivation endpoint (#10902 )
* Add getStakeActivation endpoint
* Add docs
* Update docs/src/apps/jsonrpc-api.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Rework return type
* Update docs
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 4de0713aa3
)
# Conflicts:
# core/src/rpc.rs
# docs/src/apps/jsonrpc-api.md
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-23 14:50:59 -06:00
b87ac392e8
Bump version to v1.1.22
2020-07-22 16:17:14 -06:00
f6f4e6062a
Use OrderedIterator in collect_balances ( #11167 )
2020-07-22 13:02:23 -06:00
42c027a7e6
Bump version to 1.1.21
2020-07-21 23:33:01 -06:00
6fbad24477
getEpochInfo RPC endpoint now includes the current block height
2020-07-21 20:21:39 -07:00
4bd018e68b
Use OrderedIterator in TransactionStatusService ( #11149 ) ( #11150 )
...
* Split out get-first-err for unit testing
* Add failing test
* Add missing ordering
(cherry picked from commit 6c38369042
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-21 17:49:38 -06:00
c73e40a351
Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected (bp #11082 ) ( #11109 )
...
* Add Bank support for "upgrade epochs" where all non-vote transactions will be rejected
(cherry picked from commit e5d8c4383f
)
# Conflicts:
# runtime/src/bank.rs
* Fix merge conflict
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-17 12:34:19 -07:00
8f790e3153
Add --expected-bank-hash stub for v1.2 command-line compatibility
2020-07-16 13:18:34 -07:00
1972d8b5c0
Update CRATES_IO_TOKEN
2020-07-15 17:55:13 -07:00
bc2fd56516
Gate nonce-overwrite change ( #11081 ) ( #11086 )
...
(cherry picked from commit 1da9f9f05a
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-07-15 18:22:33 -06:00
00916b2ca6
CLI: Fix explicitly plumb vote_account through create-vote-account
...
(cherry picked from commit 14ac233d01
)
2020-07-14 10:28:59 -06:00
006a5c5c88
CLI: Fix explicitly plumb withdraw_authority through vote-update-validator
...
(cherry picked from commit 2284699889
)
2020-07-14 10:28:59 -06:00
6666e54a1f
CLI: Fix explicitly plumb withdraw_authority through vote-update-commission
...
(cherry picked from commit 3392ecc310
)
2020-07-14 10:28:59 -06:00
d6ea4f50c9
Mode gate RecentBlockhashes/BlockhashQueue sync
...
(cherry picked from commit 5741002a32
)
2020-07-13 22:47:39 -06:00
a0965e1eba
Synchronize BlockhashQueue and RecentBlockhashes sysvar update
...
(cherry picked from commit 5357ff6d60
)
2020-07-13 22:47:39 -06:00
7ca65341e6
Factor locked portion of Bank::update_recent_blockhashes() out to helper
...
(cherry picked from commit 9cc379af6c
)
2020-07-13 22:47:39 -06:00
141a5928c4
Add failing test
...
(cherry picked from commit 942c019d50
)
2020-07-13 22:47:39 -06:00
5f0584b6e8
Add vote-update-commission
subcommand
2020-07-13 11:45:33 -06:00
b7fb739cd9
Revert "Add EncodedTransaction::Raw"
...
This reverts commit 60b1bcddb5
.
2020-07-12 08:56:36 -07:00
5a4a238029
rebase
2020-07-10 22:52:51 -07:00
01987f8f89
getConfirmedBlocks now has an upper limit on slot range
...
(cherry picked from commit aef6bf272e
)
# Conflicts:
# core/src/rpc.rs
2020-07-10 22:52:51 -07:00
82caa50781
Add fee-calculator logging ( #11001 )
2020-07-10 18:04:49 -06:00
60b1bcddb5
Add EncodedTransaction::Raw
2020-07-10 14:55:07 -07:00
dce7739b75
Add block time placeholder to getConfirmedBlock ( #10989 )
...
(cherry picked from commit 491f5ae61a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-10 11:02:43 -07:00
1c703af6a2
Fix nonce fee_calculator overwrite (bp #10973 ) ( #10975 )
...
* Fix nonce fee_calculator overwrite (#10973 )
* Add failing test
* Pass fee_calculator to prepare_if_nonce_account; only overwrite in error case
(cherry picked from commit 25228ca957
)
* v1.1 transaction builder
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-09 16:57:18 -06:00
f49de3b1ad
Add --snapshot-version stub to ease migration to 1.2.0 ( #10921 )
2020-07-05 21:22:31 -07:00
5c1b79f500
net.sh: Refactor node initialization wait ( #10819 ) ( #10823 )
...
* remote-node.sh: Factor out init wait to own script
* remote-node.sh: Allow nodes to initialize asynchronously
* testnet-automation: Plumb --async-node-init
(cherry picked from commit 7021e1c584
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-26 16:28:55 +00:00
da04616fd4
Fix race in ci/run-sanity.sh ( #10796 ) ( #10801 )
...
(cherry picked from commit 4dc9f378b8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 05:54:08 +00:00
8653c86284
Fix broken image link ( #10496 ) ( #10794 )
...
automerge
(cherry picked from commit 75b8c2c4e3
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-25 01:41:35 +00:00
809e4cbf25
Remote Wallet: Stricter derivation path component parsing ( #10725 ) ( #10739 )
...
(cherry picked from commit 842cab2739
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-22 18:27:46 +00:00
1aef482972
ledger-tool: Ignore SIGUSR1 ( #10730 ) ( #10731 )
...
Prevents warehouse archive calls getting KO'd by logrotate
(cherry picked from commit d42247c652
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-21 19:31:25 +00:00
248ab3a6ec
Don't bother api.github.com
on pull requests to avoid getting rate limited ( #10709 )
...
(cherry picked from commit c0389ef82f
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-06-18 23:55:09 +00:00
ec1f2b4f90
Bump version to v1.1.20 ( #10705 )
2020-06-18 23:29:23 +00:00
c853632fc4
Add stub address_labels field for 1.3 compatibility ( #10696 )
2020-06-18 11:05:48 -07:00
e651209f73
Update testnet shred version ( #10684 ) ( #10685 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 9c22a6007d
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-18 07:59:20 +00:00
641f439a45
Update testnet shred version ( #10681 ) ( #10682 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit dae8bc477b
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-18 07:44:58 +00:00
a2486f8094
Remove strict from automerge, add rebase opt in
2020-06-17 20:53:55 -07:00
d48bd80619
Plumb --warp-slot
through net scripts (bp #10639 ) ( #10642 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-18 01:44:58 +00:00
4ff70a05f1
ignore break ( #10666 ) ( #10668 )
...
(cherry picked from commit a5f82c995e
)
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-06-17 22:46:24 +00:00
7831cef9a7
Wait until bank is frozen before sending RPC notifications (bp #10654 ) ( #10662 )
...
* Wait until bank is frozen before sending RPC notifications (#10654 )
(cherry picked from commit 39984cdcc3
)
# Conflicts:
# core/src/replay_stage.rs
* Update replay_stage.rs
Co-authored-by: Justin Starry <justin@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 20:35:16 +00:00
7dd22d6601
Factor out testnet automation SW version resolution ( #10659 )
...
(cherry picked from commit a15f60a291
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-17 17:19:02 +00:00
3bb0388299
Add address to non-circulating supply ( #10647 )
...
(cherry picked from commit 5673343f49
)
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-06-17 05:43:23 +00:00
a0a2c61856
Allow pre-existing stake accounts in multinode-demo/delegate-stake.sh ( #10635 )
...
(cherry picked from commit ae0d5ba201
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-06-16 22:53:52 +00:00
4afa64c20d
Plumb --wait-for-supermajority through scripts ( #10611 ) ( #10613 )
...
(cherry picked from commit 348bf78cd1
)
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-16 17:55:16 +00:00
be6edb950c
Add generic is_parsable() input validator (bp #10599 ) ( #10620 )
...
* Add generic is_parsable() input validator.
Allow input validators to accept &str, &String and String parameters.
(cherry picked from commit daa2e6363f
)
# Conflicts:
# clap-utils/src/input_validators.rs
* Fix conflict
Co-authored-by: Kristofer Peterson <kris@tranception.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-16 11:15:29 +00:00
62bc83ef39
Add mergify automerge rules
2020-06-15 09:14:39 -07:00
f26824f2b5
Bump version to v1.1.19
2020-06-14 20:18:45 -07:00
bc808d785b
Fix udp port check retry and check all udp ports (bp #10385 ) ( #10576 )
...
automerge
2020-06-14 17:36:17 -07:00
a5e91f8b14
Fix perf-libs version detection ( #10571 ) ( #10573 )
...
automerge
2020-06-14 13:50:10 -07:00
79b1d49e42
Fix fannout gossip bench (bp #10509 ) ( #10555 )
...
* Fix fannout gossip bench (#10509 )
* Gossip benchmark
* Rayon tweaking
* push pulls
* fanout to max nodes
* fixup! fanout to max nodes
* fixup! fixup! fanout to max nodes
* update
* multi vote test
* fixup prune
* fast propagation
* fixups
* compute up to 95%
* test for specific tx
* stats
* stats
* fixed tests
* rename
* track a lagging view of which nodes have the local node in their active set in the local received_cache
* test fixups
* dups are old now
* dont prune your own origin
* send vote to tpu
* tests
* fixed tests
* fixed test
* update
* ignore scale
* lint
* fixup
* fixup
* fixup
* cleanup
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
(cherry picked from commit ba83e4ca50
)
* Merge fixes
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-06-14 06:28:43 -07:00
5c5207b7c4
Use git diff instead of git show for --check ( #10566 ) ( #10567 )
...
automerge
2020-06-14 06:28:33 -07:00
6280ea1b6e
Check the whole range of commits in the topic branch (bp #10560 ) ( #10563 )
...
automerge
2020-06-14 04:46:09 -07:00
f016ccdbb5
Dial down gossip threadpool ( #10540 )
2020-06-13 22:48:32 -07:00
a528e966e6
Add Trust Wallet security info ( #10516 )
...
automerge
(cherry picked from commit 914f285914
)
2020-06-12 22:14:34 -07:00
4be9d926c8
Add FdGYQ... to non-circulation withdrawer authority list ( #10542 ) ( #10545 )
...
automerge
2020-06-12 18:14:27 -07:00
94e162b0f0
Refine build condition
2020-06-12 17:03:48 -07:00
26ca3c6d6d
Update non-circulating pubkeys ( #10524 ) ( #10526 )
...
automerge
(cherry picked from commit fb8612be49
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-11 16:58:28 -07:00
729b997392
Improve BPF SDK dependency caching ( #10434 ) ( #10517 )
...
automerge
2020-06-11 14:12:16 -07:00
37b381f47f
Force CI_REPO_SLUG
2020-06-11 13:14:42 -07:00
0115bfa2ea
Bump version to v1.1.18
2020-06-10 22:42:05 -07:00
3f60fe62c2
Add StakeInstruction::Merge ( #10503 ) ( #10506 )
...
automerge
2020-06-10 20:04:03 -07:00
ea44e64d21
Add VoteInstruction::UpdateCommission ( #10497 )
...
automerge
2020-06-10 12:54:09 -07:00
8e1c2d2df4
Add back missing pull_response success counter ( #10491 ) ( #10500 )
...
automerge
2020-06-10 10:45:27 -07:00
a79702c62c
Optimize process pull responses ( #10460 ) ( #10484 )
...
* Batch process pull responses
* Generate pull requests at 1/2 rate
* Do filtering work of process_pull_response in read lock
Only take write lock to insert if needed.
2020-06-09 20:02:46 -07:00
3c94084177
Add SendTransactionService ( #10470 )
...
automerge
2020-06-09 18:13:50 -07:00
7d448eb1a9
Add --warp-slot argument to |solana-ledger-tool create-snapshot| ( #10473 )
...
automerge
2020-06-09 11:09:32 -07:00
a705764ca7
v1.1 gossip lock optimizations ( #10459 )
...
* Skip gossip requests with different shred version and split lock (#10240 )
(cherry picked from commit 3f508b37fd
)
* More cluster stats and add epoch stakes cache in retransmit stage (#10345 )
* More cluster info metrics for push request/response counts
* Cache staked peers for the epoch
(cherry picked from commit ef37b82ffa
)
* Cache tvu peers for broadcast (#10373 )
(cherry picked from commit 2cf719ac2c
)
* Add pull request count metrics (#10421 )
(cherry picked from commit 3d2230f1a9
)
2020-06-08 17:05:55 -07:00
3110def6c3
Remove lock around JsonRpcRequestProcessor (bp #10417 ) ( #10450 )
...
automerge
2020-06-08 16:45:49 -07:00
afc89beefa
Bump version to v1.1.17
2020-06-08 10:32:26 -07:00
d5d5e8797b
Bump new_system_program_activation_epoch by 2
2020-06-08 09:40:39 -07:00
09f0624887
Adjust RPC simulateTransaction endpoint to match v1.2 ( #10443 )
...
automerge
2020-06-06 21:08:27 -07:00
52c20a5c38
Add Certus One as a trusted validator for testnet ( #10433 ) ( #10437 )
...
automerge
2020-06-05 16:49:21 -07:00
3c38df9be0
Avoid AccountInUse errors when simulating transactions ( #10391 ) ( #10419 )
...
automerge
2020-06-04 20:41:12 -07:00
da038e626a
v1.1: ledger_cleanup_service: compact at a slower rate than purging ( #10415 )
...
automerge
2020-06-04 20:30:31 -07:00
9cfbf8a94d
Deactivate legacy_system_instruction_processor at epoch 58/38 (preview/stable) ( #10406 ) ( #10407 )
...
automerge
2020-06-04 01:21:43 -07:00
fbcbd37650
v1.1: Enable rolling update of "Permit paying oneself" / "No longer allow create-account to add funds to an existing account" ( #10394 )
...
automerge
2020-06-03 16:34:59 -07:00
dca932fe45
Don't share same snapshot dir for secondary access (bp #10384 ) ( #10386 )
...
automerge
2020-06-03 06:34:19 -07:00
8d89eac32f
Support opening an in-use rocksdb as secondary (bp #10209 ) ( #10381 )
...
automerge
2020-06-02 23:51:43 -07:00
862fd63bb4
Update system_instruction_processor.rs
2020-06-02 23:35:31 -07:00
578d77495a
No longer allow create-account to add funds to an existing account ( #10192 )
2020-06-02 23:35:31 -07:00
537d135005
Add --max-genesis-archive-unpacked-size to capitalization ( #10380 )
...
automerge
2020-06-02 21:39:14 -07:00
5ade9b9f02
Revert "Reduce UNLOCK_NONCE_SLOT to ensure it is active on all three clusters ( #10223 )" ( #10370 )
...
automerge
2020-06-02 12:42:03 -07:00
e023719c58
Add preflight checks to sendTransaction RPC method (bp #10338 ) ( #10362 )
...
automerge
2020-06-01 22:45:51 -07:00
a278f745f8
Reduce stable jobs ( #10344 ) ( #10346 )
...
automerge
2020-05-31 22:40:51 -07:00
640bb9cb95
Permit paying oneself ( #10337 ) ( #10341 )
...
automerge
2020-05-31 13:18:34 -07:00
c344a878b6
validator: Added --health-check-slot-distance (bp #10324 ) ( #10330 )
...
automerge
2020-05-29 17:49:09 -07:00
9b63f7a50f
Improve Rpc inflation tooling (bp #10309 ) ( #10321 )
...
automerge
2020-05-29 17:35:10 -07:00
b128087445
Backport of #9161 to v1.1 branch ( #10327 )
...
automerge
2020-05-29 16:34:36 -07:00
72755fcd19
Add mechanism to get blockhash's last valid slot ( #10239 ) ( #10318 )
...
automerge
2020-05-29 11:27:45 -07:00
24937e63d4
verify_reachable_ports: Handle errors without expect() ( #10298 ) ( #10304 )
...
automerge
2020-05-28 16:12:08 -07:00
995759faf5
Add commitment parameter to getFeeCalculatorForBlockhash ( #10255 ) ( #10296 ) ( #10302 )
...
automerge
2020-05-28 15:26:39 -07:00
db60bd30dc
Feign RPC health while in a --wait-for-supermajority
holding pattern ( #10295 ) ( #10300 )
...
automerge
2020-05-28 13:53:05 -07:00
bc86ee8d13
Fix run_orphan DOS ( #10290 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-28 11:29:13 -07:00
93506b22e7
Include GenesisConfig inflation in Display ( #10282 ) ( #10288 )
...
automerge
2020-05-28 00:54:13 -07:00
1e53760a65
Use correct --url ( #10284 ) ( #10286 )
...
automerge
2020-05-27 22:15:47 -07:00
24c796b434
Bump version to 1.1.16
2020-05-27 18:13:17 -07:00
2cdd3f835f
log leader ( #10280 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-27 18:07:31 -07:00
c4e04f70d0
Adjust mainnet-beta shred version
2020-05-27 17:10:53 -07:00
5d971472b2
Purge next slots to avoid a blockstore_processor panic on restart ( #10277 )
2020-05-27 17:10:27 -07:00
f1201502d4
Bump version to 1.1.15
2020-05-26 21:22:34 -07:00
fd5222ad21
V1.1 single gossip commitment ( #10263 )
...
automerge
2020-05-26 21:16:46 -07:00
768a5f2b40
Cluster info metrics ( #10215 ) ( #10235 )
...
automerge
2020-05-26 17:28:14 -07:00
87b57b53f9
Wait for one slot to be produced ( #10257 ) ( #10258 )
...
automerge
2020-05-26 17:27:36 -07:00
55a64c8945
Activate eager rent collection and BPF loader on mainnet-beta epoch 34 ( #10231 )
2020-05-26 10:28:29 -07:00
e8c6233c6e
Adjust owner hashing activation slot ( #10243 )
...
automerge
2020-05-26 01:21:22 -07:00
f51b214449
Adjust include_owner_in_hash to match mainet-beta v1.0 activation ( #10230 )
...
automerge
2020-05-25 12:31:15 -07:00
8fe8a5717e
Clean up RPCClient retry handling: only retry on 429, after a little sleep ( #10182 ) ( #10184 )
...
automerge
2020-05-25 11:41:46 -07:00
9adf8b4fc8
Reduce UNLOCK_NONCE_SLOT to ensure it is active on all three clusters ( #10223 )
...
automerge
2020-05-25 01:08:30 -07:00
82772f95a1
LedgerCleanupService no longer causes an OOM and actually purges (bp #10199 ) ( #10221 )
...
automerge
2020-05-24 23:24:45 -07:00
0b5d3df251
Optimize banking processing of AccountInUse ( #10154 ) ( #10193 )
...
automerge
2020-05-24 11:46:10 -07:00
e63fdba252
Test ledger-tool commands in run-sanity.sh ( #10211 )
...
automerge
2020-05-24 06:07:24 -07:00
5e65b7cbd9
Retry a couple times before declaring a UDP port unreachable ( #10181 ) ( #10191 )
...
automerge
2020-05-22 15:57:18 -07:00
68d0fe2dbc
Update another non-circulating account
2020-05-22 15:11:19 -07:00
3aad5f563e
Add another non-circulating account ( #10186 ) ( #10190 )
...
automerge
2020-05-22 14:59:21 -07:00
ccfe09e460
Fixup deserialize_bs58_transaction, and make a few error types more targeted ( #10171 ) ( #10177 )
...
automerge
2020-05-21 19:09:24 -07:00
6fd57fafc8
REST API now returns supply in SOL rather than lamports ( #10170 ) ( #10174 )
...
automerge
(cherry picked from commit 18be7a7966
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-21 16:54:12 -07:00
c7d857583f
Revert "Add AVX2 runtime checks ( #10033 )" ( #10167 ) ( #10169 )
...
This reverts commit cf8eb7700b
.
(cherry picked from commit 486168b796
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-21 13:19:47 -07:00
e29b7876ad
Add v0 REST APIs for circulating and total supply (bp #10102 ) ( #10160 )
...
automerge
2020-05-20 21:51:25 -07:00
de479ebda9
transaction-history now searches over the entire history by default ( #10145 ) ( #10153 )
...
automerge
2020-05-20 15:32:21 -07:00
d3447f2f41
Fixup subscription docs ( #10146 ) ( #10148 )
...
automerge
2020-05-20 12:23:07 -07:00
d9e14b4a82
Fix another unstable test after eager rent ( #10120 ) ( #10143 )
...
automerge
2020-05-20 10:22:11 -07:00
94b97e4b56
Ignore test_tvu_exit ( #10134 ) ( #10138 )
...
automerge
2020-05-20 00:57:34 -07:00
abd977b819
Fix erasure (bp #10095 ) ( #10127 )
...
automerge
2020-05-19 22:21:35 -07:00
36eafa56a3
Rename getCirculatingSuppy to getSupply in JSON API doc ( #10121 ) ( #10123 )
...
automerge
2020-05-19 15:47:39 -07:00
06a63549c1
Add SimulateTransaction RPC endpoint ( #10106 ) ( #10116 )
...
automerge
2020-05-19 14:25:06 -07:00
a4047bb9c8
Fix deserialize reference tick ( #10111 )
...
Co-authored-by: Carl <carl@solana.com >
2020-05-19 13:55:37 -07:00
a235423000
Cargo.lock
2020-05-19 08:14:29 -07:00
726eadc64b
Bump version to 1.1.14
2020-05-18 15:15:26 -07:00
4d18144232
Update accounts whitelist ( #10100 ) ( #10104 )
...
automerge
2020-05-18 14:42:02 -07:00
342cf90ce1
Trigger RPC notifications after block commitment cache update ( #10077 ) ( #10101 )
...
automerge
2020-05-18 13:34:18 -07:00
3ec109a0e4
Bump solana-rbpf to v0.1.28 ( #9976 ) ( #9983 )
...
automerge
2020-05-18 00:10:05 -07:00
2634402fef
Bump version to 1.1.13
2020-05-17 16:35:36 -07:00
997f317c23
v1.1: Add nonce to shreds repairs, add shred data size to header ( #10076 )
...
* Add nonce to shreds/repairs
* Add data shred size to header
* Align nonce unlock with epoch 47
Co-authored-by: Carl <carl@solana.com >
2020-05-17 13:36:15 -07:00
7bc915c0d1
Abort if the open fd limit cannot be increased (bp #10064 ) ( #10074 )
...
automerge
2020-05-15 14:35:29 -07:00
8651f058eb
Add docs section to upgrade Solana App on Ledger Live ( #10070 ) ( #10072 )
...
automerge
2020-05-15 11:30:32 -07:00
b6d6ff786a
Forge a confirmed root before halting for RPC inspection ( #10061 ) ( #10067 )
...
automerge
2020-05-15 10:30:02 -07:00
b9a80152df
Fix unstable test after eager rent collection ( #10031 ) ( #10060 )
...
automerge
2020-05-15 01:25:48 -07:00
e9dda5ebd7
v1.1: Eager rent collection ( #10028 )
...
* Introduce eager rent collection (#9527 )
* Switch AccountsIndex.account_maps from HashMap to BTreeMap
* Introduce eager rent collection
* Start to add tests
* Avoid too short eager rent collection cycles
* Add more tests
* Add more tests...
* Refacotr!!!!!!
* Refactoring follow up
* More tiny cleanups
* Don't rewrite 0-lamport accounts to be deterministic
* Refactor a bit
* Do hard fork, restore tests, and perf. mitigation
* Fix build...
* Refactor and add switch over for testnet (TdS)
* Use to_be_bytes
* cleanup
* More tiny cleanup
* Rebase cleanup
* Set Bank::genesis_hash when resuming from snapshot
* Reorder fns and clean ups
* Better naming and commenting
* Yet more naming clarifications
* Make prefix width strictly uniform for 2-base partition_count
* Fix typo...
* Revert cluster-dependent gate
* kick ci?
* kick ci?
* kick ci?
(cherry picked from commit 1eb40c3fe0
)
# Conflicts:
# core/tests/bank_forks.rs
# ledger/src/bank_forks_utils.rs
# ledger/src/snapshot_utils.rs
# runtime/src/bank.rs
* Fix merge conflicts
* Add gating
* Add Danger comment...
* Delay activation epoch
* Add gating for stable as well
* fmt...
* fmt!!!!
2020-05-15 15:38:31 +09:00
5f0be1793c
Add Ledger error codes ( #10056 ) ( #10059 )
...
automerge
2020-05-14 23:13:18 -07:00
2d8533075d
Base58 ( #10052 ) ( #10055 )
...
automerge
2020-05-14 18:06:27 -07:00
bf382c6069
Remove inline from all BPF C functions (bp #10038 ) ( #10039 )
...
automerge
2020-05-14 14:47:04 -07:00
366e426f2b
Clean up Ledger instructions ( #10047 ) ( #10049 )
...
automerge
2020-05-14 13:08:34 -07:00
fa34e6e419
solana-gossip spy
can now specify a shred version (#10040 ) ( #10042 )
...
automerge
2020-05-13 21:17:12 -07:00
ab9fe5e9ad
Add AVX2 runtime checks ( #10033 ) ( #10035 )
...
automerge
2020-05-13 13:43:06 -07:00
3474419111
Revert "[NO-MERGE; needs gating logic] Introduce eager rent collection (bp #9527 ) ( #10022 )" ( #10026 )
...
This reverts commit ff21251416
.
2020-05-13 22:51:59 +09:00
ff21251416
[NO-MERGE; needs gating logic] Introduce eager rent collection (bp #9527 ) ( #10022 )
...
automerge
2020-05-13 06:12:45 -07:00
7e6bbc7b77
Introduce type alias Ancestors ( #9699 ) ( #10018 )
...
automerge
2020-05-13 01:46:38 -07:00
82783b18ea
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating ( #10007 ) ( #10014 )
...
automerge
2020-05-12 21:54:44 -07:00
b7c6f38665
Enable disk metrics ( #10009 ) ( #10010 )
...
automerge
2020-05-12 16:45:26 -07:00
11da07eca7
Update testnet shred version ( #10000 ) ( #10002 )
...
automerge
2020-05-11 23:35:14 -07:00
b6b779d2c4
Use CommitmentConfig::root() when checking accounts, CommitmentConfig::max() may not be available yet
2020-05-11 22:55:04 -07:00
1c85d62fe4
Fix crash when CI_COMMIT=HEAD ( #9994 ) ( #9998 )
...
automerge
(cherry picked from commit 28d1f7c5e7
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-11 22:53:48 -07:00
867a213cd3
Bump version to v1.1.12
2020-05-11 22:10:03 -07:00
c51a18a887
getClusterNodes RPC API now includes the node software version ( #9993 )
2020-05-11 21:38:19 -07:00
206ff02be9
Fix up a couple cli commands that fail when a node is in the --wait-for-supermajority
state ( #9985 ) ( #9991 )
...
automerge
(cherry picked from commit 3b9dc50541
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-11 19:48:59 -07:00
8d7e90e9b8
Advertise node version in gossip ( #9986 )
...
automerge
2020-05-11 17:45:19 -07:00
eb11db3e3e
Check slot cleaned up for RPC blockstore/slot queries ( #9982 ) ( #9989 )
...
automerge
2020-05-11 16:49:22 -07:00
8d8ad84527
Add retransmit packets_by_slot metrics ( #9975 ) ( #9984 )
...
automerge
2020-05-11 15:25:40 -07:00
fa059bb3c3
Add windows instructions to CLI install docs ( #9987 )
...
automerge
2020-05-11 14:50:26 -07:00
9652e832c2
Write non-error output to stdout ( #9960 ) ( #9972 )
...
automerge
2020-05-11 10:18:15 -07:00
52e27712e1
Retransmit and shred fetch metrics ( #9965 ) ( #9969 )
...
automerge
2020-05-10 23:15:15 -07:00
c00ec26a3b
Cli: Add solana supply command; hide total-supply (bp #9956 ) ( #9963 )
...
automerge
2020-05-10 18:04:46 -07:00
50eba96b58
More logging around failure ( #9967 ) ( #9968 )
...
automerge
2020-05-10 17:23:30 -07:00
e7c0629951
Remove RpcClient code duplication ( #9952 ) ( #9961 )
...
automerge
2020-05-10 10:36:56 -07:00
a08235da9a
send_and_confirm_transaction() no longer needs a keypair ( #9950 ) ( #9962 )
...
automerge
2020-05-10 10:14:31 -07:00
b213004157
Rpc: Add getCirculatingSupply endpoint, redux ( #9953 ) ( #9955 )
...
automerge
2020-05-09 12:32:08 -07:00
92562b4349
Pull in hardened BPF virtual machine ( #9931 )
2020-05-08 16:06:22 -07:00
01c490d354
Rename BPF helper to syscall ( #9819 )
...
automerge
2020-05-08 16:06:22 -07:00
cfdc0eb99e
Maintain sysvar balances for consistent market cap. ( #9942 )
...
automerge
2020-05-08 12:15:37 -07:00
0b7b3c9f20
Support ad-hoc genesis args in run.sh ( #9697 ) ( #9940 )
...
automerge
2020-05-08 08:29:29 -07:00
5cd685ed3a
Bump version to v1.1.11
2020-05-07 16:57:43 -07:00
9498f11d46
v1.1: Include account.owner into account hash ( #9918 )
...
automerge
2020-05-07 13:00:52 -07:00
558324b861
Refactor RPC subscriptions account handling ( #9888 ) ( #9912 )
...
automerge
2020-05-07 01:14:58 -07:00
9a5fc3513a
Add using OutputFormat enum to --sign-only transactions ( #9650 ) ( #9911 )
...
automerge
2020-05-06 23:19:36 -07:00
b7c6e139e6
Revert ( #9908 )
...
automerge
2020-05-06 22:28:19 -07:00
a9d2fa6aad
Cli: Update OutputFormat method to return a String to restore consistency ( #9904 ) ( #9905 )
...
automerge
2020-05-06 20:51:45 -07:00
056a9952c3
Cargo.lock
2020-05-06 16:35:26 -07:00
fc21c857a3
Bump version to v1.1.10
2020-05-06 16:04:41 -07:00
614ad64ec1
Fix ( #9896 ) ( #9901 )
...
automerge
2020-05-06 13:31:02 -07:00
f72c186004
Correct method name
2020-05-06 11:28:16 -07:00
59a2b05b44
Gossip no longer pushes/pulls from nodes with a different shred version ( #9868 ) ( #9894 )
...
automerge
2020-05-05 23:06:36 -07:00
bed6e566ef
Display transaction fee in SOL ( #9892 ) ( #9898 )
...
automerge
(cherry picked from commit e078ba1dde
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-05-05 22:44:36 -07:00
e85f9fcb73
Repair alternate versions of dead slots (bp #9805 ) ( #9886 )
...
automerge
2020-05-05 19:22:16 -07:00
8cb3953c9a
Cli: add cluster-date subcommand, and make block-time slot optional ( #9878 ) ( #9883 )
...
automerge
2020-05-05 10:19:10 -07:00
d8e885f425
Enable inflation on testnet effective epoch 44 ( #9879 )
2020-05-05 08:29:24 -07:00
28fa5149b7
Rpc: Filter blockstore data by cluster-confirmed root ( #9873 ) ( #9881 )
...
automerge
2020-05-04 22:34:37 -07:00
190acd7d15
Rpc: add getLargestAccounts endpoint ( #9869 ) ( #9877 )
...
automerge
2020-05-04 18:54:21 -07:00
909316bd53
Avoid panic caused by converting non-positive / non-normal floating points values to duration ( #9867 ) ( #9872 )
...
(cherry picked from commit 3aedb81d48
)
Co-authored-by: Kristofer Peterson <svenski123@users.noreply.github.com >
2020-05-04 14:27:40 -07:00
000b763e95
Add clap.rs default for --commitment ( #9859 ) ( #9861 )
...
automerge
2020-05-02 14:47:30 -07:00
9d00ff6624
Bump to 1.1.9
2020-05-02 11:41:51 -07:00
fa254ff18f
Fuzzer test and fixes ( #9853 ) ( #9858 )
2020-05-02 10:05:13 -07:00
f78df36363
Put empty accounts in the accounts list on load ( #9840 ) ( #9854 )
...
Indexing into accounts array does not match account_keys otherwise.
Also enforce program accounts not at index 0
Enforce at least 1 Read-write signing fee-payer account.
2020-05-01 21:37:13 -07:00
bae6fe17e9
Watchtower can now emit a notifiation on all non-vote transactions ( #9845 ) ( #9852 )
...
automerge
2020-05-01 19:45:32 -07:00
4b1d338e04
Add delay to keep RPC traffic down on error
2020-05-01 10:39:11 -07:00
8079359420
Add incinerator sysvar ( #9815 ) ( #9836 )
...
(cherry picked from commit 8dfe0affd4
)
2020-05-01 09:02:59 -07:00
3aa52f95a2
v1.1 backport custom error rename ( #9826 )
...
* Add program_error conversions (#9203 )
* Rename CustomError to Custom (#9207 )
* More custom error rename (#9227 )
automerge
* Remove librapay conflicts
* Fix rebase
Co-authored-by: Jack May <jack@solana.com >
2020-04-30 23:54:11 -06:00
3d88b9ac22
Cleanup BPF helper symbols (bp #9804 ) ( #9825 )
...
automerge
2020-04-30 13:10:13 -07:00
948487d9a7
Bump Ledger Beta app version ( #9822 ) ( #9824 )
...
automerge
2020-04-30 11:21:08 -07:00
d775855a23
Clarify Ledger security implications ( #9820 ) ( #9823 )
...
automerge
2020-04-30 11:18:58 -07:00
3f41d60793
Add commitment Root variant, and add fleshed out --commitment arg to Cli ( #9806 ) ( #9813 )
...
automerge
2020-04-30 10:40:07 -07:00
7a6543eb5b
thiserror, docs, remove general Failure case ( #9741 ) ( #9810 )
...
automerge
2020-04-30 10:23:54 -07:00
892abd2a24
Make default programs static (bp #9717 ) ( #9814 )
...
automerge
2020-04-30 02:50:34 -07:00
8fef8eaed9
Remove old logging enabler artifacts (bp #9777 ) ( #9818 )
...
automerge
2020-04-30 01:52:01 -07:00
b7bd9d9fbb
Nit: More informative error message ( #9616 ) ( #9816 )
...
automerge
2020-04-30 00:54:47 -07:00
a8eb9357cb
Upgrade to Rust 1.43.0 ( #9754 ) ( #9808 )
...
automerge
2020-04-29 19:50:13 -07:00
87601facf1
Bump Rust-BPF version to be interoperable with latest Rust ( #9783 ) ( #9802 )
...
automerge
2020-04-29 16:53:43 -07:00
4facdb25d0
Rpc Client: Prevent error out on get_num_blocks_since_signature_confirmation ( #9792 ) ( #9800 )
...
automerge
2020-04-29 16:25:25 -07:00
bef59c3bd7
Rpc: remove unwraps ( #9793 ) ( #9797 )
...
automerge
2020-04-29 15:03:05 -07:00
307064949a
Fix BPF tool caching ( #9781 ) ( #9795 )
...
automerge
2020-04-29 13:35:58 -07:00
40cb8d857b
Don't divide by zero
2020-04-29 11:04:08 -07:00
972381efff
catchup now estimates the time remaining ( #9782 ) ( #9785 )
...
automerge
2020-04-29 01:26:20 -07:00
a2098c9ea9
Update dalek (v1.1 bp) ( #9765 )
...
* Disable Move/Libra components
* Update dalek version
Co-authored-by: Trent Nelson <trent@solana.com >
2020-04-28 18:37:20 -06:00
5af9963ea9
Docs: Fix linkcheck errors ( #9743 )
...
automerge
2020-04-28 18:37:20 -06:00
69736a792c
Remove commented code
2020-04-28 15:49:07 -06:00
59446d5c50
v1.1: backport commitment max changes ( #9775 )
...
* Add largest_confirmed_root to BlockCommitmentCache (#9640 )
* Add largest_confirmed_root to BlockCommitmentCache
* clippy
* Add blockstore to BlockCommitmentCache to check root
* Add rooted_stake helper fn and test
* Nodes that are behind should correctly id confirmed roots
* Simplify rooted_stake collector
* Cache banks in BankForks until optional largest_confirmed_root (#9678 )
automerge
* Rpc: Use cluster largest_confirmed_root as commitment max (#9750 )
automerge
2020-04-28 15:04:41 -06:00
ac538d0395
Don't --use-move
2020-04-28 12:47:23 -07:00
e79c910c41
Reorder steps by relative priority for when there aren't enough agents
2020-04-28 12:46:06 -07:00
0a7ef32ec7
Disable move more
2020-04-28 12:39:16 -07:00
1f6a7c174a
Report duration of last alarm in the All Clear message ( #9766 ) ( #9771 )
...
automerge
(cherry picked from commit 6e42989309
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-04-28 12:30:54 -07:00
109bfc3e7a
Use Blockstore lowest_slot to start root iterator ( #9738 ) ( #9768 )
...
automerge
2020-04-28 11:36:17 -07:00
682b700ec8
Set HOME correctly ( #9757 ) ( #9762 )
...
automerge
2020-04-28 03:07:16 -07:00
89bfe5fab0
sanitize lowest slots ( #9747 ) ( #9752 )
...
automerge
2020-04-27 22:01:41 -07:00
fbcc107086
Clean up use
to keep rust 1.43.0 from complaining ( #9740 ) ( #9749 )
...
automerge
2020-04-27 18:49:58 -07:00
9c6f613f8c
Input values are not sanitized after they are deserialized, making it far too easy for Leo to earn SOL (bp #9706 ) ( #9736 )
...
automerge
2020-04-27 16:23:59 -07:00
34f5f48e43
Fix broken doc link to anatomy of transaction ( #9728 ) ( #9730 )
...
automerge
2020-04-27 01:28:00 -07:00
09cd6197c2
Update metrics dashboard
2020-04-26 09:53:38 -07:00
4a86a794ed
Filter program ids to store (bp #9721 ) ( #9724 )
...
automerge
2020-04-26 01:49:15 -07:00
7cd1c06a50
validator: Add support for log rotation, sending SIGUSR1 will cause the log file to be re-opened (bp #9713 ) ( #9716 )
...
automerge
2020-04-24 16:22:03 -07:00
240433ef25
Add missing slash
2020-04-23 21:36:40 -07:00
0afb058616
Bump version to 1.1.8
2020-04-23 20:40:29 -07:00
f1cda98aeb
Update testnet expected shred version
2020-04-23 20:37:17 -07:00
d5cbac41cb
Fix vote listener passing bad transactions ( #9694 ) ( #9696 )
...
automerge
2020-04-23 18:43:07 -07:00
f19209b23d
Update solana-user-authorized_keys.sh
2020-04-23 16:32:05 -06:00
fd670d0ae0
Exit cleanly on panic! so the process don't limp along in a half-dead state ( #9690 ) ( #9693 )
...
automerge
2020-04-23 13:52:34 -07:00
948d869c49
Update to rocksdb 0.14 and set max wal size ( #9668 ) ( #9688 )
2020-04-23 10:42:31 -07:00
2bab4ace8b
Remove stray 'v' ( #9679 ) ( #9681 )
...
automerge
2020-04-23 01:04:26 -07:00
1ddff68642
Bump version to 1.1.7
2020-04-22 22:13:46 -07:00
c0b250285a
Add custodian option to withdraw-stake command (bp #9662 ) ( #9675 )
...
* Merge stake::withdraw instructions (#9617 )
* Add custodian option to withdraw-stake command (#9662 )
automerge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-04-22 20:30:46 -07:00
4509579e10
Clean up wallet doc URLs and validator/TdS docs ( #9676 )
2020-04-22 20:30:27 -07:00
9b8d59cc2b
Add docs for installing the beta Ledger app ( #9641 ) ( #9677 )
...
automerge
2020-04-22 19:38:11 -07:00
bd91fc2985
Don't attempt to rebase or move empty accounts ( #9651 ) ( #9674 )
...
automerge
2020-04-22 19:35:20 -07:00
9a3ebe0b20
Remove validator-info publish command from net scripts
2020-04-22 18:05:32 -06:00
6c08dc9c9d
Add getLowestNonpurgedBlock rpc; use blockstore api in getConfirmedBlocks ( #9656 ) ( #9664 )
...
automerge
2020-04-22 15:13:23 -07:00
740c1df045
Extend snapshot interval in multinode demo ( #9657 ) ( #9661 )
...
automerge
2020-04-22 14:39:25 -07:00
0a5905a02c
Add single region TPS report testcases ( #9609 ) ( #9659 )
2020-04-22 12:43:53 -06:00
237eceb6c1
Relax setting withdraw authority during lockup ( #9644 ) ( #9646 )
...
automerge
2020-04-21 22:50:18 -07:00
dabbdcf988
Push down cluster_info lock (bp #9594 ) ( #9637 )
...
automerge
2020-04-21 16:42:07 -07:00
3fceaf694c
Flag test_tvu_exit as serial to hopefully reduce CI flakiness ( #9509 ) ( #9639 )
...
automerge
2020-04-21 14:43:29 -07:00
34df5ad364
cli: Add transaction-history (bp #9614 ) ( #9623 )
...
automerge
2020-04-21 10:49:24 -07:00
573aed2b4b
RPC: Allow single slot address history queries ( #9630 ) ( #9635 )
...
(cherry picked from commit 3023691487
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-04-21 10:23:34 -07:00
6ef65d8513
Document potential null responses in RPC API docs ( #9629 ) ( #9634 )
...
automerge
2020-04-21 10:11:55 -07:00
7c6fb3d554
Wait for supermajority of cluster to have rooted a transaction to consider it finalized ( #9618 ) ( #9627 )
...
automerge
2020-04-21 00:59:37 -07:00
886eaac211
Handle outdated and current ledger-solana-apps ( #9605 ) ( #9612 )
...
automerge
2020-04-20 16:14:06 -07:00
6ca69a1525
Add decode-transaction ( #9608 )
...
automerge
2020-04-20 14:20:09 -07:00
1cc2f67391
test ( #9601 )
...
automerge
2020-04-20 10:09:49 -07:00
5d547130f0
Calculate distance between u64 without overflow ( #9592 ) ( #9599 )
...
automerge
2020-04-20 01:25:41 -07:00
facb209720
Error for invalid shred. ( #9588 ) ( #9597 )
...
automerge
2020-04-19 22:50:08 -07:00
5e215ac854
log proper slot ( #9576 ) ( #9589 )
...
automerge
2020-04-19 15:52:03 -07:00
d3dd9ec6e2
Fix local-cluster test - archiver should wait for itself + 1 validator ( #9577 ) ( #9585 )
...
automerge
2020-04-19 01:44:46 -07:00
12ed7c6845
Bump version to 1.1.6
2020-04-18 23:37:34 -07:00
f9d68b5d86
Budget for gossip traffic ( #9550 )
...
(cherry picked from commit 65a9658b13
)
2020-04-18 23:09:16 -07:00
8f9f11e37f
Tame wallet manager better ( #9567 ) ( #9575 )
...
automerge
2020-04-18 13:37:40 -07:00
6a5f67f78c
validator: Consider the activated stake of this node to be online again ( #9573 ) ( #9574 )
...
automerge
2020-04-18 11:54:42 -07:00
a505e92487
Remove wait_for_majority ( #9572 )
...
automerge
2020-04-18 09:54:34 -07:00
701300334a
Reduce metrics log output
...
(cherry picked from commit f142451a33
)
2020-04-18 08:40:01 -07:00
b9cf02fd6a
Report offline/wrong-shred nodes while waiting for a super majority in gossip
...
(cherry picked from commit 8509dcb8a0
)
2020-04-17 16:21:43 -07:00
71cb8de0dd
Reduce ReceiveUpdates log spam
...
(cherry picked from commit 7b5cdf6adf
)
2020-04-17 16:21:43 -07:00
13e5b479eb
confirm --verbose now displays failed transactions ( #9562 )
...
automerge
2020-04-17 14:56:58 -07:00
2ad435587a
Increase the number of JSON RPC service threads ( #9551 ) ( #9561 )
...
automerge
2020-04-17 14:48:32 -07:00
8f54d409e2
Consider config in check_for_usb ( #9555 ) ( #9557 )
...
automerge
2020-04-17 13:03:45 -07:00
b4345c039a
Make rpc_subscriptions.rs tests serial ( #9556 )
...
automerge
(cherry picked from commit b58338b066
)
2020-04-17 11:40:12 -07:00
e61545ad18
Make rpc tests serial ( #9537 ) ( #9553 )
...
automerge
2020-04-16 23:34:26 -07:00
961d1f0ee5
Simplify EpochSlots update ( #9545 ) ( #9548 )
...
automerge
2020-04-16 21:02:28 -07:00
b260f686a3
Only build x86_64-unknown-linux-gnu on docs.rs
2020-04-16 19:07:08 -07:00
3cfc38850b
Don't upload tarballs to buildkite to speed up build
2020-04-16 13:54:59 -07:00
f12a933a54
Write wallet key to explicit file
...
(cherry picked from commit 93669ab1fc
)
2020-04-16 13:41:33 -07:00
135763e019
Bump version to 1.1.5
2020-04-16 13:23:21 -07:00
aaec7de881
Fix broadcast metrics ( #9461 )
...
* Rework broadcast metrics to support multiple threads
* Update dashboards
Co-authored-by: Carl <carl@solana.com >
2020-04-16 13:02:02 -07:00
420ea2f143
Reduce cluster-info metrics. ( #9465 )
2020-04-16 13:02:02 -07:00
cb2dd56317
Passing -v/--verbose to solana confirm
now displays the full transaction ( #9530 )
...
automerge
2020-04-16 10:01:42 -07:00
a420d1e91e
Don't unwrap on session new
...
(cherry picked from commit 30b3862770
)
2020-04-16 09:46:05 -07:00
0073448afc
Default to RUST_BACKTRACE=1 for more informative validator logs
...
(cherry picked from commit 4ac15e68cf
)
2020-04-15 22:46:45 -07:00
086cdd8ef7
Rpc: Speed up getBlockTime ( #9510 ) ( #9514 )
...
automerge
2020-04-15 19:12:09 -07:00
dd57cbd6a4
Pacify shellcheck
...
(cherry picked from commit a7ed33b552
)
2020-04-15 17:50:53 -07:00
8937a1db3b
Always run shellcheck
...
(cherry picked from commit 9cc7265b05
)
2020-04-15 17:50:53 -07:00
89a914f7c1
Use $rust_stable ( #9516 )
...
automerge
2020-04-15 17:22:02 -07:00
cf9936a314
RPC: Add health check URI (bp #9499 ) ( #9505 )
...
automerge
2020-04-15 11:33:20 -07:00
6f95524be3
Fix race in multi_bind_in_range ( #9493 )
...
(cherry picked from commit ee72714c08
)
2020-04-14 17:52:30 -07:00
8021d368fe
limit test jobs to 16 to prevent OOM ( #9500 )
...
(cherry picked from commit 2b2b2cac1f
)
2020-04-14 17:51:57 -07:00
d7c43f0c0b
Cli: enable json output ( #9478 ) ( #9495 )
...
automerge
2020-04-14 14:22:23 -07:00
6765453f8a
validator: Improve --dynamic-port-range and sys-tuner error messages (bp #9494 ) ( #9496 )
...
automerge
2020-04-14 13:54:29 -07:00
adb0824da5
Use same max_age regardless of leader/not-leader ( #9423 ) ( #9487 )
...
automerge
2020-04-14 02:50:42 -07:00
f86dcec94b
Print signature as part of progress spinner ( #9484 ) ( #9485 )
...
automerge
2020-04-14 01:06:22 -07:00
8f28989520
Fail coverage faster in CI
2020-04-13 21:09:55 -07:00
1823d7bdec
Assume json_rpc_url can be upgrade to a websocket if no port is supplied
...
(cherry picked from commit bcfadd6085
)
2020-04-13 20:32:49 -07:00
892a3b6dc4
Rename UpdateNode to UpdateValidatorIdentity ( #9475 )
...
automerge
2020-04-13 19:09:42 -07:00
cc987b8884
Unfold coverage test failures
...
(cherry picked from commit d4ea1ec6ad
)
2020-04-13 18:08:37 -07:00
32d616da1e
Reorder CI jobs to allow for more concurrent PRs
...
(cherry picked from commit ce027da236
)
2020-04-13 13:00:43 -07:00
6d62d0cd42
Improve address in use error message for RPC pubsub
...
(cherry picked from commit 37b048effb
)
2020-04-13 12:33:17 -07:00
c7d6e2b4a5
Update buildkite-tests.yml
...
(cherry picked from commit 92a5a51632
)
2020-04-13 11:01:16 -07:00
d6f1e4b10a
Bump version to v1.1.4
2020-04-12 18:00:06 -07:00
73dad25d74
Sort the output of solana validators
by active stake ( #9459 )
...
automerge
(cherry picked from commit 3f33f4d3a9
)
2020-04-12 17:54:13 -07:00
a895ce51ee
Fix flaky new_archiver_external_ip_test ( #9457 ) ( #9458 )
...
automerge
2020-04-12 12:48:49 -07:00
3f95e7f055
accounts subcommand now prints account balances in SOL instead of lamports
...
(cherry picked from commit 3f1399cb0d
)
2020-04-12 10:40:06 -07:00
a54042fc11
Don't subject authorizing a new stake authority to lockup ( #9434 )
...
(cherry picked from commit 31ebdbc77f
)
2020-04-12 10:09:31 -07:00
68525a961f
Remove slot field, add test ( #9444 ) ( #9449 )
...
automerge
2020-04-11 15:33:12 -07:00
45093c8092
Calculate account refs fix ( #9447 ) ( #9450 )
...
automerge
2020-04-11 13:48:11 -07:00
c3227ab671
Simplify vote simulation ( #9435 ) ( #9439 )
...
automerge
2020-04-10 18:50:11 -07:00
967c178f5d
Safer cargo command ( #9437 ) ( #9440 )
...
automerge
2020-04-10 16:54:33 -07:00
310aa1a63f
ReceiveUpdates spams the log, adjust the threshold higher ( #9429 ) ( #9430 )
...
automerge
2020-04-10 11:24:00 -07:00
d5ae850169
Search for ports sequentially instead of at random for more predictable port selection (bp #9411 ) ( #9419 )
...
automerge
2020-04-09 21:43:29 -07:00
89f5153316
Rpc: Add getConfirmedSignaturesForAddress ( #9407 ) ( #9418 )
...
automerge
2020-04-09 21:15:33 -07:00
677008b6cc
Allow lower shred count ( #9410 ) ( #9412 )
...
automerge
2020-04-09 18:20:28 -07:00
7936f34df8
Use consistent vote account filename ( #9414 ) ( #9415 )
...
automerge
2020-04-09 18:00:31 -07:00
65f0187324
Remove dead code ( #9404 ) ( #9409 )
...
automerge
2020-04-09 14:08:15 -07:00
8dc5d10f9c
Rpc: Add getConfirmedTransaction ( #9381 ) ( #9393 )
...
automerge
2020-04-09 09:44:24 -07:00
58d8c3ad70
Remove Trust Wallet Beta install instructions ( #9396 ) ( #9398 )
...
automerge
2020-04-09 08:56:50 -07:00
7df45cf58a
Fix partition setup ( #9386 ) ( #9394 )
...
automerge
2020-04-09 02:55:26 -07:00
3379a8470d
Add --no-wait arg to transfer ( #9388 ) ( #9391 )
...
automerge
2020-04-09 00:05:06 -07:00
0969e87b08
Moar vm.max_map_count ( #9385 )
...
automerge
2020-04-08 19:14:15 -07:00
7a0dcdd1a4
Add Metrics/Dashboards tracking block production ( #9342 ) ( #9380 )
...
automerge
2020-04-08 15:54:04 -07:00
34893d2449
Add blockstore address-to-signature index ( #9367 ) ( #9379 )
...
automerge
2020-04-08 14:05:54 -07:00
ec8d1c5e2b
Improve ledger-tool/accounts for easier debuging ( #9370 ) ( #9372 )
...
automerge
2020-04-08 11:43:00 -07:00
e1dbed25b6
Default to mainnet-beta ( #9326 ) ( #9368 )
...
automerge
2020-04-07 21:40:04 -07:00
3b08a2a116
Add 1 SOL grace, to allow for a complaint system account to fund a reasonable number of transactions. ( #9359 ) ( #9364 )
...
automerge
2020-04-07 14:39:16 -07:00
7e42eca4b0
Cache solana-perf.tgz to speed up CI ( #9360 )
...
automerge
(cherry picked from commit dc91698b3a
)
2020-04-07 13:31:57 -07:00
580304add4
Bump version to 1.1.3
2020-04-07 09:33:26 -07:00
b58ce6c740
Cache downloads to speed up CI ( #9355 )
...
automerge
2020-04-06 23:40:30 -07:00
0b27d0b363
Add support for monitoring system account balances ( #9345 )
...
automerge
(cherry picked from commit 03978ac5a5
)
2020-04-06 22:58:10 -07:00
6ea74c3d29
RpcClient: include signature check in send_transaction, bump send retries in get_num_blocks_since_signature_confirmation ( #9341 ) ( #9346 )
...
automerge
2020-04-06 20:24:27 -07:00
15631f8194
Fix docs ( #9349 ) ( #9350 )
...
automerge
2020-04-06 20:22:11 -07:00
b87a1d2bc5
Optimize broadcast cluster_info critical section ( #9327 ) ( #9344 )
...
automerge
2020-04-06 19:11:23 -07:00
eae98ad8ab
Clean up paper/file system wallet docs ( #9340 ) ( #9347 )
...
* Add filesystem wallet page
* Move validator paper wallet instructions to validator page
* Remove paper wallet staking section
* Add steps for multiple fs and paper wallets
* Add keypair convention page and better multi-wallet example
2020-04-06 19:33:59 -06:00
3a6c23e995
Make TestValidator mint_lamports configurable ( #9337 ) ( #9339 )
...
automerge
2020-04-06 17:32:49 -07:00
2e3db6aba8
Add instructions for multiple trust wallet addresses ( #9335 ) ( #9336 )
...
automerge
2020-04-06 15:04:57 -07:00
f1e635d088
Update choose cluster docs ( #9328 ) ( #9331 )
...
automerge
2020-04-06 12:21:31 -07:00
cc07c86aab
Reinstate commitment param to support old clients ( #9324 )
...
automerge
2020-04-06 11:10:06 -07:00
543b6016ea
Remove write lock ( #9311 ) ( #9315 )
...
automerge
2020-04-06 09:22:42 -07:00
f4e05909f7
Update getSignatureStatuses to return historical statuses ( #9314 ) ( #9322 )
...
automerge
2020-04-06 04:54:12 -07:00
5da1466d08
Introduce background stale AppendVec shrink mechanism ( #9219 ) ( #9318 )
...
automerge
2020-04-06 02:31:12 -07:00
7a8528793e
Deprecate confirmTransaction
, getSignatureStatus
, and getSignatureConfirmation
( #9298 ) ( #9309 )
...
automerge
2020-04-05 00:51:44 -07:00
4a0338c902
Rework TransactionStatus index in blockstore ( #9281 ) ( #9304 )
...
automerge
2020-04-04 23:09:06 -07:00
11b4da4146
RPC: add err
field to TransactionStatus, alongside the now deprecated status
field ( #9296 ) ( #9303 )
...
automerge
2020-04-04 21:58:44 -07:00
33c19130b5
Add log before opening database
...
(cherry picked from commit b557b3170e
)
2020-04-03 15:02:16 -07:00
0c7689206c
Advance if no blocks are available in the given range
2020-04-03 14:56:22 -07:00
756bc3b5bb
vote-authorize-voter
no longer fails if the current authorized voter is not the fee payer (#9288 )
...
automerge
2020-04-03 13:57:15 -07:00
571b2eb807
Update set-solana-release-tag.sh
2020-04-03 11:21:54 -06:00
9819fe6684
Fix sed command for mac and linux ( #9287 )
2020-04-03 10:44:03 -06:00
ec7e44659d
Minor doc fixup ( #9285 )
...
automerge
2020-04-03 09:32:57 -07:00
40d0f8da2d
Bump version to 1.1.2
2020-04-02 22:35:56 -07:00
47ddb84078
cli: Add --follow option to catchup command to allow for easy ongoing monitoring between two nodes (bp #9260 ) ( #9278 )
...
automerge
2020-04-02 20:43:19 -07:00
4649378f95
ReplayStage fixes ( #9271 )
...
Co-authored-by: Carl <carl@solana.com >
2020-04-02 18:12:59 -07:00
3f6027055c
Tame overeager wallet manager ( #9262 ) ( #9272 )
...
automerge
2020-04-02 16:54:14 -07:00
d61a46476a
Backport wallet doc changes to v1.1 ( #9266 )
...
* Add ledger live screenshots and reduce duplicate instructions (#9258 )
automerge
* Add instructions for Trust Wallet Beta for Android (#9261 )
automerge
2020-04-02 15:36:50 -06:00
c112f51f97
Add instructions for Trust Wallet Beta for Android ( #9261 ) ( #9265 )
...
automerge
2020-04-02 12:25:46 -07:00
c1351d6b12
Set checks timeout to 20 minutes
2020-04-02 13:11:22 -06:00
c1acfe4843
Add epoch subcommand ( #9249 ) ( #9255 )
...
automerge
2020-04-01 21:41:22 -07:00
68a4288078
Place AccountsHashes in same enum ordinal position as the v1.0 version ( #9251 ) ( #9253 )
...
automerge
(cherry picked from commit 8b14eb9020
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-04-01 19:29:55 -07:00
c4c96e1460
Undo breaking rpc removal of getSignatureConfirmation ( #9245 ) ( #9250 )
...
automerge
2020-04-01 17:57:41 -07:00
32ab57fa83
Do not trigger tests if only docs were modified ( #9240 ) ( #9242 )
...
automerge
2020-04-01 14:30:36 -07:00
a33e8cc164
Do not trigger tests if only docs were modified ( #9240 ) ( #9243 )
2020-04-01 14:46:38 -06:00
c8b4f616b0
Undo getSignatureStatus breaking change, add getSignatureStatuses ( #9232 )
...
automerge
2020-04-01 11:53:55 -07:00
380c3b0080
Add fee-payer option to docs ( #9230 ) ( #9237 )
...
automerge
2020-04-01 11:29:39 -07:00
2d6847c27b
Add a support page for wallet docs ( #9229 ) ( #9235 )
...
automerge
2020-04-01 11:26:36 -07:00
d5b9899ac9
Clean up solana-stake-accounts ( #9211 ) ( #9213 )
...
automerge
2020-04-01 10:37:27 -07:00
9817cd769a
Fix solana-stake-accounts rebase/move ( #9199 ) ( #9210 )
...
automerge
2020-04-01 09:11:54 -07:00
ec3d2fdbdc
Fix repair dos ( #9056 ) ( #9221 )
...
automerge
2020-04-01 07:47:15 -07:00
1f794fb1da
Tune udp buffers and vmmap immediately ( #9194 ) ( #9217 )
...
automerge
2020-04-01 01:19:19 -07:00
89e1d7300d
Fix error with account hash list getting too big for gossip ( #9197 ) ( #9215 )
...
automerge
2020-03-31 23:44:58 -07:00
d239550e68
Fix panic ( #9195 ) ( #9209 )
...
automerge
2020-03-31 21:35:12 -07:00
3dc336e1f1
Remove unecessary exception and add a new one ( #9200 ) ( #9206 )
...
(cherry picked from commit 62e12e3af5
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-03-31 19:38:37 -07:00
220a369efa
Enforce an executable's rent exemption in the runtime ( #9134 ) ( #9191 )
...
(cherry picked from commit 130c0b484d
)
Co-authored-by: Jack May <jack@solana.com >
2020-03-31 11:57:19 -07:00
b079564a13
Add more Ledger wallet documentation ( #9182 ) ( #9190 )
...
automerge
2020-03-31 10:08:02 -07:00
e8935aa99e
Fix links ( #9184 ) ( #9188 )
...
automerge
2020-03-31 09:57:43 -07:00
016a342de0
solana-validator now supports multiple --authorized-voter arguments ( #9174 ) ( #9181 )
...
automerge
2020-03-31 09:21:47 -07:00
47c6dfe1aa
Bump version to v1.1.1
2020-03-30 23:15:07 -07:00
c66d528e85
Check ClusterSlots for confirmation of block propagation ( #9115 ) ( #9178 )
...
(cherry picked from commit 66946a4680
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-03-30 23:09:00 -07:00
8ba8deb933
Ledger cleanup fixes ( #9131 ) ( #9176 )
...
automerge
2020-03-30 20:41:48 -07:00
587342d5e3
Install solana-stake-accounts ( #9169 ) ( #9173 )
...
automerge
2020-03-30 19:53:39 -07:00
f31d2d9cc4
Use cluster confirmations in rpc and pubsub ( #9138 ) ( #9170 )
...
automerge
2020-03-30 18:11:45 -07:00
bc761c2c02
Add solana-stake-accounts CLI tool (bp #9164 ) ( #9168 )
...
automerge
2020-03-30 17:25:07 -07:00
6f4bc3aaff
Store BlockCommitmentCache slot and root metadata ( #9154 ) ( #9162 )
...
automerge
2020-03-30 11:40:11 -07:00
070664ff94
Make repair metrics less chatty ( #9094 ) ( #9156 )
...
automerge
2020-03-29 16:18:48 -07:00
61c2883de6
Calculate ref counts earlier to prevent bad clean ( #9147 ) ( #9155 )
...
automerge
2020-03-29 15:53:56 -07:00
e32f7dbe49
catchup now retries when the desired node is not yet online ( #9148 ) ( #9152 )
...
automerge
2020-03-29 10:39:56 -07:00
c0b178db45
Sanitize zero lamport accounts in append vecs ( #9083 ) ( #9149 )
...
automerge
2020-03-29 00:39:28 -07:00
1027b0681b
Fix race in RPC subscriptions test ( #9142 ) ( #9145 )
...
automerge
2020-03-28 12:00:20 -07:00
3ae6e0b8ab
Add solana-stake-monitor program ( #9081 )
2020-03-27 22:55:55 -07:00
4b7da6e60d
Bump rBPF version to v0.1.25: Fix Windows build ( #9136 )
...
automerge
2020-03-27 19:07:58 -07:00
2863f8ec65
Use 1gb as genesis limit to fix bench-tps ledger from not starting ( #9133 )
...
automerge
2020-03-27 16:50:19 -07:00
e2491c6322
Prevent add/subtract from executable account ( #9132 )
2020-03-27 16:43:25 -07:00
4a8b1d9b2c
RpcClient now returns Signatures instead of Strings ( #9129 )
2020-03-27 15:46:00 -07:00
74aed5cb58
Fix offline stake ops test script ( #9130 )
2020-03-27 12:20:32 -06:00
b130c298df
Remove chatty 'setting snapshot root:' info log ( #9122 )
2020-03-27 10:24:59 -07:00
e5a6f8c2de
fix links ( #9125 )
...
automerge
2020-03-27 10:21:34 -07:00
87e5f8acbf
Add mdbook-linkcheck to docker ( #9123 )
...
automerge
2020-03-27 10:18:01 -07:00
c1a3b6ecc2
Add RPC subscription api for rooted slots ( #9118 )
...
automerge
2020-03-27 09:33:40 -07:00
c242d66130
Document transaction field in getConfirmedBlock responses ( #9121 )
...
automerge
2020-03-27 09:08:18 -07:00
864d212c64
solana account
now displays the account's rent epoch (#9114 )
2020-03-27 08:58:21 -07:00
a9564d207b
Bump assert_cmd from 0.12.1 to 1.0.0 ( #9104 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.12.1 to 1.0.0.
- [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.12.1...v1.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 09:57:01 -06:00
b82a9c832b
Fix links in docs ( #9119 )
2020-03-27 09:36:55 -06:00
5d9298543f
Exclude all executable accounts from rent collection ( #9116 )
...
* Whitelist executable accounts for rent exemption
* nudge
2020-03-27 23:28:18 +08:00
4e9ae61044
Add "transaction confirmations" term to docs ( #9087 )
...
* Add transaction confirmations term to docs
* feedback
2020-03-27 21:08:36 +08:00
d47262d233
Reduce transmit frequency ( #9113 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-26 23:33:28 -07:00
8fdcf9f968
Make colo.sh support Bash 5 ( #9112 )
2020-03-27 15:01:42 +09:00
c82d37f6c3
Fix broken gitbook links ( #9107 )
2020-03-26 21:10:09 -06:00
5a8658283a
Add check for propagation of leader block before generating further blocks ( #8758 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-26 19:57:27 -07:00
4b97e58cba
Consolidate signature-status rpcs ( #9069 )
...
* getSignatureStatus: return confirmations for non-rooted transactions
* Remove getNumConfirmations.. rpc
* Remove getSignatureConfirmation
* Review comments
* More review comments
2020-03-26 19:21:01 -06:00
48031651a0
Add docs for app wallets ( #9098 )
2020-03-26 19:09:39 -06:00
f3d556e3f9
Refactor VoteTracker ( #9084 )
...
* Refactor VoteTracker
Co-authored-by: Carl <carl@solana.com >
2020-03-26 17:55:17 -07:00
8d4cecdb77
Account data may not change once the executable bit is set ( #9099 )
...
automerge
2020-03-26 17:10:11 -07:00
39a622f66e
Revert setting the default toolchain ( #9093 )
...
automerge
2020-03-26 14:21:22 -07:00
dae28b9cfe
Bump rBPF to v0.1.24, update rBPF/BPF Loader error handling ( #9089 )
2020-03-26 14:00:26 -07:00
b7b4aa5d4d
move rpc types from client to client-types crate ( #9039 )
...
* Separate client types into own crate, so ledger does not need it
Removes about 50 crates of dependency from ledger
* Drop Rpc name from transaction-status types
2020-03-26 13:29:30 -07:00
ed036b978d
Accumulate blockstore metrics and submit every 2s ( #9075 )
2020-03-26 12:51:41 -07:00
284920433f
Restructure wallet docs to prep for app wallet content ( #9088 )
...
automerge
2020-03-26 12:42:05 -07:00
30bed18b77
Install xargo using CI dictated cargo version if available ( #9068 )
2020-03-26 11:47:41 -07:00
6678dd10a5
Remove command-line install instructions of Solana's Ledger wallet app ( #9085 )
2020-03-26 10:37:48 -06:00
296d740f83
Remove contractions in intro doc ( #9086 )
2020-03-26 09:54:47 -06:00
b8fda9d730
Log how much data the ledger holds before processing it ( #9079 )
2020-03-25 21:41:50 -07:00
2623c71ed3
Use type aliases/resulting var names consistently ( #9060 )
2020-03-26 13:08:56 +09:00
e4472db33f
Unflake rpc subscriptions test by reducing sub count ( #9078 )
...
automerge
2020-03-25 20:43:38 -07:00
076fef5e57
Update Cluster Slots to support multiple threads ( #9071 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-25 18:09:19 -07:00
40eba48109
Bump assert_cmd from 0.12.0 to 0.12.1 ( #9074 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.12.0 to 0.12.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/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 17:38:13 -07:00
095c79e863
Bump regex from 1.3.5 to 1.3.6 ( #9055 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.5...1.3.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 17:24:14 -07:00
959c1ea857
Cargo update bumpalo ( #9067 )
...
* Cargo update bumpalo
* Remove ignore warning
2020-03-25 18:11:08 -06:00
ef3af104ae
Return appropriate error for invalid program account ( #9047 )
...
automerge
2020-03-25 13:23:05 -07:00
9dc69d9843
Store and compute node/stake state in EpochStakes struct ( #8958 )
...
* Store and compute needed bank state in EpochStakes struct
2020-03-25 12:19:15 -07:00
45348b2c83
Remove accounts unwrap ( #9062 )
...
automerge
2020-03-25 10:21:30 -07:00
c558db2a48
Fix xargo to version 0.3.19 to avoid unstable feature ( #9065 )
...
automerge
2020-03-25 08:43:36 -07:00
f987c18a7e
Strictly validate the contents of snapshot/genesis ( #8959 )
...
automerge
2020-03-25 02:46:41 -07:00
5d3f43c10b
Ignore RUSTSEC-2020-0006 for the moment ( #9057 )
...
automerge
2020-03-24 20:10:20 -07:00
216b01b224
Improve coverage.sh usability when used locally ( #9054 )
...
automerge
2020-03-24 13:47:16 -07:00
35dd52e9ba
Remove SLP from grafana
2020-03-24 12:23:30 -07:00
b0c83921be
Move streamer test to integration test ( #9050 )
...
Failing in the coverage build.
2020-03-24 11:39:36 -07:00
e744b15ad2
Bump thiserror from 1.0.12 to 1.0.13 ( #9017 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.12...1.0.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:51:24 -07:00
1fd695d337
Use all cores ( #8908 )
2020-03-24 10:33:53 -07:00
8f38bc7dc0
Refactor how pubsub subscriptions are added ( #9042 )
2020-03-25 00:53:32 +08:00
7d6ea6c17e
ledger-tool can now decode stake instructions ( #9045 )
...
automerge
2020-03-24 05:23:29 -07:00
56dc958116
Add get_confirmed_block_with_encoding() ( #9046 )
...
automerge
2020-03-24 05:05:38 -07:00
19dfb87b1f
Fix timeout for subscriptions test ( #9043 )
...
automerge
2020-03-24 01:57:28 -07:00
a5287f56fc
Remove ,
2020-03-23 22:12:16 -07:00
eed8087d87
Respect confirmations param for signature subscription notifications ( #9019 )
...
automerge
2020-03-23 17:00:34 -07:00
4115d73b9a
Remove Ledger-specific analysis of hardware wallets ( #9028 )
...
automerge
2020-03-23 14:05:38 -07:00
064b95c16a
Fix link in gitbook ( #9027 )
...
automerge
2020-03-23 14:05:27 -07:00
70c167182a
ledger tool now outputs transaction status information if available ( #9024 )
...
automerge
2020-03-23 12:49:21 -07:00
fee002382e
Program address generator ( #8995 )
2020-03-23 12:38:56 -07:00
d75a470ffa
Ledger processing speed tracking ( #9005 )
2020-03-23 12:19:11 -07:00
c530fbd22b
Remove thread-priority crate which is not cross-platform ( #9023 )
2020-03-23 12:18:52 -07:00
1b8f9e75dd
Update getSignatureStatus: support multiple signatures, include slot in each response item ( #9022 )
...
* Rename enable-rpc-get-confirmed-block
* Rename RpcTransactionStatus -> RpcTransactionStatusMeta
* Return simplified RpcTransactionStatus; Add support for multiple transactions
* Update docs
* typo
2020-03-23 11:25:39 -06:00
1a5b01676d
Remove equal sign separators from CLI options ( #9021 )
...
automerge
2020-03-23 09:27:43 -07:00
4b397d15b3
Accounts cleanup service and perf improvements ( #8799 )
...
* Use atomic for ref count instead of taking rwlock
* Accounts cleanup service
* Review comments
2020-03-23 08:50:23 -07:00
4d2b83d01f
Add option to disable rocks compaction ( #9011 )
2020-03-23 08:42:32 -07:00
87096f13d2
Update outdated solana-genesis cli help text ( #9020 )
...
automerge
2020-03-23 08:16:31 -07:00
a0ffcc61ae
Add slot info to Bank::get_signature_confirmation_status ( #9018 )
2020-03-23 21:55:15 +08:00
4b4819cd07
Add slot context to rpc pubsub notifications ( #9001 )
...
automerge
2020-03-23 05:34:42 -07:00
ca791a0378
Ensure --identity is provided when --vote-account is provided ( #9014 )
...
automerge
2020-03-22 22:21:00 -07:00
b08f8d3103
Add stake-account to docs ( #9010 )
2020-03-22 12:20:24 -06:00
88ba8439fc
Add frozen account support ( #8989 )
...
automerge
2020-03-22 11:10:04 -07:00
4dd0367136
Rwlock storage opt ( #9006 )
...
* Remove unecessary account paths rwlock
* Remove path rwlock in accounts_db and optimize storage critical section
2020-03-22 10:04:03 -07:00
ff2c183ac1
Add set-dead-slot command ( #9008 )
2020-03-21 21:43:33 -07:00
aa24181a53
Remove blockstream unix socket support. RPC or bust ( #9004 )
...
automerge
2020-03-21 20:17:11 -07:00
1f83c56e05
Add staking docs ( #8988 )
...
automerge
2020-03-21 19:50:09 -07:00
2592894958
CLI: Support setting both stake authorities at once ( #8976 )
...
automerge
2020-03-21 18:56:17 -07:00
85027caf42
Bump thiserror from 1.0.11 to 1.0.12 ( #9000 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.11...1.0.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-21 14:52:25 -06:00
3ea556bc24
Drop storage lock ( #8997 )
2020-03-21 13:37:52 -07:00
ca4a22d4ba
Distinguish account addresses from public keys ( #8998 )
2020-03-21 13:30:01 -06:00
18c1f0dfe9
Remove stub core/src/genesis_utils.rs ( #8999 )
2020-03-21 10:54:40 -07:00
734afee5e0
Bump cbindgen from 0.13.1 to 0.13.2 ( #8996 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.1...v0.13.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-20 21:51:28 -06:00
271e17547a
Nit thiserror for pubkey ( #8994 )
...
automerge
2020-03-20 18:07:37 -07:00
e28368ff1b
Move address creation with seed into pubkey ( #8991 )
2020-03-20 15:20:48 -07:00
1aab959d4e
Revert "Move Install Solana doc into the Command-line Guide ( #8982 )" ( #8992 )
...
This reverts commit 5fa36bbab3
.
2020-03-20 15:52:20 -06:00
bca769111f
Dos all the things ( #8914 )
...
* Dos all the things
* Use solana-dos for gossip dos test
2020-03-20 12:55:38 -07:00
909321928c
Shred fetch comment and debug message tweak ( #8980 )
...
automerge
2020-03-20 11:00:48 -07:00
8b0a7f6838
Update value names in docs ( #8983 )
...
automerge
2020-03-20 09:22:02 -07:00
5fa36bbab3
Move Install Solana doc into the Command-line Guide ( #8982 )
...
automerge
2020-03-20 09:19:18 -07:00
d65a7a3c30
Fix versioning script on MacOS ( #8981 )
...
automerge
2020-03-20 09:16:48 -07:00
453f5ce8f2
Shred filter ( #8975 )
...
Thread bank_forks into shred fetch
2020-03-20 07:49:48 -07:00
dc1db33ec9
Add Capabilities to Signal BroadcastStage to Retransmit ( #8899 )
2020-03-19 23:35:01 -07:00
c68e80c93b
Improve CLI usage messages ( #8972 )
...
* Improve CLI usage messages
* stragglers
* Apply review feedback
Co-authored-by: Trent Nelson <trent@solana.com >
2020-03-19 21:43:11 -06:00
6b9a0935c1
Some Cli polish ( #8966 )
...
automerge
2020-03-19 12:03:36 -07:00
b84468ecd3
Cli: polish transaction progress bar ( #8963 )
...
automerge
2020-03-19 11:10:35 -07:00
ff4ba54553
CLI: Fix create-nonce-account
with seed ( #8929 )
...
* CLI: Fix `create-nonce-account --seed ...`
* CLI: Add test another for `create-nonce-account --seed...`
Explicitly demonstrates a partner workflow with the following
requirements:
1) Nonce account address derived from an offline nonce
authority address
2) Fully online account creation
3) Account creation in a single signing session
* alphabetize
2020-03-19 10:36:53 -06:00
f78a90bce2
Vote InitializeAccount and UpdateNode instructions now need a signature from the validator identity ( #8947 )
...
automerge
2020-03-19 01:58:52 -07:00
24d871b529
Bump serde from 1.0.104 to 1.0.105 ( #8954 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.104...v1.0.105 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 22:35:30 -07:00
e547f38589
Docs: Fix error during CLI usage build ( #8956 )
...
automerge
2020-03-18 22:24:42 -07:00
6fb16f9879
Bump flate2 from 1.0.13 to 1.0.14 ( #8901 )
...
Bumps [flate2](https://github.com/alexcrichton/flate2-rs ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/alexcrichton/flate2-rs/releases )
- [Commits](https://github.com/alexcrichton/flate2-rs/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 21:37:41 -07:00
2dc50cff5b
Bump bv from 0.11.0 to 0.11.1 ( #8952 )
...
automerge
2020-03-18 21:37:21 -07:00
98228c392e
CLI: Add multi-session signing support ( #8927 )
...
* SDK: Add `NullSigner` implementation
* SDK: Split `Transaction::verify()` to gain access to results
* CLI: Minor refactor of --sign_only result parsing
* CLI: Enable paritial signing
Signers specified by pubkey, but without a matching --signer arg
supplied fall back to a `NullSigner` when --sign-only is in effect.
This allows their pubkey to be used for TX construction as usual,
but leaves their `sign_message()` a NOP. As such, with --sign-only
in effect, signing and verification must be done separately, with
the latter's per-signature results considered
* CLI: Surface/report missing/bad signers to user
* CLI: Suppress --sign-only JSON output
* nits
* Docs for multi-session offline signing
2020-03-18 20:49:38 -07:00
aeb7278b00
Delete broken link ( #8950 )
...
automerge
2020-03-18 17:49:21 -07:00
42d7609d54
Fix links for gitbook ( #8948 )
...
automerge
2020-03-18 16:45:15 -07:00
a70008cc5c
Increase vmap count in sys-tuner ( #8940 )
2020-03-18 16:24:39 -07:00
306a5c849e
Use into_iter()
2020-03-18 16:11:57 -07:00
bb92184085
Refactor distribute_rent_to_validators() for clarity
2020-03-18 16:11:57 -07:00
90c9462dd4
Automated test framework can run scripts on launched clusters. Add offline stake operations test case and script. ( #8510 )
...
automerge
2020-03-18 14:57:19 -07:00
21b287ef0b
Add docs on wallets and generating keys ( #8905 )
...
* Add docs on wallets and generating keys
* Directory wallet -> FS wallet
* New section
* Add instructions for receiving tokens
* Add missing file
* Reorg
* Polish
* Polish
* Prefer solana-keygen
* Polish
* on -> in
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* wallets -> wallet
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* compare -> contrast
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* de-hyphenate
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/cli/choose-a-wallet.md
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* typo
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/cli/generate-keys.md
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* proof -> prove
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* Apply review feedback
* Apply more review feedback
* More review feedback
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-03-18 15:21:48 -06:00
b0c524765e
Update gce-5-node-3-partition.yml
2020-03-18 14:07:09 -07:00
6d0318cbe6
Remove product string from device keypair URL ( #8942 )
...
* Remove product string from device url
* Update docs
2020-03-18 13:36:48 -06:00
8f5ee6832f
Bump libc from 0.2.67 to 0.2.68 ( #8915 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.67 to 0.2.68.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.67...0.2.68 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 13:27:08 -06:00
38fe766fa7
Bump crossbeam-channel from 0.3.9 to 0.4.2 ( #8930 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.3.9 to 0.4.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/v0.4.2/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.3.9...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 13:26:42 -06:00
74866882f2
Document account/signer requirements for vote instructions
2020-03-18 11:11:48 -07:00
c638e83bf5
Add --no-untrusted-rpc to docs ( #8935 )
...
automerge
2020-03-18 09:40:51 -07:00
de6ef68571
Add BPF virtual address translate helpers ( #8919 )
2020-03-18 08:39:55 -07:00
c51049a59b
Add counter for accounts hash verification. ( #8928 )
2020-03-18 08:39:09 -07:00
9cedeb0a8d
Pull streamer out into its own module. ( #8917 )
...
automerge
2020-03-17 23:30:23 -07:00
e37a4823f1
Remove appveyor config, Travis CI for windows now seems to work
2020-03-17 23:14:24 -07:00
bf60345b7a
Remove all snapshots not matching the desired hash
2020-03-17 22:58:01 -07:00
cb29b8dd2a
Travis CI builds windows-gnu instead of windows-msvc
2020-03-17 22:37:57 -07:00
3a501ad69e
Remove all snapshot not matching the desired hash
2020-03-17 22:18:25 -07:00
e6e43d236f
Remove unused default update manifest pubkeys
2020-03-17 21:46:39 -07:00
142601d4b6
solana-install-init: --pubkey is no longer required on platforms without a default update manifest
2020-03-17 21:46:39 -07:00
f192e4f08f
Nit: Align Rust and C names ( #8918 )
2020-03-17 19:37:16 -07:00
f020370ae7
Add docs for --trusted-validator options ( #8911 )
...
and --halt-on-trusted-validator-hash-mismatch
2020-03-17 18:57:33 -07:00
24935af867
Extend local-cluster CI timeout ( #8921 )
...
automerge
2020-03-17 18:23:22 -07:00
6a213bc8f5
Build less for windows
2020-03-17 17:03:56 -07:00
f0414711b7
Cli: add spinner progress bar when waiting for transaction confirmation ( #8916 )
...
* Add _with_spinner method
* Use _with_spinner method in cli
2020-03-17 17:58:02 -06:00
d087ed5bf6
Remove copypasta ( #8912 )
2020-03-17 15:59:09 -07:00
d14dea4660
Restore solana-install for non-windows
2020-03-17 13:47:53 -07:00
29abfebb68
Limit windows to end-user command-line tools
2020-03-17 13:11:00 -07:00
668dfc40c7
Align C and Rust handling of AccountInfos ( #8906 )
2020-03-17 12:34:14 -07:00
61514e3b0e
Allow program accounts to be passed as program and parameter ( #8907 )
2020-03-17 12:06:15 -07:00
46fcab14dd
Try enabling windows build again, maybe it's more stable now
2020-03-17 11:14:08 -07:00
2435c3ce0c
Add accounts-bench, a benchmark to test the accounts store speed ( #8866 )
2020-03-17 11:02:07 -07:00
55907b2167
code layout changes only for ci tests
2020-03-17 10:18:04 -07:00
a03eff51af
code layout changes only
2020-03-17 10:18:04 -07:00
10175618d2
solana-keygen grind: do not ignore case (as default)
2020-03-17 10:18:04 -07:00
4ff033852d
Increase buffer on low SOL fault to over a week ( #8903 )
...
automerge
2020-03-17 09:18:13 -07:00
2237f47b90
Sort device paths for select ( #8896 )
2020-03-16 18:23:21 -06:00
bfca226964
Hoist USB URL docs ( #8894 )
2020-03-16 17:07:39 -06:00
6077458ad8
Cli: enable flexible flexible signer paths for pubkey args ( #8892 )
...
automerge
2020-03-16 15:17:13 -07:00
7079559c2d
Fix windows build by removing sys-info ( #8860 )
...
Doesn't build for windows.
2020-03-16 12:53:13 -07:00
0641244378
Add genesis token counter test to system test ( #8824 )
...
automerge
2020-03-16 12:09:18 -07:00
563da2bb18
Cleanup CLI types ( #8888 )
2020-03-16 12:27:09 -06:00
dc347dd3d7
Add Accounts hash consistency halting ( #8772 )
...
* Accounts hash consistency halting
* Add option to inject account hash faults for testing.
Enable option in local cluster test to see that node halts.
2020-03-16 08:37:31 -07:00
eab4fe50a3
Use types for CLI value names ( #8878 )
...
* Use types for CLI value names
* keygen too
* More cleanup
* nonce keypair -> pubkey
2020-03-16 09:24:59 -06:00
ead6dc553a
If let
2020-03-16 07:57:07 -07:00
009c124fac
Remove generic
2020-03-16 07:57:07 -07:00
7029c88305
use matches macro
2020-03-16 07:57:07 -07:00
9411fc00b8
Lower error level
2020-03-16 07:57:07 -07:00
5a93a4c466
Fix faucet command in run.sh ( #8883 )
...
automerge
2020-03-16 04:44:54 -07:00
9afc5da2e1
Fix vote polling ( #8829 )
...
Co-authored-by: Carl <carl@solana.com >
2020-03-15 20:31:05 -07:00
49706172f3
Quietly re-introduce legacy --voting-keypair/--identity-keypair args for v1.0.6 compatibility
2020-03-15 20:00:58 -07:00
b2a0cdaa38
Rename leader to validator, drop _keypair/-keypair suffix ( #8876 )
...
automerge
2020-03-15 13:19:55 -07:00
5481d1a039
Validators now run a full gossip node while looking for a snapshot
2020-03-15 09:31:55 -07:00
dd5e320aa1
TdS registration
...
Updated some outdated information re TdS registration.
2020-03-15 18:45:29 +11:00
3c2aff2b5b
Cli: Add resolve-signer subcommand ( #8859 )
...
* Expose remote-wallet device pretty path
* Add resolve-signer helpers
* Add cli resolve-signer subcommand
* Print pretty-path in waiting msg
2020-03-14 20:48:41 -07:00
c3c4c9326b
Refactor system tests dir structure ( #8865 )
...
automerge
2020-03-14 18:37:37 -07:00
ae70f4ea92
Apply s/faucet-keypair/faucet renaming to net scripts ( #8867 )
2020-03-14 16:49:28 -07:00
29fb79382c
Rework validator vote account defaults to half voting fees
2020-03-13 20:13:33 -07:00
5c2cf04e10
Enable any signer in various cli subcommands ( #8844 )
...
automerge
2020-03-13 16:06:33 -07:00
9e0a26628b
Drop :8899 port from http://devnet.solana.com references
2020-03-13 16:00:54 -07:00
ce88602ced
Surface the missing pubkey
2020-03-13 15:57:41 -07:00
53b8d0d528
Remove holding Poh lock ( #8838 )
...
automerge
2020-03-13 15:15:13 -07:00
96a61cc4e4
Cli: add subcommand to withdraw from vote account ( #8550 )
...
* feat: cli command for vote account withdraw
* Rework names
* Update to flexible signer, and make consistent with other cli apis
* Add integration test
* Clean up default help msg
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-03-13 14:30:04 -06:00
b7b36bb0a4
Upgrade to Rust 1.42 ( #8836 )
...
* Upgrade to Rust 1.42
* deref
* parens
Co-authored-by: Trent Nelson <trent@solana.com >
2020-03-13 14:15:22 -06:00
52b254071c
Bump regex from 1.3.4 to 1.3.5 ( #8830 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.4...1.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-13 07:43:07 -06:00
fbf2dd1672
CLI: Error message cleanup ( #8804 )
...
automerge
2020-03-12 23:20:49 -07:00
4bbf09f582
Enable conservative out-of-bound snapshot cleaning ( #8811 )
...
* Enable conservative out-of-bound snapshot cleaning
* Add tests
2020-03-13 14:44:00 +09:00
952cd38b7b
Avoid early clean and bad snapshot by ref-counting ( #8724 )
...
* Avoid early clean and bad snapshot by ref-counting
* Add measure
* Clean ups
* clean ups
2020-03-13 14:14:37 +09:00
9a79be5ca0
Use cluster information about slots to prioritize repair ( #8820 )
...
automerge
2020-03-12 17:34:46 -07:00
2182521a8b
Move history out of intro ( #8825 )
...
automerge
2020-03-12 16:36:05 -07:00
fe65c2ae02
Add all of docs/src
2020-03-12 14:45:54 -07:00
554d36c74b
Update source markdown in CI
2020-03-12 14:34:28 -07:00
29ef0916db
Update keys ( #8821 )
...
automerge
2020-03-12 13:22:12 -07:00
f93c8290f4
Bump sys-info from 0.5.9 to 0.5.10 ( #8810 )
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 13:42:31 -06:00
a69293df24
Bump base64 from 0.11.0 to 0.12.0 ( #8809 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.11.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 11:32:56 -06:00
48ac038f7a
Bump serial_test from 0.3.2 to 0.4.0 ( #8808 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.2...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 11:14:37 -06:00
5a7d2560c9
Don't tell users to install unreleased software versions
2020-03-12 10:01:25 -07:00
d91027f771
Fix malformed doc link ( #8817 )
...
automerge
2020-03-12 09:25:15 -07:00
deaf3cb416
Instruction member function ( #8801 )
2020-03-12 09:08:39 -07:00
f95e1ea40f
Update keys ( #8814 )
...
automerge
2020-03-12 08:30:24 -07:00
f64ab49307
Cluster has no way to know which slots are available ( #8732 )
...
automerge
2020-03-11 21:31:50 -07:00
fe1c99c0cf
Update keys ( #8800 )
...
automerge
2020-03-11 17:18:14 -07:00
bdb7b73b8a
Add longer running performance tests and new partition testcase ( #8773 )
...
* Add 1 hour perf stability tests to colo and GCE
* Add GCE full loss partition testcase to automation
2020-03-11 16:42:52 -07:00
293fff90d3
Restrict which nodes can run stable and coverage
...
Band-aid fix until https://github.com/solana-labs/solana/issues/8798 is resolved
2020-03-11 14:46:17 -07:00
6eb4973780
Don't use move semantics if not needed ( #8793 )
2020-03-11 14:37:23 -07:00
5f5824d78d
Rework cluster metrics dashboard to support the modern clusters
2020-03-11 14:14:56 -07:00
0ef9d79056
Collapse verbose buildkite logging ( #8794 )
...
automerge
2020-03-11 11:54:49 -07:00
215650f6e7
Bump console from 0.9.2 to 0.10.0 ( #8786 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 12:30:15 -06:00
a0d0d4c0e9
Update keys ( #8791 )
2020-03-11 12:29:50 -06:00
0422af2aae
CLI: Plumb nonce-stored fees ( #8750 )
...
automerge
2020-03-11 11:14:15 -07:00
cef8e42938
Notify when validator balance goes below 1 SOL
2020-03-11 10:30:51 -07:00
0eeeec38fa
Bump winreg from 0.6.2 to 0.7.0 ( #8788 )
...
automerge
2020-03-11 08:59:26 -07:00
75a84ecdae
Bump reqwest from 0.10.1 to 0.10.4 ( #8787 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.1 to 0.10.4.
- [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.10.1...v0.10.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-11 09:02:40 -06:00
87c507fdbe
Refactor system test automation ( #8780 )
2020-03-10 23:38:50 -07:00
3783ae823d
Update keys ( #8783 )
...
automerge
2020-03-10 19:08:02 -07:00
f3ed00e28e
Add checkmark ( #8781 )
...
automerge
2020-03-10 17:28:50 -07:00
307d023b2e
Bump hidapi from 1.2.0 to 1.2.1 ( #8770 )
...
Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/ruabmbua/hidapi-rs/releases )
- [Commits](https://github.com/ruabmbua/hidapi-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 18:07:14 -06:00
775ce3a03f
Permit fee-payer/split-stake accounts to be the same when using --seed
2020-03-10 16:12:02 -07:00
f655372b08
Revert to a computed websocket_url
value when json_rpc_url
is changed
2020-03-10 15:55:13 -07:00
2c4079f4c8
Print approved msg after Ledger interaction ( #8771 )
...
automerge
2020-03-10 14:08:51 -07:00
ac1f90f1a9
clippy
2020-03-10 12:31:00 -07:00
4bb55b1622
Add --monitor-active-stake flag
2020-03-10 12:31:00 -07:00
23c5bb17c7
Refactor
2020-03-10 12:31:00 -07:00
a0ed3261c9
Automated tests should use dedicated colo nodes ( #8766 )
...
automerge
2020-03-10 12:25:16 -07:00
261732f140
CLI Nonce account access dereplicode ( #8743 )
...
* Spruce up CliNonceError
* Add nonce account access helpers
* Use helpers throughout
2020-03-10 13:00:15 -06:00
595c96b262
Plumb pre-emptibility and associated overrides into colo allocation and automated testing ( #8754 )
...
automerge
2020-03-10 11:25:44 -07:00
496999beba
Configure the cluster right after installing it ( #8761 )
2020-03-10 10:23:58 -06:00
bb50881346
Fix Gitbook's markdown rendering ( #8759 )
...
automerge
2020-03-10 08:05:30 -07:00
948902eae0
Better titles ( #8752 )
...
automerge
2020-03-10 07:43:38 -07:00
e41ff2df66
Bump chrono from 0.4.10 to 0.4.11 ( #8755 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.10 to 0.4.11.
- [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.10...v0.4.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:43:18 -06:00
f88b79d42b
Bump itertools from 0.8.2 to 0.9.0 ( #8756 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/rust-itertools/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:42:11 -06:00
1a0dd53450
Bump rayon from 1.2.0 to 1.3.0 ( #8757 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.2.0...rayon-core-v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 08:40:02 -06:00
9872430bd2
Add VoteTracker for tracking cluster's votes in gossip ( #8327 )
...
Track votes by slot in cluster_vote_listener
2020-03-09 22:03:09 -07:00
ae8badb141
Support monitoring multiple validators
2020-03-09 20:40:23 -07:00
36fa3a1a0a
Wait for 80% of the active stake instead of 75%
2020-03-09 20:31:09 -07:00
df8a69d15f
Less links to docs ( #8748 )
...
automerge
2020-03-09 19:55:17 -07:00
fad08a19cc
Bump serde_json from 1.0.46 to 1.0.48 ( #8260 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.46 to 1.0.48.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.46...v1.0.48 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 20:20:19 -06:00
6527d05d77
Docs: Fix missing CLI usage.md
( #8745 )
...
automerge
2020-03-09 19:11:58 -07:00
d303e6b94e
Override GCE self-destruct timer in automation ( #8728 )
2020-03-09 18:02:07 -07:00
5fa397ceed
Remove --derivation-path option ( #8741 )
...
automerge
2020-03-09 17:49:01 -07:00
c0fd017906
Move intro out of README ( #8735 )
...
automerge
2020-03-09 16:39:57 -07:00
74e7da214a
watchtower now uses cli-config/
2020-03-09 15:43:14 -07:00
756ba07b16
Move cli-config default out of cli/ into cli-config/
2020-03-09 15:43:14 -07:00
5c236fd06c
Rename 'url' to 'json_rpc_url'
2020-03-09 15:43:14 -07:00
f671be814e
Move bench-tps instructions ( #8734 )
...
automerge
2020-03-09 15:26:03 -07:00
e277437bd2
Limit waiting-message to single- or last-chunk apdus ( #8730 )
2020-03-09 15:22:50 -06:00
beead7e54d
Bump hidapi from 1.1.1 to 1.2.0 ( #8588 )
...
automerge
2020-03-09 11:53:47 -07:00
ea010be5cb
Wait for stake distribution before starting clients ( #8692 )
2020-03-09 10:57:51 -07:00
97b6c41d42
Fix typos in error messages ( #8726 )
...
automerge
2020-03-09 10:12:42 -07:00
6d0f3762b2
Bump hex from 0.4.1 to 0.4.2 ( #8725 )
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.1...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 09:23:54 -06:00
132a2a73af
Add total-supply command ( #8722 )
...
automerge
2020-03-09 01:28:44 -07:00
eab80d0aea
Cli: Fix create-with-seed ( #8706 )
...
* Add failing test
* Fix create-address-with-seed regression
* Add apis to enable generating a pubkey from all various signers
* Enable other signers as --from in create-with-seed
2020-03-09 00:02:24 -06:00
88b1383eed
Permit --no-untrusted-rpc without any --trusted-validators
2020-03-08 22:34:04 -07:00
ff74452ef3
Bump libc from 0.2.66 to 0.2.67 ( #8680 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.66 to 0.2.67.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.66...0.2.67 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-08 21:38:58 -07:00
bf8e9b3d71
Better error message for cli ( #8702 )
2020-03-08 19:19:34 -07:00
de34187db0
Add purge function to ledger-tool ( #8719 )
2020-03-08 12:40:56 -07:00
acb23e8ef0
Groom ledger-tool bounds output ( #8710 )
2020-03-07 09:05:15 -07:00
f992ee3140
Remove unnecessary snapshot hash verification ( #8711 )
2020-03-07 09:04:52 -07:00
97986a5241
Move download code to download-utils crate ( #8704 )
2020-03-07 07:08:01 -08:00
a7d1346d51
Remove ask-seed-phrase arg from validator, archiver ( #8697 )
...
* Remove ask-seed-phrase from validator
* Update paper-wallet docs
* Remove ask-seed-phrase from archiver
* Remove unused structs, methods
2020-03-06 22:22:23 -07:00
983ec5debc
Docs version bump ( #8709 )
...
automerge
2020-03-06 21:06:41 -08:00
cb28ac3aed
Fix Ledger docs ( #8705 )
...
automerge
2020-03-06 20:05:34 -08:00
a817a7c889
Call usage when getting incorrect arguments ( #8703 )
...
automerge
2020-03-06 19:08:20 -08:00
a5f2444ad2
Remove copypasta ( #8700 )
...
automerge
2020-03-06 18:18:01 -08:00
cea8067219
Disable setLogFilter RPC API by default ( #8693 )
...
automerge
2020-03-06 16:03:10 -08:00
4db074a5aa
RPC: Add getFeeCalculatorForBlockhash
method call ( #8687 )
...
Returns the `FeeCalculator` associated with the given blockhash, or
`null` if said blockhash has expired
2020-03-06 17:01:31 -07:00
3eb00ef60f
Add ability to start clients separately from validators ( #8690 )
...
automerge
2020-03-06 15:32:27 -08:00
ca8bf8f964
Ledger: return specific error if ledger-app-solana is not running ( #8684 )
...
* Specific error if ledger-app-solana is not running
* Return helpful error
* Include signer name in multiple-device prompt
2020-03-06 16:03:23 -07:00
39b3ce9bd3
Add shred version support to net/ ( #8689 )
...
* Add shred version support to net/
* Update remote-node.sh
2020-03-06 15:49:04 -07:00
4caa313aef
Remove releases from readme ( #8685 )
...
automerge
2020-03-06 14:03:10 -08:00
a78a339407
Properly escape current version ( #8686 )
2020-03-06 14:36:01 -07:00
0919b13c87
Split staker infos ( #8682 )
2020-03-06 13:49:23 -07:00
f2b0e2f418
Add slot rate check to automation framework ( #8676 )
2020-03-05 23:58:31 -08:00
cb6848aa80
Publish initial snapshot hash in gossip on validator startup ( #8679 )
...
automerge
2020-03-05 22:52:31 -08:00
542691c4e4
Docs: Use correct flag in keypair verification instructions ( #8677 )
...
automerge
2020-03-05 16:32:17 -08:00
8ad6a8767f
Simplify runtime account handling ( #8674 )
2020-03-05 16:17:31 -08:00
2242b1b4a5
Bump byteorder from 1.3.2 to 1.3.4 ( #8159 )
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.2 to 1.3.4.
- [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.2...1.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-03-05 17:07:18 -07:00
8df4d8b905
Update to rbpf v0.1.23 - Use trait objects to convey helper context ( #8648 )
2020-03-05 14:14:21 -08:00
7fad53b112
Use iterated account ( #8673 )
...
automerge
2020-03-05 13:10:20 -08:00
9d667db634
SDK: Allow RecentBlockhashes
to hold the entire BlockhashQueue
( #8632 )
...
automerge
2020-03-05 11:03:21 -08:00
f47a789b15
Add find_incomplete_slots ( #8654 )
...
* Add find_incomplete_slots
* Add live slots iterator
2020-03-05 10:58:00 -08:00
5e3ce30d02
Pass the correct program_id to programs ( #8630 )
2020-03-05 10:57:35 -08:00
97c5fb8141
Allow passing of program_ids to programs ( #8639 )
2020-03-05 10:57:12 -08:00
0e3a8fa6d9
Add retransmit_stage diagram ( #8645 )
2020-03-05 10:12:02 -08:00
5eae76c66e
Remove solana-archiver from release artifacts
2020-03-05 11:01:53 -07:00
849f79e4ed
Delete Archiver installation docs ( #8665 )
2020-03-05 11:00:00 -07:00
ff7cf839d8
Choose a cluster before checking balances ( #8666 )
...
automerge
2020-03-05 09:37:16 -08:00
f3cbd243cc
Fix docs build ( #8663 )
...
automerge
2020-03-05 09:33:46 -08:00
f146c92e88
Always and fully normalize stored 0-lamport accts. ( #8657 )
2020-03-05 09:14:40 -07:00
fb2620b3a5
Set ignore_conflicts, the new mergify behaviour is worse
2020-03-05 08:44:20 -07:00
fd00e5cb35
Store FeeCalculator with blockhash in nonce accounts ( #8650 )
...
* Copy current state version to v0
* Add `FeeCalculator` to nonce state
* fixup compile
* Dump v0 handling...
Since we new account data is all zeros, new `Current` versioned accounts
look like v0. We could hack around this with some data size checks, but
the `account_utils::*State` traits are applied to `Account`, not the
state data, so we're kind SOL...
* Create more representative test `RecentBlockhashes`
* Improve CLI nonce account display
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Fix that last bank test...
* clippy/fmt
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-03-05 07:40:26 -07:00
44fde2d964
genesis: Add support for multiple bootstrap validators ( #8656 )
...
automerge
2020-03-04 23:42:01 -08:00
448b957a13
Add --bind-address and --rpc-bind-address validator arguments ( #8628 )
2020-03-04 22:46:43 -07:00
01607b9860
Add NextSlotsIterator ( #8652 )
...
automerge
2020-03-04 20:46:58 -08:00
23d8c7ff0e
Generate a snapshot at synchronized points ( #8532 )
...
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-03-04 19:23:40 -08:00
b321da00b4
Nit: Use accessor function ( #8647 )
...
automerge
2020-03-04 18:26:58 -08:00
dec3da8f9d
Add orphan iterator ( #8636 )
2020-03-04 18:10:30 -08:00
80aae18794
Nit: Update native loader to iterate accounts ( #8640 )
...
automerge
2020-03-04 17:10:22 -08:00
1f2aaf3f98
Generate CLI usage ( #8637 )
...
* Generate CLI usage
* Apply review feedback
2020-03-04 17:44:30 -07:00
2534a028c0
Move docs to imperative mood ( #8643 )
...
* Move docs to imperative tone
* Apply review feedback
2020-03-04 17:42:22 -07:00
fc409d9262
Consistency nits and spelling ( #8642 )
...
automerge
2020-03-04 16:26:32 -08:00
b70d195473
Connect partition flag to validators ( #8622 )
2020-03-04 16:18:45 -08:00
7eedff2714
Install Solana before using it ( #8638 )
...
automerge
2020-03-04 15:21:42 -08:00
6d9185d121
Update TVU drawing ( #8611 )
2020-03-04 15:16:35 -08:00
f89c22b5ee
solana catchup
now detects when you try to catchup to yourself (#8635 )
...
automerge
2020-03-04 14:44:21 -08:00
f23dc11a86
compute_bank_stats needs to return newly computed ForkStats ( #8608 )
...
* Fix broken confirmation, add test
2020-03-04 11:49:56 -08:00
09a0325534
catchup
now supports an optional RPC URL argument for validators with private RPC (#8629 )
...
automerge
2020-03-04 11:44:13 -08:00
408d5da50f
Add test for program_ids passed in metas ( #8618 )
2020-03-04 11:13:33 -08:00
561808cf90
SDK: Store FeeCalculator in recent_blockhashes sysvar ( #8609 )
...
* SDK: Store FeeCalculators in recent_blockhashes sysvar
* nits
2020-03-04 12:01:32 -07:00
25df95be6f
Expose executable and rent_epoch in AccountInfo ( #8619 )
2020-03-04 10:52:09 -08:00
b85d7c1f70
Fix account tests ( #8615 )
2020-03-04 10:40:41 -08:00
642720a2fe
nit: describe the root program id ( #8621 )
2020-03-04 08:55:01 -08:00
1cc7131bb7
Consolidate Nonce state under one struct ( #8624 )
...
automerge
2020-03-04 08:51:48 -08:00
8f60f1093a
Fix sendTransaction doc ( #8625 )
...
automerge
2020-03-04 08:23:29 -08:00
d3b458dd9b
Keep GenesisConfig binary compatible with v0.23 ( #8617 )
...
automerge
2020-03-04 00:04:44 -08:00
a08e2cc434
nit: clean up MessageHeader output
2020-03-04 00:16:19 -07:00
b83a0434a4
Prepare for multiple nonce account state versions ( #8612 )
...
automerge
2020-03-03 21:19:09 -08:00
b68b74ac32
Check transaction signatures in entry verify ( #8596 )
2020-03-03 20:49:51 -08:00
b084c1d437
Remove accounts hack and correctly restore accounts store counts ( #8569 )
...
* Remove accounts hack and correctly restore append-vec counts
* Add test
2020-03-03 20:48:55 -08:00
63ed892502
Remove flaky merkle timing test ( #8602 )
2020-03-03 19:26:38 -08:00
1cb6101c6a
SDK: Add versioning to nonce state ( #8607 )
2020-03-03 19:39:09 -07:00
be0cc0273f
SDK: Re-org nonce state module to facilitate versioning ( #8603 )
...
automerge
2020-03-03 17:00:39 -08:00
abf33b3b3b
Add commitment flag to vote-account
and validators
commands ( #8597 )
2020-03-03 17:53:30 -07:00
d9b0490f72
Update rust-bpf to include matching cargo ( #8598 )
2020-03-03 14:14:31 -08:00
caa70d2bca
Remove v0.23 as a backport target
2020-03-03 15:10:06 -07:00
4f05f08f5d
Use fs::rename which is much faster than move_items ( #8579 )
2020-03-03 10:03:17 -08:00
0c76b89e55
Fix c/p error. We want a rent sysvar account here ( #8559 )
2020-03-03 09:49:02 -07:00
08ab4b93ea
Add Ledger wallet installation instructions ( #8581 )
...
automerge
2020-03-03 08:12:29 -08:00
f0028b6972
Remove trailing white space
2020-03-03 18:27:07 +09:00
b6553357f9
watchtower: flag to suppress duplicate notifications ( #8549 )
...
* watchtower: send error message as notification
* watchtower: send all clear notification when ok again
* watchtower: add twilio sms notifications
* watchtower: flag to suppress duplicate notifications
* remove trailing space character
* changes as per suggestion on PR
* all changes together
* cargo fmt
2020-03-02 23:37:57 -07:00
d86103383a
Do periodic inbound cleaning for rooted slots ( #8436 )
...
* Do periodic inbound compaction for rooted slots
* Add comment
* nits
* Consider not_compacted_roots in cleanup_dead_slot
* Renames in AccountsIndex
* Rename to reflect expansion of removed accounts
* Fix a comment
* rename
* Parallelize clean over AccountsIndex
* Some niceties
* Reduce locks and real chunked parallelism
* Measure each step for sampling opportunities
* Just noticed par iter is maybe lazy
* Replace storage scan with optimized index scan
* Various clean-ups
* Clear uncleared_roots even if no updates
2020-03-03 14:57:25 +09:00
1265afebbb
SDK: Return a full RecentBlockhashes
for tests ( #8580 )
...
automerge
2020-03-02 18:44:29 -08:00
306783c661
Don't advertise the snapshot that the node was loaded from
...
snapshot_packager_service will remove this snapshot hash from gossip
when it starts
2020-03-02 18:58:53 -07:00
8ec8204a30
Run pubsub test poller in tokio runtime ( #8494 )
2020-03-03 09:44:39 +08:00
8cf3ef895d
Prevent trailing space in CLI usage docs generation ( #8578 )
...
automerge
2020-03-02 16:37:38 -08:00
e4498adb1f
Make block-time more human-readable ( #8575 )
2020-03-02 14:58:15 -08:00
42c5c59800
Only gossip packaged snapshots
2020-03-02 14:17:17 -07:00
8ef8c9094a
Add ReplayStage changes for checking switch threshold ( #8504 )
...
* Refactor for supporting switch threshold check
2020-03-02 12:43:43 -08:00
8dc4724340
Allow stake lockup fields to be updated independently ( #8568 )
...
* Make Lockup fields optional for SetLockup instruction
* Use LockupArgs in cli
* Include lockup timestamp in stake-account print
2020-03-02 12:28:43 -08:00
13551885c2
--wait-for-supermajority now requires a SLOT
2020-03-02 12:59:35 -07:00
d677e83ed4
Add ---no-untrusted-rpc flag
2020-03-02 11:49:38 -07:00
5d9130a3c4
Hack to skip cleanup_dead_slots upon snapshot load
2020-03-02 10:24:12 -07:00
1ca4913328
Avoid is_x86_feature_detected when not building for x86
2020-03-01 18:10:43 -07:00
b7614abb9e
Docs: Update CLI offline cmds ( #8548 )
...
* Docs: Update CLI usage
* Docs: Add script to generate offline command links
* Docs: Update list of commands supporting offline signing
* Docs: Omit deprecated `pay` command from offline command list
2020-03-01 17:20:37 -07:00
862a4a243f
Demote gossip responder error log messages to info!
2020-03-01 10:43:20 -07:00
db291234ed
feat: implement websocket_url as a get/set-able global parameter w/ value computation
2020-03-01 01:07:45 -07:00
2a5605db24
Reduce max snapshot hashes to stay under MTU
2020-02-29 09:21:52 -07:00
b4362cc18b
Log RPC node root slot
2020-02-29 09:21:52 -07:00
6a5a6387e2
Fix skipping own leader slots ( #8533 )
...
automerge
2020-02-29 00:05:35 -08:00
0f31adeafb
GET for /snapshot.tar.bz2 now redirects to the latest snapshot
2020-02-28 23:23:59 -07:00
ae817722d8
Include validator version in log
2020-02-28 23:23:59 -07:00
90bedd7e06
Split signature throughput tracking out of FeeCalculator
( #8447 )
...
* SDK: Split new `FeeRateGovernor` out of `FeeCalculator`
Leaving `FeeCalculator` to *only* calculate transaction fees
* Replace `FeeCalculator` with `FeeRateGovernor` as appropriate
* Expose recent `FeeRateGovernor` to clients
* Move `burn()` back into `FeeCalculator`
Appease BPF tests
* Revert "Move `burn()` back into `FeeCalculator`"
This reverts commit f3035624307196722b62ff8b74c12cfcc13b1941.
* Adjust BPF `Fee` sysvar test to reflect removal of `burn()` from `FeeCalculator`
* Make `FeeRateGovernor`'s `lamports_per_signature` private
* rebase artifacts
* fmt
* Drop 'Recent'
* Drop _with_commitment variant
* Use a more portable integer for `target_signatures_per_slot`
* Add docs for `getReeRateCalculator` JSON RPC method
* Don't return `lamports_per_signature` in `getFeeRateGovernor` JSONRPC reply
2020-02-28 13:27:01 -07:00
7d27be2a73
Upgrade to Rust 1.41.1
2020-02-28 10:10:42 -07:00
74da2de3b7
Ensure the validator's identity pubkey is not provided as a --trusted-validator ( #8525 )
...
automerge
2020-02-27 20:26:53 -08:00
35db70a56c
Use legit solana message in verify ( #8513 )
2020-02-27 19:23:28 -07:00
7dac8e2dde
Reorder InstructionError to remain compatible with v0.23
2020-02-27 18:05:12 -07:00
82c6992d6f
Import Tour de SOL docs ( #8516 )
...
* Import Tour de SOL docs
* Fix checks
* Fix docs/build.sh
2020-02-28 09:03:14 +08:00
4831c7b9af
Remove granularity from genesis ( #8514 )
2020-02-27 17:45:10 -07:00
113db8d656
Improve net/README.md a bit ( #8503 )
2020-02-28 08:00:54 +09:00
de6679ea95
Improve install messaging ( #8477 )
2020-02-27 14:07:36 -08:00
0b66ae5c53
Ledger messaging cleanup ( #8506 )
2020-02-27 12:23:13 -07:00
61a20febb9
Set withdrawer keys ( #8499 )
2020-02-27 07:32:35 -07:00
29f81577e9
Fix cluster economics figures and spelling in docs ( #8502 )
2020-02-27 18:15:17 +08:00
3acf956f6f
Fix test_concurrent_snapshot_packaging
2020-02-26 23:32:53 -07:00
87b13bef8e
Remove bank_slot_from_archive
2020-02-26 23:32:53 -07:00
0d4cb252c4
Adapt local-cluster/
2020-02-26 23:32:53 -07:00
fcabc6f799
Rename snapshot.tar.bz2 to snapshot-<slot>-<hash>.tar.bz2
2020-02-26 23:32:53 -07:00
848c43a9ab
Peg snapshot version to 1.0.0
2020-02-26 22:44:39 -07:00
5f766cd20b
Remove loop ( #8493 )
2020-02-26 19:59:28 -08:00
8c07ba635e
Cargo.lock
2020-02-26 20:47:43 -07:00
bb07aecfec
Cargo.lock
2020-02-26 20:47:43 -07:00
27c5ec0149
Use the same reqwest features across the repo
2020-02-26 20:47:43 -07:00
4f01db0482
fix reqwest json issue
2020-02-26 20:47:43 -07:00
f2f8a7a90e
Reference the v1.0.0 installer
2020-02-26 19:20:42 -07:00
e743414908
Choose more appropriate options for pubsub websocket server ( #8354 )
...
* Choose more sensible options for pubsub websocket server
* Increase max payload size for pubsub service
2020-02-27 08:54:53 +08:00
f6f0f94e17
Add flag to confirm key on device ( #8478 )
2020-02-26 15:24:44 -07:00
d47a47924a
Update voting simulation ( #8460 )
2020-02-26 14:09:07 -08:00
7a2bf7e7eb
Limit leader schedule search space ( #8468 )
...
* Limit leader schedule search space
* Fix and add test
* Rename
2020-02-26 13:35:50 -08:00
d5a7867087
Validate the genesis config downloaded over RPC before accepting it
2020-02-26 14:21:37 -07:00
fbf78b83c4
Add retry mechanism when downloading genesis and snapshots
2020-02-26 14:21:37 -07:00
2c63cf3cbd
Add curie pubkey to authorized keys ( #8473 )
...
automerge
2020-02-26 10:27:37 -08:00
3b648e71e6
Ledger hardware wallet docs ( #8472 )
...
* Update protocol documentation
* Correct app-version command const
* Rough initial Ledger docs
* Add more docs
* Cleanup
* Add remote-wallet to docs TOC
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-02-26 11:04:28 -07:00
021d0a46f8
Move docs from book/ to docs/ ( #8469 )
...
automerge
2020-02-26 07:11:38 -08:00
8839dbfe5b
Use runtime executor to send pubsub notifications ( #8353 )
...
automerge
2020-02-25 20:23:54 -08:00
407d058611
live-slots now displays the rate the root slot is advancing
2020-02-25 20:59:05 -07:00
c6a7f499ce
Allow withdrawer to change the authorized stake key ( #8456 )
2020-02-25 19:03:26 -07:00
d821fd29d6
Add versioning ( #8348 )
...
automerge
2020-02-25 17:12:01 -08:00
6b99ab3a57
Ledger key path rework ( #8453 )
...
automerge
2020-02-25 16:41:21 -08:00
004f1d5aed
Combine replay stage memory reporting ( #8455 )
...
automerge
2020-02-25 16:04:27 -08:00
1caeea8bc2
Refactor new bank paths into common function ( #8454 )
2020-02-25 15:49:59 -08:00
6ce4a1a18d
Update README.md
2020-02-25 14:41:14 -08:00
0b48c8eb35
Promote dangerous cond. from just warning to panic ( #8439 )
2020-02-26 05:09:57 +09:00
fef913085e
🐌 🐌 Publish crates for even longer longer
2020-02-25 09:23:04 -07:00
2059af822d
Remove unnecessary new_banks_from_blockstore() argument ( #8433 )
...
automerge
2020-02-24 23:27:19 -08:00
0fe74e95fe
Add --no-check-vote-account argument ( #8430 )
...
automerge
2020-02-24 22:54:51 -08:00
b7755123c1
Make solana root key accessible on Ledger ( #8421 )
...
* Use 44/501 key as ledger id
* Add error codes
2020-02-24 22:38:06 -07:00
39282be486
Determine vote_state ahead of time ( #8303 )
...
automerge
2020-02-24 19:27:04 -08:00
b18e4057bb
Fix SDK deps
2020-02-24 17:25:48 -07:00
12a9b5f35e
CLI: collect and deduplicate signers ( #8398 )
...
* Rename (keypair util is not a thing)
* Add method to generate_unique_signers
* Cli: refactor signer handling and remote-wallet init
* Fixup unit tests
* Fixup intergation tests
* Update keypair path print statement
* Remove &None
* Use deterministic key in test
* Retain storage-account as index
* Make signer index-handling less brittle
* Cache pubkey on RemoteKeypair::new
* Make signer_of consistent + return pubkey
* Remove &matches double references
* Nonce authorities need special handling
2020-02-24 17:03:30 -07:00
89baa94002
Drop print- prefix from slot/accounts command
2020-02-24 14:46:12 -07:00
1ef3478709
Add genesis subcommand
2020-02-24 14:46:12 -07:00
73063544bd
Move shred_version module to sdk/
2020-02-24 14:46:12 -07:00
90240bf11d
r
2020-02-24 14:45:32 -07:00
5c5a06198c
Refactor
2020-02-24 14:45:32 -07:00
394933e53c
Fix up trusted validator snapshot selection
2020-02-24 14:45:32 -07:00
b106d3ba60
Fix local cluster test, check for accounts hash ( #8411 )
2020-02-24 10:23:47 -08:00
947a339714
Add snapshot hash of full accounts state ( #8295 )
...
* Add snapshot hash of full accounts state
* Use normal hashing for the accounts delta state
* Add merkle
2020-02-22 13:46:40 -08:00
edb18349c9
Improve merkle-tree nodes capacity computing ( #8273 )
...
* Improve merkle-tree nodes capacity computing
* Add test cases for math compute of merkle-tree nodes capacity
2020-02-22 11:12:37 -07:00
9dcb965959
Reinstate create-stale-account
w/ seed test ( #8401 )
...
automerge
2020-02-22 08:54:29 -08:00
72ae82fe47
Bump crossbeam-channel from 0.3.9 to 0.4.2 ( #8400 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.3.9 to 0.4.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/v0.4.2/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.3.9...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 09:53:38 -07:00
2d9d2f1e99
Update cargo versions from 1.0 to 1.1 ( #8397 )
2020-02-21 23:09:45 -08:00
dc02f2ea8b
Add support for large transactions with Ledger Wallet ( #8394 )
2020-02-21 23:24:56 -07:00
b7386f9d84
Add --trusted-validator support for snapshot hash validation ( #8390 )
2020-02-21 18:42:24 -08:00
223f9707ca
\
2020-02-21 18:09:36 -07:00
ea5b00364f
Add --enable-warmup-epochs flag
2020-02-21 16:59:43 -07:00
fb98df76b7
4x DEFAULT_MAX_LEDGER_SLOTS to give nodes 3 hours of slots to repair from ( #8388 )
...
automerge
2020-02-21 15:04:02 -08:00
4ddbf8d509
CLI: dynamic signing reboot ( #8384 )
...
* Add keypair_util_from_path helper
* Cli: impl config.keypair as a trait object
* SDK: Add Debug and PartialEq for dyn Signer
* ClapUtils: Arg parsing from pubkey+signers to Presigner
* Impl Signers for &dyn Signer collections
* CLI: Add helper for getting signers from args
* CLI: Replace SigningAuthority with Signer trait-objs
* CLI: Drop disused signers command field
* CLI: Drop redundant tests
* Add clap validator that handles all current signer types
* clap_utils: Factor Presigner resolution to helper
* SDK: `From` for boxing Signer implementors to trait objects
* SDK: Derive `Clone` for `Presigner`
* Remove panic
* Cli: dedup signers in transfer for remote-wallet ergonomics
* Update docs vis-a-vis ASK changes
* Cli: update transaction types to use new dynamic-signer methods
* CLI: Fix tests No. 1
what to do about write_keypair outstanding
* Work around `CliConfig`'s signer not necessarily being a `Keypair`
* CLI: Fix tests No. 2
* Remove unused arg
* Remove unused methods
* Move offline arg constants upstream
* Make cli signing fallible
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-02-21 14:55:53 -07:00
aa80f69171
Promote some datapoints to info
to fix dashboard ( #8381 )
...
automerge
2020-02-21 13:41:49 -08:00
0ace22d03f
Optimize account verification ( #8385 )
2020-02-21 13:28:35 -08:00
0e6aca5a7e
Reorganize message processor in prep for cross-program-invocation ( #8338 )
2020-02-21 11:30:00 -08:00
3f04226864
Update unlocks ( #8363 )
2020-02-21 11:23:03 -07:00
d308eed136
Bump ctrlc from 3.1.3 to 3.1.4
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/commits/3.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-21 09:00:14 -07:00
ed1149c8e0
Update supported backport labels
2020-02-21 00:47:44 -07:00
48f58a88bc
Bump version to 1.0.0
2020-02-20 23:52:19 -07:00
d238371b0c
Correct missing entry handling to avoid bad warns ( #8339 )
...
* Correct missing entry handling to avoid bad warns
* Pass storage entries to AccountStorageSerialize
* Fix CI.....
* Add tests and reorder condition for cheapest first
* Remove unneeded reference
2020-02-21 15:27:55 +09:00
0b7e8d0162
Add handling for fallible signers ( #8367 )
...
automerge
2020-02-20 19:04:53 -08:00
18fd52367e
If the node was loaded from a snapshot, advertise it in gossip ( #8364 )
...
automerge
2020-02-20 18:53:26 -08:00
2d665da3e1
Flip Stable and Preview enum values
2020-02-20 18:27:33 -07:00
5ef06a9d36
Add non-bz2 snapshot for faster creation for dev. ( #8350 )
...
* Add non-bz2 snapshot for faster creation for dev.
* Fix tests..
* Revert and always just use snapshot.tar.bz2
2020-02-21 10:19:45 +09:00
f4622d67e9
Submit all metrics in one HTTP POST rather than a HTTP POST per level
2020-02-20 18:12:30 -07:00
b65c9ea544
Bump serial_test_derive from 0.3.2 to 0.4.0 ( #8311 )
...
Bumps [serial_test_derive](https://github.com/palfrey/serial_test ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.2...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-20 17:06:00 -07:00
cc7c6c960e
Search for the validator with the highest snapshot
2020-02-20 17:04:48 -07:00
01697a9f5c
Remove unnecessary arc and mutex for rpc notifications ( #8351 )
2020-02-21 08:03:46 +08:00
ab361a8073
Rename KeypairUtil to Signer ( #8360 )
...
automerge
2020-02-20 13:28:55 -08:00
ec5c02cb7f
Book: Add instructions for verifying a paper wallet keypair ( #8357 )
2020-02-20 14:19:35 -07:00
e8124324ff
Support transaction signing by heterogenous lists of keypairs ( #8342 )
...
automerge
2020-02-20 12:13:23 -08:00
1720fe6a46
Snapshot hash gossip changes ( #8358 )
2020-02-20 11:46:13 -08:00
e50bc0d34b
Do not compress small incomplete slot list ( #8355 )
...
automerge
2020-02-20 09:48:39 -08:00
45774dc4aa
Fix comment
2020-02-20 10:32:36 -07:00
ea8d9d1aea
Bitwise compress incomplete epoch slots ( #8341 )
2020-02-19 20:24:09 -08:00
221866f74e
Process Gossip in parallel and add an upper limit ( #8328 )
2020-02-19 21:31:55 -06:00
3e96d59359
Use correct static IP address
2020-02-19 18:15:18 -07:00
8c19b6268c
Add Preview operating mode, rename SoftLaunch operating mode to Stable ( #8331 )
...
automerge
2020-02-19 16:48:58 -08:00
8ae26867c5
More testnet->devnet
2020-02-19 16:15:38 -07:00
19baaea0da
Remove validators from genesis ( #8330 )
...
automerge
2020-02-19 14:40:07 -08:00
e3cebcf82d
rename testnet.solana.com to devnet.solana.com
2020-02-19 15:33:14 -07:00
ccad5d5aaf
change warnings to infos ( #8322 )
2020-02-19 14:25:49 -08:00
d0bcde001e
New Repair Design ( #8256 )
...
* New Repair Design
2020-02-19 01:02:09 -08:00
83a8e82626
Remove dead code
2020-02-18 21:08:43 -07:00
7305a1f407
Reformatting
2020-02-18 21:08:43 -07:00
3975c7f8c9
Add --fee-burn-percentage
2020-02-18 17:43:08 -07:00
ac1d075d73
Drop packet if destination is unspecified (0.0.0.0/0) ( #8321 )
2020-02-18 16:14:20 -08:00
73a278dc64
Factor out creating genesis with vote accounts into a utility function ( #8315 )
...
automerge
2020-02-18 02:39:47 -08:00
a042ee609a
Update README.md
2020-02-17 22:19:55 -07:00
0d5c1239c6
Update epoch slots to include all missing slots ( #8276 )
...
* Update epoch slots to include all missing slots
* new test for compress/decompress
* address review comments
* limit cache based on size, instead of comparing roots
2020-02-17 12:39:30 -08:00
027ec71aa9
Remove AccountInfo's (De)Serialize ( #8313 )
...
automerge
2020-02-17 03:07:36 -08:00
ef718c651e
Remove needless uses ( #8312 )
...
automerge
2020-02-17 02:43:14 -08:00
fc2a0d53d9
CLI: Add optional airdrop recipient ( #8291 )
...
* CLI: Add optional airdrop recipient
* Update book usage page
2020-02-16 11:41:00 -07:00
bb47844ae6
Bump thiserror from 1.0.10 to 1.0.11 ( #8288 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-15 17:59:13 -07:00
b997d3eb4e
Cli: Remove units from various subcommands ( #8301 )
...
* Cli: Remove unit arg from various subcommands
* Update book usage page
* Update scripts and docs
2020-02-15 12:53:52 -07:00
9bcca268a3
Add simple gossip DoS test
2020-02-14 22:40:35 -07:00
8a2d4e2f72
Add storage rewards pools in development mode only
2020-02-14 21:12:38 -07:00
335675c51c
install: support vX.Y.Z in addition to X.Y.Z ( #8297 )
...
automerge
2020-02-14 19:35:40 -08:00
1bf2285fa2
ledger-tool: Add print-accounts command
2020-02-14 19:59:48 -07:00
71f77a8e0a
Remove Exchange program's use of GenericError ( #8290 )
...
automerge
2020-02-14 14:52:13 -08:00
644a7f9a44
Remove Move Loader's use of GenericError ( #8289 )
...
automerge
2020-02-14 14:49:21 -08:00
965361ff69
Remove failure's use of GenericError ( #8287 )
...
automerge
2020-02-14 14:07:53 -08:00
4593d333c7
Remove BPF Loader's use of GenericError ( #8284 )
2020-02-14 13:59:03 -08:00
940519ea5a
Remove Native Loader's use of GenericError ( #8285 )
2020-02-14 13:58:48 -08:00
a0bcbf70d5
Cleanup new_result_with_negative_lamports ( #8286 )
2020-02-14 13:58:33 -08:00
17fb8258e5
Datapoints overwhelm the metrics queue and blow up ram usage. ( #8272 )
...
automerge
2020-02-14 11:11:55 -08:00
c350543b46
Make generate_remote_keypair more generic for potential other remote-wallets ( #8274 )
2020-02-14 09:38:35 -07:00
5b4ecb01ca
Presigner KeypairUtil implementer ( #8269 )
...
automerge
2020-02-13 16:53:09 -08:00
28b115497f
Update setup-dc-node-1.sh
2020-02-13 14:30:41 -07:00
0604029661
Bump parking_lot from 0.7.1 to 0.10.0 ( #8262 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.7.1 to 0.10.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.7.1...0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-13 14:24:37 -07:00
2374cf09e2
Enable remote-wallet signing in solana-keygen ( #8267 )
...
* Add fallible methods to KeypairUtil
* Add RemoteKeypair struct and impl KeypairUtil
* Implement RemoteKeypair in keygen; also add parse_keypair_path for cleanup
2020-02-13 14:08:34 -07:00
ab475e4849
get_confirmed_block: expect() less
2020-02-13 10:56:34 -07:00
1c97b31eaf
Retain signature subscriptions that haven't been notified ( #8261 )
2020-02-14 01:00:50 +08:00
bd257050e3
Retry to curl to codecov.io unfortunately ( #8263 )
...
automerge
2020-02-13 06:23:10 -08:00
2d362ed337
Remove references to old unused testnets ( #8258 )
...
automerge
2020-02-12 22:23:35 -08:00
cb7117beac
CLI: Offline-ify remaining stake ops ( #8257 )
...
automerge
2020-02-12 22:00:28 -08:00
b358ff66e1
Plumb --enable-rpc-get-confirmed-block flag
2020-02-12 17:08:27 -07:00
6309c97697
Add CliCommand::StakeSetLockup ( #8248 )
...
automerge
2020-02-12 15:36:29 -08:00
58727463e1
Remove needless last_root for better reclaims ( #8148 )
...
* Restore last_root to fix unintended storage delete
* Remove last_root thing altogether
* Remove unneeded test...
2020-02-13 08:19:53 +09:00
741d148a0d
Simplify remote wallet ( #8249 )
...
automerge
2020-02-12 14:38:51 -08:00
127553ce4b
Wrap ed25519_dalek::Keypair ( #8247 )
2020-02-12 14:15:12 -07:00
ecb055a252
Expel ContactInfo::new() ( #8245 )
...
automerge
2020-02-12 12:58:51 -08:00
dfa6fbaa0c
Bump cbindgen from 0.13.0 to 0.13.1 ( #8233 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-12 12:25:39 -07:00
cf11d4c7dc
Nodes with a tvu and storage port are no longer double counted ( #8237 )
...
automerge
2020-02-12 11:16:07 -08:00
d0a4686990
Avoid assigning the serve repair port to the storage port
2020-02-12 12:00:11 -07:00
2542d5dd42
Bump baseline version to 0.23.4, improve error reporting
2020-02-12 11:59:12 -07:00
1e0f2b2446
Quash 'repair listener error: Err(RecvTimeoutError(Timeout))' log spam
2020-02-12 10:35:03 -07:00
a8028fbb93
Fix accounts_db store counts in purging accounts logic ( #8218 )
...
* Show insufficient purge_zero_lamport_account logic
* Add another pass to detect non-deleted values and increment the count
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-02-12 08:51:03 -08:00
ed87229cec
CLI: Don't hide errors when fees are disabled ( #8204 )
...
automerge
2020-02-11 21:48:04 -08:00
c4fd81fc1c
The getConfirmedBlock RPC API is now disabled by default
...
The --enable-rpc-get-confirmed-block flag allows validators to opt-in to
the higher disk usage and IOPS.
2020-02-11 22:24:08 -07:00
ad43babe3d
ABI sanity test for running edge,beta,stable validators together
2020-02-11 21:21:31 -07:00
36c0cb052b
set_read_timeout() can fail, don't expect() it not to
2020-02-11 18:57:14 -07:00
ed58bcda4c
solana-install init edge
when "edge" is not currently installed now works
2020-02-11 18:57:14 -07:00
268bb1b59b
Fix RPC pub sub unsubscribe ( #8208 )
...
automerge
2020-02-11 17:09:40 -08:00
059764586a
Rename from account userdata to data ( #8224 )
2020-02-11 16:30:22 -08:00
72b11081a4
Report validator rewards in getConfirmedBlock JSON RPC
2020-02-11 17:25:45 -07:00
0bbee9456f
Add method to sign raw data, enabling easier device app testing ( #8221 )
...
* Add method to sign raw data, enabling easier device app testing
* Rename ugly derivation method, params
2020-02-11 17:15:38 -07:00
fcac910989
Bump jsonrpc-pubsub from 14.0.5 to 14.0.6 ( #8162 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-pubsub-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-11 15:44:21 -07:00
2e9ba149f2
Update LVM and rBPF versions ( #8215 )
2020-02-11 12:52:13 -08:00
d3712dd26d
Factor repair from gossip ( #8044 )
2020-02-11 13:11:48 -07:00
60877f9ba4
Revert "Check for AVX512 at runtime to avoid invalid opcode trap ( #8166 )"
...
This reverts commit ef5fb6fa46
.
2020-02-11 12:56:02 -07:00
4f2c76150f
Clippy
2020-02-11 12:56:02 -07:00
137577fb86
Upgrade to rust 1.41.0
2020-02-11 12:56:02 -07:00
bf623219d2
nudge ( #8214 )
2020-02-11 10:50:57 -08:00
25d1f841ee
Fixup sign_transaction; pass derivation_path by reference ( #8194 )
...
* Fixup sign_transaction; pass derivation_path by reference
* Pass total message length as BE u16
* Remove live integration tests (to ledger-app-solana)
2020-02-11 11:45:00 -07:00
517fe73734
Non-conflicting account duplicate marker value ( #8206 )
2020-02-11 10:03:28 -08:00
890919d140
Reliably track proc macro & build.rs code coverage ( #8210 )
2020-02-12 01:02:40 +09:00
33ea1e0edd
Channel installs no longer re-download the same release.
2020-02-11 08:22:41 -07:00
7614af2a45
Verify frozen bank from snapshot by hashing ( #8184 )
2020-02-11 16:46:33 +09:00
1528959327
CLI: Add fee-payer parame to stake-split subcommand ( #8201 )
...
automerge
2020-02-10 23:23:54 -08:00
46b6cedff4
Fix nightly clippy warnings ( #8199 )
...
automerge
2020-02-10 22:48:50 -08:00
8d8f28c1d0
CLI: transfer
fix checks pubkeys ( #8198 )
...
automerge
2020-02-10 22:34:14 -08:00
df782b93ae
Add is_writable to AccountInfo ( #8196 )
2020-02-10 21:33:29 -08:00
124f77cdb1
Bump jsonrpc-ws-server from 14.0.5 to 14.0.6 ( #8160 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-ws-server-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-10 19:07:52 -07:00
fc15f74c3c
CLI: Harden offline signing and tests ( #8052 )
...
* CLI: Don't sanity-check stake account when offline
* Add test helper returning vote pubkey with validator
* Delegate to the BSL. No need to force
* Be sure our offline ops are truly offline
* Specify our authorities correctly
* checks
2020-02-10 18:59:05 -07:00
1d06aa3b31
Remove repairman as its spamming cluster with unwanted repairs ( #8193 )
...
* Remove repairman as its spamming cluster with unwanted repairs
* remove obsolete test
2020-02-10 17:00:00 -08:00
0b263f8714
Fix larger than necessary allocations in streamer ( #8187 )
2020-02-10 11:49:07 -08:00
84b3e12e1f
Minor logging improvements
2020-02-10 10:42:42 -07:00
669282ae69
Bump jsonrpc-http-server from 14.0.5 to 14.0.6 ( #8161 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-http-server-v14.0.5...ipc-14.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-10 10:30:32 -07:00
485806c488
Just define BnakSlotDelta type alias ( #8186 )
...
automerge
2020-02-10 03:11:37 -08:00
1412ee1ca6
add step "apt-get update", add package "libudev-dev" ( #8180 )
...
automerge
2020-02-08 14:45:07 -08:00
ef5fb6fa46
Check for AVX512 at runtime to avoid invalid opcode trap ( #8166 )
...
automerge
2020-02-07 15:01:45 -08:00
99432833d2
Remove reed-solomon-erasure from core/
2020-02-07 15:37:57 -07:00
fa00803fbf
Filter old CrdsValues received via Pull Responses in Gossip ( #8150 )
...
* Add CrdsValue timeout checks on Pull Responses
* Allow older values to enter Crds as long as a ContactInfo exists
* Allow staked contact infos to be inserted into crds if they haven't expired
* Try and handle oveflows
* Fix test
* Some comments
* Fix compile
* fix test deadlock
* Add a test for processing timed out values received via pull response
2020-02-07 12:38:24 -08:00
04ef977509
Remove unwanted println
2020-02-07 12:59:00 -07:00
87c6508305
CLI: Implement transfer command ( #8108 )
...
* CLI: Add transfer subcommand
* Add tests
* checks
2020-02-07 12:16:35 -07:00
ed0c1d3b52
Ledger hardware wallet integration ( #8068 )
...
* Initial remote wallet module
* Add clap derivation tooling
* Add remote-wallet path apis
* Implement remote-wallet in solana-keygen
* Implement remote-wallet in cli for read-only pubkey usage
* Linux: Use udev backend; add udev rules tool
* Ignore Ledger live test
* Cli api adjustments
2020-02-07 11:26:56 -07:00
8b5598fabd
Surface shred version more in tools ( #8163 )
...
automerge
2020-02-07 08:57:54 -08:00
5b070ad014
CLI: Support offline fee payers ( #8009 )
...
* CLI: Support offline fee-payer
* Add some knobs to test genesis/validator helpers
* Add tests
2020-02-07 09:14:26 -07:00
6246405afd
Bump memmap from 0.6.2 to 0.7.0 ( #8157 )
...
Bumps [memmap](https://github.com/danburkert/memmap-rs ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/danburkert/memmap-rs/releases )
- [Commits](https://github.com/danburkert/memmap-rs/compare/0.6.2...0.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-07 06:51:31 -07:00
27c8ba6afc
De-replicode Tower constructors ( #8153 )
...
automerge
2020-02-06 18:24:10 -08:00
b832a03315
Add libudev-dev to docker image to build remote-wallet ( #8149 )
...
automerge
2020-02-06 13:45:05 -08:00
09686290bc
Grant custodian access to all locked up accounts ( #8139 )
2020-02-06 14:31:27 -07:00
4aaa7b30ca
Update README.md
2020-02-06 13:19:30 -07:00
fe590da3b6
Revert "Factor repair from gossip ( #8044 )" ( #8143 )
...
This reverts commit e61257695f
.
2020-02-06 11:44:20 -08:00
a7fa92b372
feat: implementation of live-slots command ( #8129 )
2020-02-06 14:16:30 -05:00
a25e57c397
Ignore flaky test_exchange_local_cluster ( #8146 )
...
automerge
2020-02-06 10:44:17 -08:00
eed676113e
Bump indexmap from 1.3.1 to 1.3.2 ( #8144 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-06 11:16:49 -07:00
b57f24f1bc
Bump tokio-codec from 0.1.1 to 0.1.2 ( #8126 )
...
Bumps [tokio-codec](https://github.com/tokio-rs/tokio ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-codec-0.1.1...0.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-06 11:16:29 -07:00
0e084358b4
Fix slot_hashes documentation
2020-02-06 10:06:16 -07:00
f016c9a669
Maintenance : simplify a few patterns, remove unneeded dependencies ( #8137 )
...
* Simplify a few pattern matches
* Removing unneeded dependencies, upgrading internal version #s
net-shaper: Removing log, semver, serde_derive
bench-tps: Removing serde, serde_derive
banking-bench: Removing solana
ledger-tool: Removing bincode, serde, serde_derive
librapay: Removing solana, language_e2e_tests
log-analyzer: Removing log, semver, serde_derive
exchange: Removing solana
core: Removing crc, memmap, symlink, untrusted
perf: Removing serde_derive
genesis: Removing hex, serde_derive
sdk-c: Removing sha2
sys-tuner: Removing semver
bench-exchange: Removing bincode, bs58, env_logger, serde, serde_derive, untrusted, ws
btc_spv_bin: Removing serde_json
btc_spv: Removing chrono
bpf_loader: Removing serde
ledger: Removing dlopen, dlopen_derive, serde_derive
move_loader: Removing byteorder, libc, language_e2e_tests
ownable: Removing serde, serde_derive
client: Removing rand
archiver-utils: Removing rand_chacha
validator: Removing serde_json, tempfile
param_passing_dep: Removing solana
failure: Removing log
vest: Removing log
vote-signer: Removing bs58, serde
local-cluster: Removing symlink
keygen: Removing rpassword
install: Removing bs58, log
upload-perf: Removing log
runtime: Removing serde_json
stake: Removing rand
* Add modified Cargo.lock
* fixup! Simplify a few pattern matches
* fixup! Simplify a few pattern matches
2020-02-06 10:02:38 -07:00
59ba1df910
Bump tokio-fs from 0.1.6 to 0.1.7 ( #8124 )
...
Bumps [tokio-fs](https://github.com/tokio-rs/tokio ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.7/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-fs-0.1.6...tokio-0.1.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-05 16:27:32 -07:00
71a2c90f21
Bump tokio-io from 0.1.12 to 0.1.13 ( #8125 )
...
Bumps [tokio-io](https://github.com/tokio-rs/tokio ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.12...tokio-0.1.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-05 14:02:33 -07:00
8436457e75
Rename program_utils.rs ( #8127 )
2020-02-05 12:48:30 -08:00
3ac0192d40
Better surface bank hash verification failures
2020-02-05 11:39:47 -07:00
3db159f616
CLI cosmetic: make config get and verbose prints consistent ( #8119 )
...
* CLI cosmetic: make config get and verbose prints consistent
* Make print format consistent across cli
2020-02-05 11:14:44 -07:00
e21f5c784e
Add next_account_info() ( #8120 )
2020-02-04 17:04:26 -08:00
65c24db83c
Bump serde_json from 1.0.44 to 1.0.46 ( #8087 )
...
* Bump serde_json from 1.0.44 to 1.0.46
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.44...v1.0.46 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update Move's serde_json to v1.0.46
Co-authored-by: Jack May <jack@solana.com >
2020-02-04 16:59:23 -08:00
ed5101b031
Generate max coding shreds when necessary ( #8099 )
...
* Generate max coding shreds when necessary
* test
2020-02-04 15:45:01 -08:00
1420628b28
Bump nix from 0.16.1 to 0.17.0 ( #8112 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits/v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-04 15:59:34 -07:00
15ab966ed1
Move native program entrypoint out of instruction_processor_utils ( #8122 )
2020-02-04 14:54:49 -08:00
b5a735878a
Sysvar account_into return program error rather than option ( #8121 )
2020-02-04 14:54:41 -08:00
b6d09f1901
Add BPF program entrypoint return type ( #8111 )
2020-02-04 12:25:42 -08:00
78f6ddc5b7
Fix spelling of verification in accounts_db ( #8117 )
...
automerge
2020-02-04 11:45:47 -08:00
4e595e8e3c
Facilitate printing program errors from BPF programs ( #8109 )
2020-02-04 09:03:45 -08:00
79249360f7
CLI: Expose sign-only reply parsing helper ( #8107 )
...
automerge
2020-02-03 18:22:36 -08:00
336d5136bf
Print more program error info to user when using CLI ( #8098 )
2020-02-03 17:14:53 -08:00
0c8cee8c4a
Refactor select_fork() to avoid clones and for clarity ( #8081 )
...
* Refactor select_fork() to avoid clones and for clarity
* Add test that fork weights are increasing
2020-02-03 16:48:24 -08:00
4c0420b884
Delete uptime command, report total credits in solana validators
instead
2020-02-03 16:55:33 -07:00
0d7e093415
Broaden pattern in nits.sh to be less fragile ( #8090 )
...
* Broaden pattern in nits.sh to be less fragile
* Even more general matching
2020-02-04 08:53:01 +09:00
c835749563
Bump sys-info from 0.5.8 to 0.5.9 ( #8089 )
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-03 14:49:39 -07:00
0172d2a065
Fix consensus threshold when new root is created ( #8093 )
...
When a new root is created, the oldest slot is popped off
but when the logic checks for identical slots, it assumes
that any difference means a slot was popped off the front.
2020-02-03 13:44:34 -08:00
927f272f0e
Update book release version
2020-02-03 11:35:51 -07:00
5e2891ae5d
e
2020-02-03 11:34:00 -07:00
4f85481a2b
Add split-stake command
2020-02-03 11:14:08 -07:00
d314e0395a
Disable windows update as windows build artifacts are turned off
2020-02-01 22:25:24 -07:00
69a6d07371
Reduce rpc client pre-flight requests by setting max-age header ( #8082 )
...
automerge
2020-02-01 04:10:26 -08:00
fab8ef379f
Use solana-cli config keypair in solana-keygen ( #8074 )
...
* Use solana-cli config keypair in solana-keygen
* s/infile/keypair for consistency across modules and more generality across access methods
* Move config into separate crate
2020-01-31 19:27:37 -07:00
408ef8b2cb
Cleanup staking doc ( #8064 )
2020-01-31 19:24:51 -07:00
a2a2f1c2d2
Add new colo test cases using reduced node count ( #8078 )
...
automerge
2020-01-31 18:02:48 -08:00
dc2888c9a3
CLI: De-replicode SigningAuthority instatiation ( #8076 )
...
automerge
2020-01-31 16:30:37 -08:00
9739be9ecf
CLI: Fix stake-account auth withdrawer output ( #8071 )
...
automerge
2020-01-31 14:25:05 -08:00
e61257695f
Factor repair from gossip ( #8044 )
2020-01-31 14:23:50 -08:00
b9988b62e4
Filter repairman peers based on shred_version ( #8069 )
2020-01-31 14:00:19 -08:00
d6b3961530
s/mint/faucet
2020-01-31 12:14:53 -07:00
6d0be323ad
Update key ( #8062 )
...
automerge
2020-01-31 11:11:22 -08:00
09256adbc3
Surface important error details
2020-01-31 12:09:41 -07:00
8e3a7da596
Rewrite new() in terms of new_with_timeout()
2020-01-31 12:09:41 -07:00
7d96510d17
Fix stake-account subcommand name
2020-01-31 12:09:41 -07:00
0fd795a676
Remove program error footgun and cleaner developer experience ( #8042 )
2020-01-31 10:58:07 -08:00
eff876881b
Remove asteroids and pacman from QA/dev testnet availability ( #8050 )
...
automerge
2020-01-31 10:26:25 -08:00
9adf0d4ee0
Don't exit early if add. validators not found during gce.sh config
2020-01-31 08:34:10 -07:00
3bc9789e8d
Remove support for 0.22.3 snapshots
2020-01-30 23:34:15 -07:00
fd207b6907
Fix stale gossip entrypoint ( #8053 )
2020-01-30 21:51:11 -08:00
2226c1b75c
Add Rust BPF RefCell borrow helpers ( #8047 )
2020-01-30 20:40:27 -08:00
a0964bb2c2
Make tds slots-per-epoch configurable
2020-01-30 21:37:16 -07:00
b5383b8b54
Dial testnet down to a single node
2020-01-30 21:30:08 -07:00
39f86050a6
Bump cbindgen from 0.12.2 to 0.13.0
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.2...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-30 20:58:10 -07:00
a03d441e6f
Add rpc port sanity checks, fix tests
2020-01-30 20:57:58 -07:00
3900d09f6f
Employ rpc_port defaults
2020-01-30 20:57:58 -07:00
e218f4e56e
Clean up Validator::new()
2020-01-30 20:57:58 -07:00
81ba18eea6
Add --private-rpc flag
2020-01-30 20:57:58 -07:00
1671ece9df
Book: Prod the user to verify their new paper wallet ( #8048 )
2020-01-30 17:20:04 -07:00
775fa0c968
Minor --expected-shred fix, clean up shred-related gossip log messages ( #8041 )
...
automerge
2020-01-30 13:22:05 -08:00
dd276138c2
Add support for idiomatic error handling to BPF instruction processors ( #7968 )
2020-01-30 09:47:22 -08:00
0c55b37976
Add different shred test to test_tvu_peers_and_stakes
2020-01-30 10:30:32 -07:00
966d077431
CLI: Disallow blockhash/fee-calc lookups when offline ( #7981 )
...
* CLI: Add BlockhashSpec to tighten control over --blockhash
* Use BlockhashSpec
* Add a matches-free constructor
* More descriptive naming
2020-01-30 09:21:32 -07:00
400412d76c
Ignore slow archiver tests ( #8032 )
...
automerge
2020-01-30 08:17:36 -08:00
c7e77a2238
Bump indicatif from 0.13.0 to 0.14.0
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-30 08:58:00 -07:00
64c42e28dc
Add shred version filters to Crds Accessors ( #8027 )
...
* Add shred version filters to Crds Accessors
* Adopt entrypoint shred_version if one isn't provided
2020-01-30 00:15:37 -08:00
c2baf7b07d
Bump thiserror from 1.0.9 to 1.0.10
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.9...1.0.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-29 23:23:24 -07:00
a52a9afa3c
Bump console from 0.9.1 to 0.9.2
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.1...0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-29 23:22:44 -07:00
669502ede7
Don't depend on user modifiable data to parse paramter buffer ( #8022 )
2020-01-29 21:49:42 -08:00
b19f730527
Seperate RefCells lamports and data ( #8021 )
2020-01-29 21:15:04 -08:00
d5ff5f4739
Update solana_rbpf v0.1.20 ( #8023 )
2020-01-29 21:14:49 -08:00
1c82f84595
Add leader-schedule subcommand
2020-01-29 20:08:42 -07:00
bea9cd9684
Add --expected-shred-version option
2020-01-29 20:08:42 -07:00
1bc9a9c23b
Wait for supermajority by default, add --no-wait-for-supermajority flag to override
2020-01-29 20:08:42 -07:00
c4faccc77f
getClusterNodes now excludes validators with a different shred version
2020-01-29 20:08:42 -07:00
e6803daf10
Remove support for stake redelegation ( #7995 )
...
* Remove support for stake redelegation
* fixup
2020-01-29 17:59:14 -08:00
effe6e3ff3
Log solana-validator args on startup to aid debugging
2020-01-29 08:27:52 -07:00
0d6c233747
Add set_lockup to stake ( #7997 )
2020-01-28 20:59:53 -08:00
015e696077
Solana keygen grind improvements ( #8008 )
...
automerge
2020-01-28 20:19:19 -08:00
7faab2072c
Cleanup BPF use syntax ( #8001 )
2020-01-28 17:03:37 -08:00
83718a3b3e
Cleanup runtime use syntax ( #8002 )
2020-01-28 17:03:20 -08:00
4a074133f7
CLI: Fix tests. sign_only requires a blockhash ( #8005 )
...
This is enforced by argument parsing and will be better enforced wholly
with #7981
2020-01-28 18:02:20 -07:00
12eff5a2f9
Cleanup SDK use syntax ( #8004 )
2020-01-28 16:11:22 -08:00
4197cce8c9
Tower tests ( #7974 )
...
* Add testing framework for voting
2020-01-28 16:02:28 -08:00
fed3817ed3
Update and fix transaction error documentation ( #7998 )
2020-01-28 15:59:50 -08:00
4ffd7693d6
Add lock to make sure slot-based locktree calls are safe ( #7993 )
2020-01-28 13:45:41 -08:00
1596c961d9
Rust BPF program cleanup ( #7990 )
2020-01-27 18:27:44 -08:00
fd7d5cbe0d
Fix compute_shred_version() ( #7989 )
...
automerge
2020-01-27 17:05:31 -08:00
7058287273
Consensus fix, don't consider threshold check if.. ( #7948 )
...
* Consensus fix, don't consider threshold check if
lockouts are not increased
* Change partition tests to wait for epoch with > lockout slots
* Use atomic bool to signal partition
2020-01-27 16:49:25 -08:00
912aafcefd
Reduce epoch duration from 2 weeks to 2 days
2020-01-27 10:34:55 -07:00
2f34f433b3
Specify where VM images are coming from across GCE projects ( #7985 )
...
automerge
2020-01-27 08:17:21 -08:00
1ff4dd9a9a
Remove show- prefix
2020-01-26 21:00:57 -07:00
fdcaad96c7
Remove stray key
2020-01-26 14:35:33 -07:00
14a72b0fc0
CLI: --sign-only and --signer require --blockhash ( #7982 )
2020-01-26 10:06:21 -07:00
c13ab9f14e
CLI: Consolidate offline arg declarations ( #7979 )
...
automerge
2020-01-26 00:27:24 -08:00
cff1bc6e71
s/dervied/derived/
2020-01-25 23:22:28 -07:00
bb6c4efe9b
CLI: Deterministic dummy keypair generation for SigningAuthority::Offline ( #7971 )
...
* CLI: Deterministic dummy keypair generation for SigningAuthority::Offline
* Add test
2020-01-25 22:14:07 -07:00
c324e71768
Bump cargo toml versions to 0.24.0 ( #7976 )
2020-01-25 11:04:27 -06:00
e2570c98ee
CLI: Add authority to show-nonce-account output ( #7969 )
2020-01-25 07:21:23 -07:00
b5125479ec
Bump perf libs to v0.18.0 for CUDA 10.2 support
2020-01-24 21:39:49 -07:00
989355e885
Add ability to hard fork at any slot ( #7801 )
...
automerge
2020-01-24 17:27:04 -08:00
a2f2c46f87
Ensure shred version is never 0
2020-01-24 17:41:20 -07:00
605623baf5
Report last tower distance and add partition testcase ( #7929 )
...
automerge
2020-01-24 16:37:19 -08:00
fdc452c536
Move testnet.solana.com and TdS to their own GCP projects
2020-01-24 16:26:54 -07:00
1b391dd36b
Add account accessor functions ( #7966 )
2020-01-24 14:34:59 -08:00
917067741a
Cleanup BPF SDK ( #7965 )
2020-01-24 13:41:14 -08:00
34ed93d57c
Optimize account copies and use RefCell to handle duplicate accounts in BPF programs ( #7958 )
2020-01-24 10:54:26 -08:00
d400a64b9a
Update tiny_bip39 ( #7959 )
...
automerge
2020-01-24 08:59:07 -08:00
2c7447b73e
Secure sysvars under hash by freezing all strictly ( #7892 )
...
* Secure sysvars under hash by freezing all strictly
* Fix hash's non-idempotnet and add new test
* Clean up
* More cleanups
2020-01-24 16:10:32 +09:00
c0f0fa24f8
Increase --wait-for-supermajority to wait for 75% online stake
2020-01-23 22:41:46 -07:00
bda5f949bb
Add create-snapshot command
2020-01-23 22:21:27 -07:00
992e985972
Add column for slot range of epoch to epoch-info ( #7954 )
...
automerge
2020-01-23 20:44:37 -08:00
afaa359b0d
Reorg the book ( #7952 )
...
* Move application-oriented docs
* Reorg the book
* Fix build
* Apply review feedback
* verb-noun
2020-01-23 21:21:43 -07:00
3c17db41dc
Add note to book about drone throughput limitations ( #7953 )
...
automerge
2020-01-23 18:50:25 -08:00
d62ed4f6b3
Add BlockstoreProcessorResult
2020-01-23 16:52:47 -07:00
79f3194d0c
Fix cli call to stakes ( #7946 )
...
automerge
2020-01-23 14:25:40 -08:00
b045f9a50d
codemod --extensions rs get_snapshot_tar_path get_snapshot_archive_path
2020-01-23 13:37:13 -07:00
ce231602dc
Move snapshot archive generation out of the SnapshotPackagerService
2020-01-23 13:37:13 -07:00
6f5e0cd161
Type grooming
2020-01-23 13:37:13 -07:00
1269a79a4d
Unify ledger_path arg handling with validator/
2020-01-23 13:37:13 -07:00
1b3424ff61
Pass bank_forks by reference
2020-01-23 13:37:13 -07:00
8b8033c72b
Set BankRc slot correctly when restoring a bank snapshot
2020-01-23 13:37:13 -07:00
7ca0109732
--halt-at-slot 1 now halts at slot 1
2020-01-23 13:37:13 -07:00
6b5172d002
add_snapshot now returns SlotSnapshotPaths
2020-01-23 13:37:13 -07:00
9e19a635bb
Remove superfluous accounts arg
2020-01-23 13:37:13 -07:00
15193d0e1f
Ensure all GCE nightly tests use dedicated instances ( #7944 )
...
automerge
2020-01-23 10:17:12 -08:00
f1c5c72e62
Fix transaction.md anchor links ( #7943 )
...
* Lowercase links
* Fix misspelled anchor link
2020-01-23 10:05:42 -07:00
25dfed207c
Remove dead code ( #7940 )
...
automerge
2020-01-23 00:38:46 -08:00
006cbee88a
Uninteresting cleanup
2020-01-22 21:24:20 -07:00
c95e5346a4
Boot the mut ( #7926 )
2020-01-22 17:54:06 -08:00
e54bf563b5
Avoid unsorted recent_blockhashes for determinism ( #7918 )
...
* Avoid unsorted recent_blockhashes for determinism
* Add a test: test_create_account_unsorted
2020-01-23 10:51:22 +09:00
8f79327190
Test account doesn't need RefCell ( #7932 )
...
automerge
2020-01-22 17:06:11 -08:00
a197ac092a
New Anatomy of a Transaction ( #7930 )
...
automerge
2020-01-22 16:58:46 -08:00
1e2b55c0d7
Remove RedeemVoteCredits ( #7916 )
...
* Move redeem_vote_credits into runtime
* Move redeem_vote_credits into runtime
* Remove RedeemVoteCredits
* chugga for less indentation
* resurrect NoCreditsToRedeem
* fixup
2020-01-22 16:53:42 -08:00
964ff522be
Verb-noun-ify Nonce API ( #7925 )
...
* Verb-noun-ify Nonce API
* Unify instruction naming with API naming
The more verbose nonce_account/NonceAccount was chosen for clarity
that these instructions work on a unique species of system account
2020-01-22 16:31:39 -07:00
934c32cbc6
Add mechanism to load v0.22.3 snapshots on newer Solana versions
2020-01-22 15:40:32 -07:00
9bd6be779f
Reject CI on failed mergify.io backports ( #7927 )
...
automerge
2020-01-22 14:10:26 -08:00
ce70d6eedc
Add redeem_vote_credits to runtime ( #7910 )
...
* Move redeem_vote_credits into runtime
* fixup
* test
* move stake manipulation to stake program
* chugga for less indentation
2020-01-22 12:21:31 -08:00
3a0d13aa77
CLI: Cleanup authority arg usage inconsistencies ( #7922 )
...
automerge
2020-01-22 11:19:07 -08:00
f9323c5273
don't put accounts in a weird location, use the defaults ( #7921 )
...
automerge
2020-01-22 10:57:37 -08:00
7587656cf6
Implement automated partition testing ( #7222 )
2020-01-22 13:46:50 -05:00
023074650f
Allow the same account to be passed multiple times to a single instruction ( #7795 )
2020-01-22 09:11:56 -08:00
d854e90c23
CLI: Support offline authorities ( #7905 )
2020-01-22 10:10:22 -07:00
3aabeb2b81
Rename bootstrap leader ( #7906 )
...
* Rename bootstrap leader to bootstrap validator
It's a normal validator as soon as other validators enter the
leader schedule.
* cargo fmt
* Fix build
Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
65f5885bce
sendTransaction rpc: expect transaction as base58 string ( #7913 )
2020-01-21 22:16:07 -07:00
7a132eabb4
Update JSON-RPC documentation ( #7915 )
...
* Streamline getBlockCommitment response
* Update json-rpc docs
2020-01-21 20:17:33 -07:00
7e1b380f01
Move vote_state current credits into epoch_credits ( #7909 )
...
* Move vote_state current credits into epoch_credits
* fixups
* fixup
2020-01-21 19:08:40 -08:00
1a2d9b8eed
Bump csv from 1.1.2 to 1.1.3 ( #7893 )
...
Bumps [csv](https://github.com/BurntSushi/rust-csv ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases )
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.2...1.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-21 19:49:19 -07:00
6eefa0b72d
Integrate transaction chapter into programming model chapter ( #7911 )
...
automerge
2020-01-21 16:44:05 -08:00
44372db955
Move Blockstreamer doc into getting started doc
2020-01-21 17:15:29 -07:00
e24cce4aed
Hoist blockstore chapter ( #7908 )
...
automerge
2020-01-21 16:01:26 -08:00
a8595c0418
Give chapters more precise titles ( #7907 )
...
automerge
2020-01-21 15:36:40 -08:00
340424e03a
Use minimumLedgerSlot RPC API in block-production command
2020-01-21 14:05:26 -07:00
93036bec01
Add minimumLedgerSlot RPC API
2020-01-21 14:05:26 -07:00
663e98969d
Use a different error to test rpc response ( #7900 )
...
automerge
2020-01-21 12:42:23 -08:00
37d1daf58e
Revert "Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block ( #7474 )" ( #7898 )
...
automerge
2020-01-21 11:48:09 -08:00
1a18f0ca55
Add rust duplicate account test program ( #7897 )
...
automerge
2020-01-21 10:59:19 -08:00
bb950ec93e
Naming nits ( #7896 )
...
automerge
2020-01-21 10:38:46 -08:00
39ab3557a3
Delete "testnet participation" redirect ( #7895 )
...
automerge
2020-01-21 09:35:59 -08:00
dcdc46b97c
Assume 1 or more validators
2020-01-21 10:34:58 -07:00
da3ed0dfb3
Try running testnet.solana.com with only two validators
2020-01-21 10:34:53 -07:00
e391b9fb90
Delete duplicate book content ( #7894 )
...
automerge
2020-01-21 09:17:20 -08:00
e346cdad26
Run ./book/build-cli-usage.sh
2020-01-21 08:58:29 -07:00
7e4c6ff218
solana set
=> solana config set
2020-01-21 08:53:44 -07:00
356f246a74
Remove get-/show- prefix from cli commands
2020-01-21 08:43:07 -07:00
80da552834
Bump rpassword from 4.0.4 to 4.0.5
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 23:30:18 -07:00
2dd8ab197d
Remove redundant threadpools in sigverify ( #7888 )
...
* Limit the number of thread pools sigverify creates
* Name local threadpools
2020-01-20 20:08:19 -08:00
1fe11e9ae2
chacha ignore farf ( #7882 )
2020-01-20 17:04:31 -08:00
21d5fe6272
Fix timestamp overflow ( #7886 )
...
* Split timestamp calculation into separate fn for math unit testing
* Add failing test
* Fix failing test; also bump stakes to near expected cluster max supply
* Don't error on timestamp of slot 0
2020-01-20 17:54:44 -07:00
52bc4a3598
nudge ( #7887 )
2020-01-20 15:27:36 -08:00
cccaacee36
Wait for stake distribution in automation ( #7883 )
...
automerge
2020-01-20 13:32:37 -08:00
ebf6e1c0e9
--limit-ledger-size now accepts an optional slot count value
2020-01-20 14:20:30 -07:00
5cf090c896
feat: implement RPC notification queue ( #7863 )
2020-01-20 16:08:29 -05:00
cc299053cc
Add support for stake::split() via create_account_with_seed() ( #7879 )
...
* Add split with seed
* move to new system_program APIs
* de-replicode
2020-01-20 12:33:27 -08:00
82b75796f9
Create ledger directory if it doesn't already exist
2020-01-20 10:11:43 -07:00
a560d94a9f
Bump humantime from 1.3.0 to 2.0.0
...
Bumps [humantime](https://github.com/tailhook/humantime ) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/tailhook/humantime/releases )
- [Commits](https://github.com/tailhook/humantime/compare/v1.3.0...v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 10:08:11 -07:00
0827d52c6f
Bump indexmap from 1.1.0 to 1.3.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.1.0 to 1.3.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.1.0...1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-20 10:07:48 -07:00
a8d33c9950
Spy just for RPC to avoid premature supermajority ( #7856 )
...
* Spy just for RPC to avoid premature supermajority
* Make gossip_content_info private
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Fix misindent...
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-01-20 10:50:31 +09:00
43c32ea280
Bump rpassword from 4.0.3 to 4.0.4
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/compare/v.4.0.3...v4.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-18 19:32:14 -07:00
30d40e9a32
If a bad RPC node is selected try another one instead of aborting
2020-01-18 11:00:08 -07:00
e28508ad56
Abort if a snapshot download fails for any reason other than 404
2020-01-18 08:59:53 -07:00
182e4cec86
Update backport labels
2020-01-17 21:38:39 -07:00
a32de96ab1
Add show-stakes subcommand
2020-01-17 14:14:01 -07:00
0de35fdd1f
CLI: Support offline and nonced stake subcommands ( #7831 )
...
* Support durable nonce for staker-authorize-*
* CLI: Factor out sign-only reply parsing to helper
* Support offline signing for staker-authorize-*
2020-01-17 10:30:56 -07:00
470d9cd752
Add system_instruction::{allocate, allocate_with_seed, assign_with_seed}, ( #7847 )
...
* cleanup test checks cargo audit
* Add system_instruction allocate
* fixup
* fixup
2020-01-17 09:29:15 -08:00
87598c7612
Consolidate tx error counters and update metrics dashboard ( #7724 )
...
automerge
2020-01-16 23:26:50 -08:00
57bf618627
Enable config program at soft launch epoch 0 ( #7854 )
...
automerge
2020-01-16 23:05:33 -08:00
c576a707b0
Increase token cap ( #7855 )
...
automerge
2020-01-16 23:02:05 -08:00
b78b1bbfa9
Improve bench-tps keypair generation ( #7723 )
...
* Improve bench-tps keypair generation
* Fix tests
* Fix move test
* cargo fmt
* Split up funding function into smaller functions
* Support restarting bench-tps without re-funding
* Change quick start logic and remove noisy log
2020-01-17 10:35:12 +08:00
e710964d05
Revamp the progress of current epoch in get-epoch-info ( #7838 )
...
* Revamp the progress of current epoch in get-epoch-info
* Incorporate suggested more concise labelling
2020-01-17 09:39:47 +09:00
2d00657756
Bump num_cpus from 1.11.1 to 1.12.0 ( #7845 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.11.1 to 1.12.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.11.1...v1.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-16 17:38:13 -07:00
0526d4ff21
Add logging surrounding failure in get_slot_entries_with_shred_info()
( #7846 )
...
* Add logging surrounding failure
2020-01-16 16:03:24 -08:00
76e20015a4
Add separate thread to check for and store duplicate slot proofs ( #7834 )
2020-01-16 15:27:54 -08:00
f5e797e3aa
cleanup test checks cargo audit ( #7849 )
...
automerge
2020-01-16 15:08:36 -08:00
787e36a28f
ignore prost is part of move ( #7848 )
2020-01-16 14:14:44 -08:00
8572b57834
Refactor chacha cuda to be able to test cuda crate but not in OpenCL ( #7685 )
...
* Refactor chacha cuda to be able to test cuda crate but not in OpenCL
chacha not implemeted in OpenCL
* Get off core::Error
2020-01-16 08:29:36 -08:00
ed0129f881
Don't depend on unused lazy_static
2020-01-16 08:43:13 -07:00
78836a9e22
Make run.sh not overwrite genesis if existing ( #7837 )
2020-01-16 14:34:36 +09:00
4c08184379
no check if no change ( #7824 )
2020-01-15 15:13:11 -08:00
da165d6943
Fix Rpc inconsistencies ( #7826 )
...
* Update rpc account format: remove byte arrays
* Base58-encode pubkeys in getStoragePubkeysForSlot
* Update docs
2020-01-15 15:33:53 -07:00
8ffccfbaff
CLI: Plumb stake authorities throughout ( #7822 )
...
automerge
2020-01-15 13:32:06 -08:00
a6d083d69d
Remove create_account bandaid now that to
's signature is required ( #7776 )
...
* Remove create account bandaid now that requires signature
* shrink scope of this PR to bandaid
2020-01-15 13:03:22 -08:00
91bae9d510
Don't use word 'securely' ( #7820 )
...
automerge
2020-01-15 11:30:11 -08:00
f0f185509f
Remove tuple from programNotification ( #7819 )
...
automerge
2020-01-15 10:52:02 -08:00
5947ef7706
Remove word pair from address generator seed string ( #7802 )
...
* Remove word pair from address generator seed string
2020-01-15 13:50:37 -05:00
4f663a2a86
Add new genesis validators ( #7814 )
...
automerge
2020-01-15 09:26:49 -08:00
1d01777a13
Prefer CUDA_HOME environment variable
2020-01-15 09:03:52 -07:00
6d3b8b6d7d
Remove tuples from JSON RPC responses ( #7806 )
...
* Remove RpcConfirmedBlock tuple
* Remove getRecentBlockhash tuple
* Remove getProgramAccounts tuple
* Remove tuple from get_signature_confirmation_status
* Collect Rpc response types
* Camel-case epoch schedule for rpc response
* Remove getBlockCommitment tuple
* Remove getStorageTurn tuple
* Update json-rpc docs
2020-01-15 00:25:45 -07:00
50c1c08235
Set bootstrap leader and net/ validator vote account commission to 100%
2020-01-15 00:25:26 -07:00
b16c30b4c6
Fix cluster collapse due to no proper shifted read ( #7797 )
...
* Fix cluster collapse due to no proper shifted read
* Add test for bank hash mismatch
Co-authored-by: sakridge <sakridge@gmail.com >
2020-01-15 11:45:19 +09:00
ff1ca1e0d3
Consolidate entry tick verification into one function ( #7740 )
...
* Consolidate entry tick verification into one function
* Mark bad slots as dead in blocktree processor
* more feedback
* Add bank.is_complete
* feedback
2020-01-15 09:15:26 +08:00
721c4378c1
Plumb ability to handle duplicate shreds into shred insertion functions ( #7784 )
2020-01-14 15:37:53 -08:00
5f4e0c7e3e
Naming nits ( #7798 )
...
automerge
2020-01-14 13:38:17 -08:00
e6af4511a8
Include shred version in gossip
2020-01-14 14:32:40 -07:00
965ad778dd
Improve KeypairFileNotFound error message ( #7792 )
...
automerge
2020-01-14 12:19:08 -08:00
3b78be83cf
Add hash stats information to check hashes between validators ( #7780 )
...
automerge
2020-01-14 11:57:29 -08:00
564cd4e09d
Book: Drop since-fixed nonce known issue ( #7789 )
...
automerge
2020-01-14 10:13:09 -08:00
699ca5fec1
Unignore advisories as affected ver. is corrected ( #7730 )
...
For details see upstream PR: https://github.com/RustSec/advisory-db/pull/221
2020-01-14 11:16:32 +09:00
f91ffbbfdf
Add support in BlockStore for tracking duplicate slots ( #7761 )
...
* Add test
* Add new column family to track duplicate slots
* Fix clippy errors
* Introduce new SlotColumn for common implementation of Column trait
2020-01-13 17:21:39 -08:00
156292e408
Reduce grace ticks, and ignore grace ticks for missing leaders ( #7764 )
...
* Reduce grace ticks, and ignore grace ticks for missing leaders
* address review comments
* blockstore related renames
2020-01-14 05:25:41 +05:30
81ae44f858
Nonce: Rename instructions with VerbNoun scheme ( #7775 )
...
automerge
2020-01-13 15:34:43 -08:00
c948814eae
Update getConfirmedBlock examples ( #7772 )
2020-01-13 15:05:27 -07:00
b5dba77056
Rename blocktree to blockstore ( #7757 )
...
automerge
2020-01-13 13:13:52 -08:00
ef06d165b4
Book: Update durable nonce proposal entry ( #7694 )
...
automerge
2020-01-13 13:12:09 -08:00
5cb23c814d
Install move-loader binaries ( #7768 )
2020-01-13 12:53:53 -08:00
8f7ded33e0
coalesce data and coding index ( #7765 )
2020-01-13 12:03:19 -08:00
a17d5795fb
getConfirmedBlock: add encoding optional parameter ( #7756 )
...
automerge
2020-01-12 21:34:30 -08:00
ad4d41e602
Pick an RPC node at random to avoid getting stuck on a bad RPC node
2020-01-11 12:10:11 -07:00
9754fc789e
Manage durable nonce stored value in runtime ( #7684 )
...
* Bank: Return nonce pubkey/account from `check_tx_durable_nonce`
* Forward account with HashAgeKind::DurableNonce
* Add durable nonce helper for HashAgeKind
* Add nonce util for advancing stored nonce in runtime
* Advance nonce in runtime
* Store rolled back nonce account on TX InstructionError
* nonce: Add test for replayed InstErr fee theft
2020-01-10 16:57:31 -07:00
fd3c6eb320
Remove print in test ( #7758 )
...
automerge
2020-01-10 15:37:22 -08:00
b7b68ecdba
Add partition testing documentation ( #7739 )
2020-01-10 15:32:43 -08:00
08ba27627d
Direct entrypoint for execution ( #7746 )
2020-01-10 13:20:15 -08:00
27d2c0aaf3
Handle errors on replaying ledger properly ( #7741 )
2020-01-10 12:16:44 -08:00
b714a4be63
Fix call to BPF build script ( #7754 )
...
automerge
2020-01-10 10:28:55 -08:00
2356b25c58
Book: Update SPV section to reflect new account state query mechanism ( #5399 )
...
* Book: Update SPV section to reflect new account state query mechanism
* Book: SPV - Rename Bank-Merkle diagram
* Relax specificity of inclusion proof resolution
* Cosmetic: re-wrap at 80
2020-01-10 10:48:29 -07:00
05cad05505
Update validator proposal ( #7752 )
...
* Use 80-char lines
* Remove the part that was implemented in Gulf Stream
2020-01-10 10:15:49 -07:00
1e3082fbc0
Bump tiny-bip39 from 0.6.2 to 0.7.0 ( #7750 )
...
Bumps [tiny-bip39](https://github.com/maciejhirsz/tiny-bip39 ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/maciejhirsz/tiny-bip39/releases )
- [Changelog](https://github.com/maciejhirsz/tiny-bip39/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maciejhirsz/tiny-bip39/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:19:28 -07:00
80d2573b10
Bump cbindgen from 0.12.1 to 0.12.2 ( #7749 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:19:01 -07:00
6adcdc41f4
Bump num-traits from 0.2.10 to 0.2.11 ( #7737 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.10 to 0.2.11.
- [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.10...num-traits-0.2.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-10 09:18:39 -07:00
2d08dddfc8
nit, cleanup uses ( #7747 )
...
automerge
2020-01-09 23:58:13 -08:00
6da8f49d8b
nit, clearer error message ( #7748 )
...
automerge
2020-01-09 23:53:47 -08:00
bcd072c5e8
Clarify account creation error messages in CLI ( #7719 )
...
* Clarify account creation error messages in CLI
* feedback
* Fix rebase
2020-01-10 12:25:07 +08:00
e90a31781c
Update http crate in bpf program to fix security vulnerability ( #7735 )
2020-01-10 10:21:20 +08:00
2e89ec9105
Don't keep generating transactions in non-sustained bench-tps mode ( #7577 )
2020-01-09 17:48:18 -08:00
865c42465a
Cap file size for snapshot data files ( #7182 )
...
* save limit deserialize
* save
* Save
* Clean up
* rustfmt
* rustfmt
* Just comment out to please CI
* Fix ci...
* Move code
* Rustfmt
* Crean up control flow
* Add another comment
* Introduce predetermined constant limit on snapshot data files (deserialize side)
* Introduce predetermined constant limit on snapshot data files (serialize side)
* rustfmt
* Tweak message
* Revert dynamic memory limit
* Limit size of snapshot data file (de)serialization
* Fix test breakage
* Clean up
* Fix uses formatting
* Rename: deserialize_{for,from}_snapshot
* Simplify comment
* Use Slot
* Provide slot for status cache
* Align variable name with snapshot_status_cache_file_path
* Define serialize_snapshot_data_file_with_metrics
* Fix build.......
* De-marco serialize_snapshot_data_file_with_metrics
* Revert u64 => Slot
2020-01-10 09:49:36 +09:00
73c93cc345
Print bank hash and hash inputs. ( #7733 )
2020-01-09 16:33:10 -08:00
cf32fdf672
Bump reqwest from 0.10.0 to 0.10.1 ( #7731 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.10.0 to 0.10.1.
- [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.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 17:10:55 -07:00
c33b54794c
Propose Solana ABI management ( #7524 )
...
* Propose Solana ABI management
* Mention fuzz testing
* Address minor review comments
* Remove versioning and unit tests
* Rename
* Clean up a bit
* Pass through Grammarly
* Yet more tweaks...
2020-01-10 08:24:08 +09:00
6775e83420
Add create with seed to cli ( #7713 )
...
* Add create with seed to cli
* nonce and vote, too
2020-01-09 15:22:48 -08:00
719785a8d3
Update http crate to fix security vulnerability ( #7725 )
...
* Update http to fix security vulnerability
* Ignore RUSTSEC because they incorrectly says http 0.1.21 is vulnerable
2020-01-10 04:43:02 +09:00
287995ffdf
Correctly integrate buildkite with codecov ( #7718 )
...
* Correctly integrate buildkite with codecov
* Fix shellcheck...
* Really detect Buildkite
2020-01-10 03:39:33 +09:00
0e506a53b5
Bump url from 2.1.0 to 2.1.1 ( #7720 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 08:44:47 -07:00
70e1a15973
Remove vote account from genesis validators
2020-01-08 22:47:56 -07:00
09cff5e4cc
Cleanup usage of feature "program" ( #7712 )
2020-01-08 13:49:35 -08:00
57858b8015
Bump reqwest from 0.9.24 to 0.10.0 ( #7642 )
...
* Bump reqwest from 0.9.24 to 0.10.0
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.24 to 0.10.0.
- [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-preview[bot] <support@dependabot.com >
* Make reqwest::blocking specific
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-01-08 13:31:43 -07:00
07855e3125
Allow override of RUST_LOG ( #7705 )
2020-01-08 09:19:12 -08:00
2f5f8e7afd
Pass RUST_LOG through on testnet creation ( #7707 )
2020-01-07 21:46:28 -08:00
43897de12e
Account for stake held by the current node while waiting for the supermajority to join gossip
2020-01-07 22:29:31 -07:00
4b577aa77b
Bump cc from 1.0.48 to 1.0.49 ( #7690 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.48...1.0.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-07 22:13:17 -07:00
85c3d64f29
Fix rooted slot iterator ( #7695 )
...
* Enable jumping gaps caused by snapshots in rooted slot iterator
2020-01-07 22:51:28 -05:00
47dd293904
supermajority is one word
2020-01-07 15:50:59 -07:00
c4220a4853
clippy
2020-01-07 15:50:59 -07:00
48ab88a2af
Add --wait-for-super-majority to facilitate asynchronous cluster restarts
2020-01-07 15:50:59 -07:00
d9cf9709d2
Bump csv from 1.1.1 to 1.1.2 ( #7698 )
...
Bumps [csv](https://github.com/BurntSushi/rust-csv ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases )
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.1...1.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-07 14:38:02 -07:00
9720c894f1
Use commas to make a log message more readable
2020-01-06 22:31:01 -07:00
8dad3af36d
Update Lockup comments ( #7692 )
2020-01-06 19:52:20 -08:00
e5425d4a27
Fix AppendVec test breakage... ( #7693 )
2020-01-07 09:21:59 +09:00
58e6d4aabb
Sanitize AppendVec's file_size ( #7373 )
...
* Check append vec file size
* Don't use panic
* Clean up a bit
* Clean up
* Clean ups
* Change assertion into sanization check
* Remove...
* Clean up
* More clean up
* More clean up
* Use assert_matches
2020-01-07 08:14:56 +09:00
9ce142606c
Update getBlockTime rpc docs ( #7688 )
2020-01-06 00:00:20 -07:00
e75a64a8a2
getBlockTime: Fix RootedSlotIterator lowest root ( #7681 )
...
* Determine lowest_nonzero_root for purged blocktrees, and clean up slot offset math
* Filter duplicate timestamp votes
* Refactor deduping code
2020-01-05 23:38:27 -07:00
bc71e1b612
Bump sha2 from 0.8.0 to 0.8.1
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-05 22:33:02 -07:00
580ca36a62
Cli: fund validator-info accounts with rent-exempt lamports
2020-01-04 22:59:12 -07:00
447fe48d2a
Revert "Add a stand-alone gossip node on the blocksteamer instance"
...
This reverts commit a217920561
.
This commit is causing trouble when the TdS cluster is reset and
validators running an older genesis config are still present.
Occasionally an RPC URL from an older validator will be selected,
causing a new node to fail to boot.
2020-01-04 16:42:12 -07:00
e8a6c8cd6d
Don't panic if peer_addr() fails ( #7678 )
...
automerge
2020-01-04 10:00:22 -08:00
a8fd42c1df
Set default vote account commission to 100%
2020-01-04 10:04:31 -07:00
e782c26908
Prune older epoch stakes
2020-01-04 09:34:27 -07:00
cd65a1e172
Run local cluster tests serially for easier debug
2020-01-04 09:34:27 -07:00
6e51c5685e
Minor book fixes
2020-01-04 08:53:20 -07:00
84a37a2c0c
Make validator timestamping more coincident, and increase timestamp sample range ( #7673 )
...
automerge
2020-01-03 22:38:00 -08:00
7e94cc2cc3
Move nonce into system program ( #7645 )
...
automerge
2020-01-03 16:34:58 -08:00
7002ccb866
Log root slots while processing ledger
2020-01-03 13:25:37 -07:00
4fe0b116ae
Measure heap usage while processing the ledger
2020-01-03 13:25:37 -07:00
a0fb9de515
Move thread_mem_usage module into measure/
2020-01-03 13:25:37 -07:00
5d42dcc9ec
Reduce constants for ledger cleanup test ( #7629 )
2020-01-03 12:05:14 -08:00
96e88c90e8
Lessen test_slots_to_snapshot constants to make test faster ( #7628 )
...
Reduces test time from 6m to 45s
2020-01-03 09:58:52 -08:00
75d94240ed
account_info utilities ( #7666 )
2020-01-03 09:14:51 -08:00
6c544708e1
Add safety docs ( #7665 )
2020-01-03 09:14:28 -08:00
078e7246ac
Publish bpf-sdk only in Linux build
2020-01-02 23:20:59 -07:00
06cff1fb9f
Publish bpf-sdk releases ( #7655 )
2020-01-02 20:44:15 -08:00
2e8bbed75b
Revert "Remov dead code from TdS testnet manager config ( #7414 )"
...
This reverts commit 8920ac02f6
.
2020-01-02 21:07:40 -07:00
a707c9410e
More thiserror ( #7183 )
...
* Less solana_core::result. Module now private.
* Drop solana_core::result dependency from a few more modules
* Fix warning
* Cleanup
* Fix typo
2020-01-02 20:50:43 -07:00
a956bb08d8
Export bpf loader ser/de ( #7661 )
2020-01-02 18:18:56 -08:00
db52cc6749
CLI: Fix default nonce authority resolution ( #7657 )
...
automerge
2020-01-02 17:05:08 -08:00
73c6224a95
Book - Document nonceable CLI subcommands ( #7656 )
...
automerge
2020-01-02 16:30:26 -08:00
a217920561
Add a stand-alone gossip node on the blocksteamer instance
...
The blocksteamer instance is the TdS cluster entrypoint. Running an
additional solana-gossip node allows other participants to join a
cluster even if the validator node on the blocksteamer instance goes down.
2020-01-02 17:20:59 -07:00
48a36f59a6
Add get-rpc-url --any option
2020-01-02 17:20:59 -07:00
965b132664
Permit --gossip-host with --entrypoint
2020-01-02 17:20:59 -07:00
63f185f9bf
Delete unused type ( #7653 )
2020-01-02 13:15:31 -08:00
e97b0088f2
Make lockups block stake transfers via rekeying ( #7651 )
2020-01-01 11:03:29 -08:00
374c17a0d9
Book: Sync CLI API doc for show-block-production ( #7648 )
...
automerge
2019-12-31 09:26:45 -08:00
4b3bc587ab
Add input validation for --creation-time/--lockup-date args ( #7646 )
...
automerge
2019-12-30 21:57:47 -08:00
06c63f2026
Bump cbindgen from 0.12.0 to 0.12.1 ( #7637 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.12.0...v0.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-30 22:16:48 -07:00
6b7d9942a7
Add authorized_voter history ( #7643 )
...
* Add authorized_voter history
* fixups
* coverage
* bigger vote state
2019-12-30 19:57:53 -08:00
760a56964f
delete fixed_buf ( #7644 )
2019-12-30 16:45:43 -08:00
6ca575b5a3
Make sol-to-lamport const name more clear ( #7641 )
...
automerge
2019-12-30 11:28:41 -08:00
ce1d36cacb
Book: Document CLI durable nonce account management ( #7595 )
...
* Book: Document CLI durable nonce account management
* Fix rent link
* review
2019-12-30 13:13:56 -05:00
87b2525e03
Limit maximum number of shreds in a slot to 32K ( #7584 )
...
* Limit maximum number of shreds in a slot to 32K
* mark dead slot replay as fatal error
2019-12-30 07:42:09 -08:00
faa77aca2e
Update terminology.md
2019-12-29 21:35:06 -08:00
5d2158792c
Add inflation to book, cleanup dead links, include orphaned documents ( #7638 )
...
* Add inflation as implemented proposal
* grab another orphan and add orphan-proofing
2019-12-29 18:15:32 -08:00
e1ebaa902b
Add base pubkey to create_account_with_seed ( #7636 )
2019-12-29 16:42:24 -08:00
e0564f628e
Use lamports in genesis ( #7631 )
...
* Use lamports in genesis
* readability
2019-12-28 12:49:10 -08:00
44e45aa090
Support nonced transactions in the CLI ( #7624 )
...
* Support nonced transactions in the CLI
* Update nonce.rs
2019-12-27 14:35:49 -06:00
89f5f336af
Account for rent ( #7626 )
...
automerge
2019-12-24 18:01:21 -08:00
727be309b2
fix entryverification state ( #7169 )
...
automerge
2019-12-23 23:26:27 -08:00
ce2d7a2d5a
Bump nix from 0.16.0 to 0.16.1 ( #7623 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-23 23:06:42 -07:00
fad6c7201e
Remove old book location ( #7621 )
2019-12-23 22:56:42 -07:00
8f0e1f3349
Update gitbook-cage first
2019-12-23 18:18:30 -07:00
6f7d0c6928
Move cleanup to a script so it doesn't kill itself ( #7603 )
2019-12-23 14:31:57 -08:00
120c8f244c
Add slot_history for slashing ( #7589 )
...
* Add slot_history for slashing
* fixup
* fixup
2019-12-23 12:23:45 -08:00
352a367570
Specify version for solana-sdk-macro to enable crate.io publishing ( #7615 )
2019-12-23 12:10:43 -08:00
9f65d22909
Groom log messages ( #7610 )
2019-12-23 10:43:07 -07:00
141131f3a6
Stabilize fn coverage by creating a clean room ( #7576 )
...
* Stabilize fn coverage by pruning all updated files
* Pruning didn't work; Switch to clean room dir
* Oh, shellcheck...
* Remove the data_dir variable
* Comment about relationale for find + while read
2019-12-23 16:32:29 +09:00
488420fdf2
Bump core_affinity from 0.5.9 to 0.5.10 ( #7578 )
...
Bumps [core_affinity](https://github.com/Elzair/core_affinity_rs ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/Elzair/core_affinity_rs/releases )
- [Commits](https://github.com/Elzair/core_affinity_rs/compare/0.5.9...0.5.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-22 22:41:47 -07:00
10e6b8f769
Fix key in genesis ( #7585 )
2019-12-22 22:40:35 -07:00
419da18405
show-block-production: Rename "missed" to "skipped" as not all skipped slots are missed slots ( #7599 )
2019-12-22 22:39:47 -07:00
7329d4bf3a
Extend Stable CI job timeout to 60 minutes ( #7604 )
2019-12-22 20:14:07 -07:00
c8fe4043b6
Rename slot_hash => bank_hash in AcoountsDB ( #7579 )
...
* Rename slot_hash => bank_hash in AcoountsDB
2019-12-23 10:50:31 +09:00
3d133d61ca
fix rent book entry ( #7602 )
2019-12-23 06:12:29 +05:30
d51e42c707
MISSED -> SKIPPED
2019-12-22 10:19:35 -07:00
79e39d6f0b
Remove stray SOLANA_CUDA=1
2019-12-22 10:09:04 -07:00
7dec934bb3
Optimize lock_accounts mutex use ( #7593 )
...
Use the lock for the whole batch instead of per-tx
Optimize the critical section to pre-generate the keys necessary
before taking the lock.
2019-12-21 10:43:22 -08:00
83f866df01
Switch banking bench to report tps instead of total time ( #7590 )
...
Easier to compare results when modifying thread count.
2019-12-21 10:43:08 -08:00
d88d8e2dbb
Fix another silly bug
2019-12-21 09:20:12 -07:00
3a40dff999
Cargo.lock
2019-12-20 21:55:35 -07:00
3f69d58498
ledger-tool: Add --all option to bounds, to display all non-empty slots ( #7592 )
2019-12-20 20:43:53 -07:00
ca10cf081f
Update cargo.toml files from 0.22.0 to 0.23.0 ( #7596 )
2019-12-20 21:45:42 -05:00
f120449aae
Move implemented proposals into the implemented section of the book ( #7591 )
...
* Move implemented proposals to implemented section of the book
Leave "Slashing" commentary in a new proposal.
* Remove considered considerations
@CriesofCarrots says meh about the first concern, and has moved the
second concern into a GitHub issue #7485 .
2019-12-20 15:13:31 -07:00
636f51c93c
Update testnet descriptions ( #7586 )
...
automerge
2019-12-20 12:43:17 -08:00
9bb47c8c61
Book: Document CLI offline signing ( #7575 )
...
* Book: Document offline signing
* Address review
* nits
* consistency
* one voice
2019-12-20 13:07:07 -05:00
8886db2000
--verbose now causes show-block-production to list all slots and highlight the specific misses ( #7582 )
2019-12-20 09:38:08 -07:00
a7040896f0
Update to rust 1.40.0 ( #7572 )
...
* Update to rust 1.40.0
* fixups
2019-12-19 23:27:54 -08:00
2ebfab8e07
Remove duplicate def of MAX_SLOT_HASHES ( #7574 )
2019-12-19 21:24:12 -08:00
9bd5888f5e
Fix broken internal-nodes-stake-lamports arg in scripts ( #7581 )
2019-12-19 21:38:03 -05:00
8b7bbbc6af
Streamline paper wallet pubkey verification docs ( #7570 )
...
* Book: Move paper wallet keypair docs to usage page
* Book: Remove dedicated paper wallet keypair docs
* Nudge our reader. Be extra clear
* Clarify `--skip-seed-phrase-validation` argument rationale
2019-12-19 20:59:07 -05:00
0383ffa5ab
CLI: Fix offline signing Pay TX ( #7566 )
2019-12-19 20:58:38 -05:00
3c361eb759
Check account hashes in snapshot ( #7559 )
...
* Check for incorrect hash value
* Finish up checking for incorrect hash value
* Fix comment a bit
Co-authored-by: sakridge <sakridge@gmail.com >
2019-12-20 09:39:30 +09:00
37eaa6e4f9
CLI: Expose Durable Nonce Authorize
instruction ( #7541 )
...
* CLI: Expose Durable Nonce `Authorize` instruction
* fmt
2019-12-19 19:13:01 -05:00
0ae7e86fcb
Dashboard: Move y-axis items with different units either side of the graph ( #7573 )
...
automerge
2019-12-19 15:22:43 -08:00
3f405d8908
Add unix_timestap to stake lockups ( #7569 )
2019-12-19 14:37:47 -08:00
0245847ea8
Update runtime.md ( #7568 )
2019-12-19 13:11:43 -08:00
54f16ca2bf
clippy
2019-12-19 11:33:44 -07:00
a096ade345
reduce error logging
2019-12-19 11:33:44 -07:00
848fe51f3d
@sakridge feedback
2019-12-19 11:33:44 -07:00
e82db6fc2f
Revert blockhash sleep
2019-12-19 11:33:44 -07:00
4b3176a9a1
Tune bench-tps blockhash poller and stop panicking
2019-12-19 11:33:44 -07:00
5e6c58716e
Speed up show-block-production command
2019-12-19 10:50:27 -07:00
e98132fd76
Move window insertion to separate thread ( #7397 )
...
* Move window insertion to separate thread
2019-12-19 00:15:49 -08:00
ff171baa67
Add show-block-production command
2019-12-19 00:02:11 -07:00
05664d150b
Add get_confirmed_block()/get_confirmed_blocks()
2019-12-18 23:34:01 -07:00
fcda972cec
Add support for multiple params
2019-12-18 23:34:01 -07:00
01f44f531e
Improve bench-tps stability ( #7537 )
...
* Improve bench-tps throughput
* Fix tests
* Fix more tests
* Fix move test
* Drop blockhash poll sleep interval
2019-12-18 23:50:17 -05:00
c5b076ec7e
Add getConfirmedBlocks rpc method ( #7550 )
...
automerge
2019-12-18 15:51:47 -08:00
05cf5a38af
Add ledger benchmark test ( #7484 )
2019-12-18 18:31:04 -05:00
bd22b641b3
Speed up getLeaderSchedule RPC call by reducing pubkey duplication
2019-12-18 15:59:55 -07:00
6a9005645a
Update "limit-ledger-size" to use DeleteRange for much faster deletes ( #7515 )
...
* Update "limit-ledger-size" to use DeleteRange for much faster deletes
* Update core/src/ledger_cleanup_service.rs
Co-Authored-By: Michael Vines <mvines@gmail.com >
* Rewrite more idiomatically
* Move max_ledger_slots to a fn for clippy
* Remove unused import
* Detect when all columns have been purged and fix a bug in deletion
* Check that more than 1 column is actually deleted
* Add helper to test that ledger meets minimum slot bounds
* Remove manual batching of deletes
* Refactor to keep some N slots older than the highest root
* Define MAX_LEDGER_SLOTS that ledger_cleanup_service will try to keep around
* Refactor compact range
2019-12-18 11:50:09 -08:00
7392505bd8
Modify ledger-tool to selectively load Blocktree, GenesisHash, Database so commands are more resilient ( #7547 )
2019-12-18 13:00:15 -05:00
6aaf742dfe
Extend getConfirmedBlock rpc to return account pre- and post-balances ( #7543 )
...
automerge
2019-12-18 09:56:29 -08:00
dcaf69a5d5
Exemplify pre/postBalance enhancement to getConfirmedBlock ( #7518 )
...
* Add pre/postBalance to getConfirmedBlock
* Pluralize to match actual implementation
2019-12-18 10:47:02 -07:00
323673c3c0
Add compact_cf
calls to reclaim storage during ledger slot purge ( #7264 )
2019-12-18 10:29:46 -05:00
e16ccf8cf8
Remove extraneous header text in test result posts
2019-12-18 10:13:36 -05:00
434cde179f
GetLeaderSchedule can now return a schedule for arbitrary epochs
2019-12-17 23:41:42 -07:00
629a4b5bf8
Strictly sanitize mmapped AppendVec file contents ( #7464 )
...
* Clean up align_to_8byte!
* small clean up
* Strictly sanitize mmapped AppendVec files
* Clean up
* Fix typo
* Rename align_to_8byte => u64_align
* Fix typo
* Clean up unsafe into methods of StoredAccount
* Made oddness more apparent
* Yet more clarification
* Promote a PR comment into a src comment
* Fix typo...
* Move ref_executable_byte out of tests impl
2019-12-18 14:10:36 +09:00
6a8f6fb3cc
Update testnet testcases to point at new buildkite agent queues ( #7544 )
...
automerge
2019-12-17 20:32:31 -08:00
807e930786
Update publish-book.sh
2019-12-17 18:41:46 -08:00
554188e88e
Colo - Node install scripts missing latest user requests ( #7540 )
...
* Enable user GPU profiling while installing CUDA
* Install heaptrack
2019-12-17 19:00:12 -05:00
585fca06a1
Update publish-book.sh
2019-12-17 15:36:11 -08:00
282667c4b5
Update genesis addrgen to system_instruction create_address_with_seed ( #7539 )
2019-12-17 15:14:59 -08:00
8176470b7f
Add pubkey from new buildkite agent instance
2019-12-17 18:00:15 -05:00
acb7ce16ca
Cleanup book build ( #7254 )
...
* book
* remove copies stuff
* missing png
* update cage in publish-book.sh
* shellcheck
* update image link
* avoid clone
* nits
2019-12-17 14:29:46 -08:00
12bdef51f5
Mark PRs stale after 7 days instead of 30 ( #7528 )
2019-12-17 14:37:35 -07:00
84b07c81fd
Fix/remove short circuit logic in ledger_purge_batch (&& -> &), found/fixed by @sdhawan ( #7526 )
2019-12-17 15:08:40 -05:00
107360a001
Refactor system-test dir structure and add stability test ( #7530 )
2019-12-17 14:58:10 -05:00
3f541df669
Sync nonce test to 3513f4e
( #7527 )
2019-12-17 12:26:13 -05:00
da17783242
Update README
2019-12-17 08:57:56 -07:00
0ea2843ec9
Durable Nonce - Authorized Noncer ( #7417 )
...
* Durable Nonce: Add authorized noncer to initialize instruction
* CLI: Adapt to nonce authority
* Durable Nonce: Introduce Authorize instruction
* Specify who needs to sign ix
* 'authorized-noncer' -> 'nonce-authority'
* Document signing authority for all instructions
2019-12-17 09:34:21 -05:00
7c92bf15e2
Only return accounts that have changed since the bank's parent ( #7520 )
...
* Only return accounts that have changed since the bank's parent
* add test
2019-12-16 23:24:18 -08:00
97589f77f8
Pipeline broadcast socket transmit and blocktree record ( #7481 )
...
automerge
2019-12-16 17:11:18 -08:00
504adcc8c8
Remove PoH priority tuning ( #7494 )
...
* Remove priority tuning
* Allow dead code
2019-12-16 16:36:37 -08:00
f03ed9f5bf
Add helper fn and runtime test ( #7516 )
2019-12-16 17:02:40 -07:00
b22dc38ba1
Add support for split of 100% of stake ( #7510 )
2019-12-16 15:56:34 -08:00
7a7992ab0b
update bpf Cargo_lock ( #7512 )
2019-12-16 13:47:45 -08:00
3513f4ee84
Rename drone to faucet ( #7508 )
2019-12-16 14:05:17 -07:00
f33703aefc
Add Telegram notification support
2019-12-16 13:32:46 -07:00
389089859d
Add guidance for getting PRs merged ( #7433 )
...
* Add more PR guidelines
2019-12-16 12:54:09 -07:00
844dddfee0
Add validator-identity argument to support monitoring a specific validator only
2019-12-16 11:48:48 -07:00
862e7a410d
Fix cli program deploys by avoiding zero account balance ( #7497 )
2019-12-16 11:53:00 -05:00
7ad64c8d45
Bump serde from 1.0.103 to 1.0.104
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-16 08:50:09 -07:00
5b50990879
Bump cbindgen from 0.11.1 to 0.12.0
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.11.1...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-16 08:50:01 -07:00
71b93468d5
Bump serial_test from 0.3.1 to 0.3.2
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.3.1...v0.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-15 18:19:37 -07:00
6b88da2b82
Hook up getBlockTime rpc to real data ( #7476 )
...
* Add blocktree timestamp helper functions and tests
* Flesh out blocktree::get_block_time
* Move stakes up into rpc to make testing easier; expand tests
* Review comments
2019-12-14 12:23:02 -07:00
d01ea20273
getVoteAccounts now excludes listing inactive unstaked accounts as delinquent
...
This keeps abandoned vote accounts out of the `solana show-validators` output
2019-12-14 09:52:03 -07:00
f05860672c
Add create-address-with-seed to solana-cli ( #7472 )
...
* Add create account with seed to cli
* clippy
* fixup
2019-12-14 04:38:24 -08:00
2b5e919a47
Ship solana-watchtower program
2019-12-13 23:04:03 -07:00
27c8df6140
benches ( #7480 )
...
automerge
2019-12-13 20:27:11 -08:00
9ac112104c
Searhc across command line for pattern to kill ( #7475 )
2019-12-13 21:08:41 -05:00
98b80288ed
Optimize bank_forks critical section ( #7477 )
2019-12-13 17:20:31 -08:00
ecdea54203
Bump perf-libs version to v0.16.2 to get cudaMalloc opt ( #7478 )
2019-12-13 17:20:06 -08:00
9d5a07bac4
Move create_dir_all to AccountsDB::new ( #7465 )
...
AppendVec create doesn't need to try and create
paths every time and it can stall while snapshot
create is happening.
2019-12-13 16:46:16 -08:00
7adc721d96
Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block ( #7474 )
...
* Generate MAX_DATA_SHREDS_PER_FEC_BLOCK coding shreds for each FEC block
* fix tests, and detangle ErasureMeta::status
2019-12-13 14:50:22 -08:00
f5137028fa
Update stake_instruction.rs
2019-12-13 12:53:25 -08:00
48f9b2fdcc
watchtower: Add Slack/Discord sanity failure notification ( #7467 )
...
automerge
2019-12-12 23:49:16 -08:00
b7d6ff6770
Fix Blocktree Config ( #7399 )
2019-12-12 23:27:24 -08:00
f7a87d5e52
Add vote-update-validator subcommand
2019-12-12 23:26:39 -07:00
75d1aa5135
Perform erasure recovery when repaired data shreds are received ( #7463 )
...
automerge
2019-12-12 17:50:28 -08:00
49396a69bf
remove dbg ( #7459 )
...
automerge
2019-12-12 17:24:30 -08:00
d94041e98d
Allow coding shred index to be different than data shred index ( #7438 )
...
* Allow coding shred index to be different than data shred index
* move fec_set_index to shred's common header
* fix bench
2019-12-12 16:50:29 -08:00
cc5408482e
Publish solana-docker releases ( #7460 )
2019-12-12 16:15:31 -08:00
115bf2613d
feat: add analyze-storage command to ledger-tool ( #7165 )
2019-12-12 18:54:50 -05:00
1d172b07a8
crc 1.9.0 was yanked, fall back to 1.8 ( #7453 )
2019-12-12 14:30:51 -08:00
777ae3c215
Add time since genesis to sysvar::clock ( #7289 )
...
* genesis timestamp
* remove clock::create_account()
* ..
* add configure-able creation time
* dividing by 1T, should be dividing by 1B
2019-12-12 14:03:43 -08:00
1b2a9270e8
Clarify show-vote-account/uptime output: "node id" really means "validator identity"
2019-12-12 14:58:17 -07:00
e082418e4a
Cleanup the sign shreds interface ( #7456 )
...
automerge
2019-12-12 13:27:33 -08:00
83218c479a
code cleanup, storage_size() was Option<u64>, now Result<u64> ( #7424 )
2019-12-12 14:55:30 -05:00
dbb8267b09
Pin dalek version ( #7448 )
...
* Pin Dalek version
* core too
2019-12-12 11:34:43 -08:00
ea0ba19089
Add SystemInstruction::CreateAccountWithSeed ( #7390 )
...
* address generator
* coverage
* fixups
* remove ascii restriction
* illustrate that utf-8 doesn't expand the space
2019-12-12 11:12:09 -08:00
2db28cae41
Add solana-watchtower program
2019-12-12 12:03:13 -07:00
dd54fff978
Use pinned memory for entry verify ( #7440 )
2019-12-12 10:36:27 -08:00
c4f3bb9b67
Use term dapp only in places where the application needs to run entirely on-chain ( #7446 )
2019-12-12 10:38:09 -07:00
45487a91f9
Add more precision to testnet definitions and expectations ( #7435 )
...
* Add more precision to testnet definitions and expectations
* Apply review feedback
2019-12-12 10:37:42 -07:00
dad5c62df5
Add uptime column to show-validators ( #7441 )
...
automerge
2019-12-11 22:04:54 -08:00
a1ab81a896
Include rent_epoch and executable into account hash ( #7415 )
...
* Clean a bit
* Add rent_epoch and executable into account hashing
* Remove comment and instead create an issue
2019-12-12 13:03:33 +09:00
1d0ba0d1f2
Add special handling for snapshot root slot in get_confirmed_block ( #7430 )
...
* Add special handling for snapshot root slot
* Improve test
2019-12-11 15:06:54 -07:00
46a4ea8f67
Bump reqwest from 0.9.22 to 0.9.24
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.22 to 0.9.24.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.24/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.22...v0.9.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-11 13:42:38 -07:00
42f2b14a74
Colo: Fix lockfile syntax ( #7432 )
...
Logical AND for [ is -a, [[ is &&.
2019-12-11 15:32:38 -05:00
bec5835289
Automatically call .recycle
in Drop ( #7429 )
...
automerge
2019-12-11 11:58:40 -08:00
0aa4dc904e
Accounts index updates, remove pubkey when dead account ( #7408 )
2019-12-11 11:11:31 -08:00
f526c424c5
Move slow shred multi_fec test to integration tests folder ( #7426 )
2019-12-11 11:10:21 -08:00
601d7a52e9
add documentation for storage_size() method ( #7416 )
2019-12-11 09:47:12 -05:00
7f6fc74c36
Remove workaround of old Rust-BPF ( #7422 )
2019-12-10 23:19:13 -08:00
9e2ce1751b
Bump Rust-BPF to Rust 1.39 ( #7420 )
2019-12-10 22:27:14 -08:00
8920ac02f6
Remov dead code from TdS testnet manager config ( #7414 )
2019-12-10 19:16:49 -05:00
06415de8ee
change blocktree*::storage_size() to return Option<u64> to handle live fs changes ( #7401 )
2019-12-10 19:12:49 -05:00
12d471e2da
Update default node balance to 500 SOL and default stake to 1 SOL ( #7411 )
2019-12-10 17:52:35 -05:00
7d6777a96f
show rent model ( #7410 )
2019-12-10 14:50:55 -08:00
96c08cd295
add pubkey for colo ( #7409 )
...
automerge
2019-12-10 14:18:57 -08:00
f3633a2e04
rent for testnet ( #7407 )
2019-12-10 13:51:19 -08:00
feeb1cb566
distribute leftover lamports ( #7396 )
...
* distribute leftover lamports
* add test scenario
* fix naming
2019-12-11 02:41:08 +05:30
146bc95c16
Fix sigverify metrics ( #7393 )
...
* Add filter
* Collapse logs
* Fix dashboard
2019-12-10 11:28:07 -08:00
5792f5bfb5
Increase tx_count to 20k for all 5 node testcases ( #7348 )
2019-12-10 14:18:41 -05:00
11521dca08
Use is_amount clap validator ( #7400 )
...
* Fix up is_amount to handle floats for SOL; expand amount_of test
* Use required_lamports_from and is_amount across CLI
* Remove obsolete test (now handled by clap)
2019-12-10 11:29:17 -07:00
6f457292ff
Bump bincode from 1.2.0 to 1.2.1
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-10 10:00:56 -07:00
696cb298ab
put limit on account data length ( #7320 )
...
* put limit on account data length
* proper debug message
2019-12-10 22:17:11 +05:30
6d2861f358
add unit test for minority fork overcommit attack ( #7292 )
...
* add unit test for minority fork overcommit attack
* add generic function to simulate fork selection
2019-12-10 22:06:16 +05:30
7879fa5095
Better space out show-stake-history columns
2019-12-10 09:19:58 -07:00
a03062af4f
Add CLI commands for nonces ( #7329 )
...
automerge
2019-12-10 00:24:44 -08:00
19ecce1e32
Fix offline stakes payer ( #7385 )
2019-12-09 23:11:04 -08:00
5e0a69f68b
Improve get-epoch-info output for longer epoch durations
2019-12-09 23:42:00 -07:00
a33bcac52f
Fix stable metrics graph: "Bank Height / Slot Distance ($hostid)"
2019-12-09 22:56:54 -07:00
39cd6dff7d
turn on rent ( #7368 )
...
* turn on rent
* add rent exempt balances for bootstrap accounts
* use Rent::free() when not testing rent
2019-12-09 21:56:43 -08:00
ed9cf3566c
Restore status check to bubble up TransactionError ( #7383 )
...
automerge
2019-12-09 19:35:34 -08:00
d4d246bfd1
Fix broken link in paper wallet docs ( #7388 )
...
automerge
2019-12-09 16:26:49 -08:00
c02a14c798
Add docs for checking account balance of a paper wallet ( #7384 )
...
* Add docs for checking account balance of a paper wallet
* Add url instruction
* Update usage.md
2019-12-09 15:35:18 -08:00
781ce30e27
Continue processing the ledger on InvalidTickCount errors
2019-12-09 16:34:37 -07:00
4b68c7c154
Bump cbindgen from 0.11.0 to 0.11.1
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-09 15:59:04 -07:00
daddd90058
Bump cc from 1.0.47 to 1.0.48
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.47...1.0.48 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-09 14:57:12 -07:00
5d2b27d916
Address post-merge review for #7353 ( #7378 )
...
automerge
2019-12-09 12:54:10 -08:00
7a37363817
Remove println in solana balance command ( #7380 )
...
automerge
2019-12-09 11:03:30 -08:00
bee3829960
Remove redundant check ( #7369 )
2019-12-09 01:12:14 -08:00
e0600e5a91
Properly set parallelism ( #7370 )
2019-12-09 00:14:09 -08:00
b55b646f12
Fix Erasure Index ( #7319 )
...
Fix Erasure Index Check to set the erasure presence
2019-12-09 00:13:36 -08:00
43e608af47
Expose stake delegations from bank for winner tool ( #7354 )
...
* Expose stake delegations from bank
* cargo fmt
* Add test
2019-12-08 20:52:01 -08:00
32d6d811c5
no lockups for community ( #7366 )
2019-12-08 20:21:07 -08:00
0d6fca5abc
500M SOL ( #7361 )
...
* 500_000_000MM SOL
* fixup
2019-12-08 14:36:09 -08:00
48a085c28f
Add argument to configure the authorized pubkey for the bootstrap leader's stake ( #7362 )
...
automerge
2019-12-08 13:08:35 -08:00
059e631f41
Durable Nonce: Re-introduce Initialize instruction ( #7353 )
...
Toward an Authorized Noncer
2019-12-08 10:16:55 -07:00
deb7ac549c
Adjust show-validators column alignment ( #7359 )
...
automerge
2019-12-08 09:06:35 -08:00
891767c6b7
Bump serde_json from 1.0.42 to 1.0.44
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.42 to 1.0.44.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.42...v1.0.44 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-08 09:43:24 -07:00
62810d769a
Account for all tokens at genesis ( #7350 )
...
* Towards accounting for all tokens
* Move 5m tokens back into the big pool
* Flesh out batch 4
* Add a script to generate ValidatorInfo structs from a CSV file
* Remove commented out code and improve test
2019-12-08 09:17:42 -07:00
5253c27ca8
Add Forbole ValidatorInfo ( #7355 )
...
automerge
2019-12-07 22:45:58 -08:00
1ffd6b4b4d
Add program and runtime support for Durable Transaction Nonces ( #6845 )
...
* Rework transaction processing result forwarding
Durable nonce prereq
* Add Durable Nonce program API
* Add runtime changes for Durable Nonce program
* Register Durable Nonce program
* Concise comments and bad math
* Fix c/p error
* Add rent sysvar to withdraw ix
* Remove rent exempt required balance from Meta struct
* Use the helper
2019-12-07 12:54:10 -07:00
6469606baf
Add Stake Capital ValidatorInfo ( #7346 )
...
automerge
2019-12-07 01:07:03 -08:00
77cd292828
getVoteAccounts RPC API no longer returns "idle" vote accounts, take II
2019-12-07 01:16:36 -07:00
22d6951de5
Revert "getVoteAccounts RPC API no longer returns "idle" vote accounts"
...
This reverts commit 103e40b968
.
2019-12-07 01:16:36 -07:00
33f7103eae
Enable system program at SoftLaunch epoch 0 ( #7313 )
2019-12-06 23:16:28 -07:00
c00216e3be
feat: ledger size and cleanup metrics ( #7335 )
2019-12-06 22:32:45 -05:00
42247e0e1a
getVoteAccounts RPC API no longer returns "idle" vote accounts ( #7339 )
2019-12-06 20:23:29 -05:00
8a908a6864
Add more pool tokens ( #7338 )
...
automerge
2019-12-06 16:54:02 -08:00
2d6ed7142f
Fix typo ( #7336 )
2019-12-06 16:48:16 -07:00
9ecb844de7
Split up ReplayStageConfig to make it derive Default ( #7334 )
...
automerge
2019-12-06 14:39:35 -08:00
3ab8185777
Add intermittent Timestamping to Votes ( #7233 )
...
* Add intermittent timestamp to Vote
* Add timestamp to VoteState, add timestamp processing to program
* Print recent timestamp with solana show-vote-account
* Add offset of 1 to timestamp Vote interval to initialize at node boot (slot 1)
* Review comments
* Cache last_timestamp in Tower and use for interval check
* Move work into Tower method
* Clarify timestamping interval
* Replace tuple with struct
2019-12-06 14:38:49 -07:00
b8008ae1e9
Bump cbindgen from 0.10.1 to 0.11.0 ( #7318 )
...
automerge
2019-12-06 13:23:22 -08:00
ab9ec45c9d
Bump rpassword from 4.0.1 to 4.0.3 ( #7295 )
...
Bumps [rpassword](https://github.com/conradkleinespel/rpassword ) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/conradkleinespel/rpassword/releases )
- [Commits](https://github.com/conradkleinespel/rpassword/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-06 16:16:58 -05:00
6a0d683f79
Brush up validator start docs ( #7333 )
...
* Brush up validator start docs
* Gut Choosing a Testnet to be less confusing
2019-12-06 14:07:41 -07:00
711487267d
Increase signature confirmation timeout to fix wallet sanity ( #7283 )
...
* Use --hashes-per-tick sleep for localnet sanity test
* Decrease wallet sanity timeout
* Fix check when
2019-12-06 15:39:28 -05:00
503bf69ab3
Bump wallet-sanity timeout ( #7327 )
2019-12-06 11:12:18 -07:00
a60521269d
Use u64 for consistency ( #7326 )
2019-12-06 10:24:31 -07:00
fe96f85410
Update name
2019-12-06 10:15:35 -07:00
275fab003f
Add ChainFlow ValidatorInfo
2019-12-06 09:22:35 -07:00
edfb386ef0
Add pools ( #7324 )
2019-12-06 09:20:32 -07:00
186709ed75
cli: Confirm recovered pubkeys ( #7316 )
...
* cli: Confirm recovered pubkeys
* cargo clippy
2019-12-06 09:55:00 -05:00
b7d4330dd4
Fail fast if account paths cannot be canonicalized ( #7300 )
...
* Canonicalize account paths to avoid symlink issues
* fixes
2019-12-05 21:41:29 -05:00
7c3be2ec9a
Add 30k txcount Colo GPU testcase ( #7314 )
2019-12-05 21:17:16 -05:00
8fac9102eb
Add docs for using a paper wallet with solana cli ( #7311 )
2019-12-05 21:12:41 -05:00
178854ac97
Add RockX ValidatorInfo ( #7310 )
2019-12-05 19:06:56 -07:00
f4a089cc26
Allow delay between validator booting and client start ( #7297 )
...
* Allow delay between validator booting and client start
2019-12-05 21:03:26 -05:00
422eab5846
Add ChorusOne ValidatorInfo ( #7306 )
2019-12-05 15:39:27 -07:00
95e1404a2b
Add verify of keypair ( #7301 )
2019-12-05 14:32:42 -08:00
cfc21e1225
Only serialize rooted append vecs ( #7281 )
2019-12-05 14:27:46 -08:00
3799190fa0
Bump assert_cmd from 0.11.1 to 0.12.0 ( #7298 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.11.1 to 0.12.0.
- [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.1...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-05 14:20:50 -07:00
d6c3396182
Canonicalize paths before symlink-ing when generating snapshots ( #7294 )
...
* Canonicalize paths before symlinking when generating snapshots
* cargo fmt
2019-12-05 14:58:02 -05:00
a95d37ea25
Fix repair slowness when most peers are unable to serve requests ( #7287 )
...
* Fix repair when most peers are incapable of serving requests
* Add a test for getting the lowest slot in blocktree
* Replace some more u64s with Slot
2019-12-05 11:25:13 -08:00
d8e1a196bc
more genesis ( #7291 )
2019-12-05 08:30:34 -08:00
1e2970b7e1
Bump thiserror from 1.0.6 to 1.0.9 ( #7246 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.6 to 1.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.6...1.0.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-05 08:58:53 -07:00
0d1fed78af
Pay rent to validators ( #7164 )
...
automerge
2019-12-05 06:10:34 -08:00
709bda5939
custodian signs withdraw ( #7286 )
2019-12-04 21:25:01 -08:00
8a28734603
re svg ( #7288 )
2019-12-04 20:38:42 -08:00
9485eba73d
nudge ( #7279 )
2019-12-04 19:28:20 -08:00
23c4a7dc49
nudge ( #7280 )
2019-12-04 19:28:00 -08:00
39b578fde9
Remove runtime dependency from config program unit tests and move back to config program ( #7277 )
2019-12-04 19:24:12 -08:00
8e16079157
Bump serde_bytes from 0.11.2 to 0.11.3 ( #7269 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.2...0.11.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-04 19:12:37 -07:00
eabd23fc07
Import validators ( #7282 )
2019-12-04 18:26:57 -07:00
c7932b710c
Remove tune-system.sh script and its use ( #7278 )
2019-12-04 16:40:12 -08:00
9d7a926a8b
Tune UDP rmem/wmem using sys-tuner daemon ( #7273 )
2019-12-04 15:17:24 -08:00
0a390cbc91
Update validator-start document to reflect sys-tuner changes ( #7275 )
2019-12-04 15:17:12 -08:00
76829457df
Fix typo, grammar, and formatting in Paper Wallet documentation ( #7268 )
...
* Fixes
* Simply installation steps
* Remove profile step
* Split up commands
* 2 -> 3
2019-12-04 15:44:02 -05:00
703a5348e8
Relocate program tests ( #7259 )
2019-12-04 12:41:54 -08:00
1a135fa30e
Verify BPF ELF during finalize ( #7266 )
2019-12-04 12:03:29 -08:00
e4d75c77bf
Sanitize whitespace in seed phrase input ( #7260 )
...
* Sanitize whitespace in seed phrase input
* cargo clippy
* Use split_whitespace
2019-12-04 14:40:32 -05:00
75d505c431
Don't hardcode username in sys-tuner ( #7234 )
...
automerge
2019-12-04 11:39:26 -08:00
b72c99e46a
nudge ( #7265 )
2019-12-04 11:03:24 -08:00
fae9c08815
Add ReplayStageConfig ( #7195 )
2019-12-04 11:17:17 -07:00
c3e7deb4b6
Use wrappable code snippet for paper wallet installation ( #7261 )
2019-12-04 12:30:12 -05:00
c9245751e9
Bump nix from 0.15.0 to 0.16.0 ( #7216 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits/v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-04 09:35:45 -07:00
9b172879a2
Remove deprecated solana_entrypoint macro ( #7257 )
2019-12-04 00:42:50 -08:00
9077a94dfe
vote update node_id ( #7253 )
...
* vote update node_id
* un-break binary 'contract'
2019-12-03 22:50:08 -08:00
e2f07a5220
bs58 ( #7252 )
2019-12-03 22:18:12 -08:00
ae93d574c2
commission as percent ( #7239 )
...
* commission_as_percent
* fixup
2019-12-03 20:55:04 -08:00
369f37a0a4
genesis validators ( #7235 )
...
* genesis validators
* slp1 nodes get 500SOL
* no commission
2019-12-03 20:44:02 -08:00
e1b7f40c2b
Allow generation of longer seed phrases with keygen ( #7210 )
2019-12-03 23:39:45 -05:00
94dcd3fe12
Remove extra installation options for paper wallet ( #7245 )
...
* Remove extra installation options for paper wallet
* Copy installation link out of code block for printing
2019-12-03 22:54:33 -05:00
2dc1ae9026
Add Paper Wallet Installation page to sidebar ( #7242 )
2019-12-03 21:43:39 -05:00
7cfff75c3e
Use procedural macro to generate static public keys ( #7219 )
...
automerge
2019-12-03 17:55:18 -08:00
a66a49d384
Update paper wallet documentation ( #7223 )
...
* wip
* Update paper wallet documentation
* Add install from tarball instructions
* Separate out installation page
2019-12-03 20:12:24 -05:00
5f58e0661b
Remove duplicate word ( #7236 )
2019-12-03 16:45:59 -08:00
f0a40862d6
Support local cluster edge case testing ( #7135 )
...
* Refactor local cluster to support killing a partition
* Rework run_network_partition
* Introduce fixed leader schedule
* Plumb fixed schedule into test
2019-12-03 16:31:59 -08:00
f75c51ff71
sys-tuner to check uid of the proc entry ( #7232 )
...
automerge
2019-12-03 16:03:10 -08:00
d357192025
Fix ssh connection error due to too many authentication failures ( #7229 )
2019-12-03 15:53:12 -08:00
c996c8ff49
Protect sys-tuner socket access at create ( #7230 )
...
automerge
2019-12-03 14:29:37 -08:00
1af4e256c9
Print slot meta when printing a slot ( #7133 )
...
automerge
2019-12-03 12:27:43 -08:00
bc09365c98
make tx fee's burn percent in proper range ( #7226 )
...
automerge
2019-12-03 12:25:43 -08:00
ba688cf629
enforce proper range for rent burn_percent ( #7217 )
...
* enforce proper range for burn_percent
2019-12-04 00:54:01 +05:30
d5c8b26a45
bank_leak_mac_os ( #7209 )
2019-12-03 00:09:05 -08:00
d38f3f664f
Ensure IpEchoServerMessage is not fragmented ( #7214 )
...
automerge
2019-12-02 22:32:43 -08:00
5ac435325b
Fix windows build more ( #7208 )
2019-12-02 22:09:06 -07:00
b874441a47
Prevent passphrase mistakes with confirmation prompt ( #7207 )
2019-12-02 22:42:42 -05:00
a35087a5ed
Fix typo ( #7202 )
2019-12-02 19:51:27 -07:00
1aeaf052a6
Fix windows build ( #7204 )
2019-12-02 19:45:07 -07:00
a0eafa12e3
Update to hashes_per_tick computation, and tick duration datapoint ( #7127 )
2019-12-02 18:02:11 -08:00
757425a360
Add validator timestamp oracle proposal ( #7159 )
...
* Add validator timestamp oracle proposal
* Make timestamping part of the Vote program
* Describe extending Vote to include timestamp: Option<UnixTimestamp>
* Qualify getBlockTime-eligible blocks as rooted
2019-12-02 18:51:54 -07:00
64d1e776f7
Bump cbindgen from 0.10.0 to 0.10.1 ( #7197 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 18:40:22 -07:00
c6695a3120
Correctly parse ip echo server response and fix broken test ( #7196 )
2019-12-02 18:37:01 -07:00
076e384bb5
Tool to tune system parameters like PoH service priority ( #7155 )
...
* New daemon to tune system parameters like PoH service priority
* fixes for Linux
* integrate with poh_service
* fixes
* address review comments
* remove `dead_code` directive
2019-12-02 16:46:46 -08:00
41cff1b49d
Remove spammy log
2019-12-02 16:52:01 -07:00
6796b08909
Migrate to thiserror ( #7177 )
...
* Migrate to thiserror
* Discourage the use of other modules' Result alias
`io::Result` set a bad precedent. Don't import other `Result`
aliases.
2019-12-02 15:42:05 -07:00
f9df17d8d0
track bank size ( #7144 )
...
* track bank size
* support non-linux a bit better
2019-12-02 13:47:20 -08:00
7f71a0ba37
Drop default signature fee by 10x ( #7192 )
2019-12-02 14:34:26 -07:00
0e2e13f018
Update usages of u64 to Slot ( #7191 )
...
automerge
2019-12-02 11:57:40 -08:00
bd099e2f4d
Fix spelling ( #7186 )
2019-12-02 10:56:01 -08:00
42f56b9f86
Further validator doc cleanup ( #7187 )
2019-12-02 11:49:54 -07:00
704c50ea17
More validator doc cleanup ( #7185 )
...
* Cleanup and wrap lines in validator docs
* Add references to tune_system and solana-keygen grind
2019-12-02 10:53:07 -07:00
887bff572a
More conservative purge_zero_lamport_accounts purge logic ( #7157 )
2019-12-02 09:51:05 -08:00
1eaf71b5b4
Improve error handling when the user mixes up gossip (8001) and RPC (8899) ports ( #7158 )
...
automerge
2019-12-02 09:01:25 -08:00
0f872af502
Bump libc from 0.2.65 to 0.2.66 ( #7180 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.65 to 0.2.66.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.65...0.2.66 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 09:56:03 -07:00
b13696ea1a
Bump jsonrpc-http-server from 14.0.3 to 14.0.5 ( #7181 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-http-server-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 09:55:40 -07:00
5fbbf7c748
Bump jsonrpc-ws-server from 14.0.3 to 14.0.5 ( #7172 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-ws-server-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 23:06:23 -07:00
e7fe0db051
Bump jsonrpc-derive from 14.0.3 to 14.0.5 ( #7173 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-derive-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 14:15:02 -07:00
dcb7bd8c74
Bump jsonrpc-pubsub from 14.0.3 to 14.0.5 ( #7174 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.3...jsonrpc-pubsub-v14.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-29 14:14:57 -07:00
92d485dd4d
Cleanup ( #7176 )
...
* Drop serde error instances
These were no longer needed after ToPrimitive instances were
added.
* Rename last of _api crates
2019-11-29 13:50:32 -07:00
f4229a5d3e
Validator docs revamp part 1 ( #7171 )
...
* Validator Docs revamp part 1
* Notes from @CriesofCarrots
* Fixup links and start page
* Update versions
2019-11-28 15:39:27 -07:00
f97626346b
Bump jsonrpc-core from 14.0.3 to 14.0.5 ( #7170 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.3 to 14.0.5.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-28 10:59:31 -07:00
7f4feaee08
Bump serde from 1.0.102 to 1.0.103 ( #7163 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.102...v1.0.103 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-27 09:10:25 -07:00
5a30ef180a
Bump serial_test_derive from 0.2.0 to 0.3.1 ( #7153 )
...
Bumps [serial_test_derive](https://github.com/palfrey/serial_test ) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.2.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 23:12:13 -07:00
0a0412e47e
Bump serial_test from 0.2.0 to 0.3.1 ( #7154 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.2.0...v0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 22:07:39 -07:00
57d4b50467
Add Paper Wallet documentation to the book ( #7147 )
...
automerge
2019-11-26 20:56:11 -08:00
8d75efdc58
genesis config hashmaps ( #7107 )
2019-11-26 19:23:37 -08:00
c706f9b2cd
Change from using fixed number of ticks in delay calculation ( #7152 )
...
automerge
2019-11-26 16:21:02 -08:00
c810913861
Bump serde_derive from 1.0.102 to 1.0.103 ( #7141 )
...
automerge
2019-11-26 14:44:20 -08:00
2b13158e29
Bump serde_json from 1.0.41 to 1.0.42 ( #7142 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.41 to 1.0.42.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.41...v1.0.42 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-26 15:09:01 -07:00
4fe1716c7a
solana-keygen: Support pubkey recovery directly from seed phrase ( #7149 )
2019-11-26 15:30:07 -05:00
d7a82783be
Ensure beta/stable testnets use public IPs
2019-11-26 11:24:38 -07:00
0a0f15baca
RPC subscriptions for new slot notifications ( #7114 )
...
* feat: slot notifications via pubsub rpc w/ tests
2019-11-26 03:42:54 -05:00
58c144ee55
Add getBlockTime rpc api ( #7130 )
...
* Add getBlockTime rpc api
* Add getBlockTime to docs
* Fix duration rounding for common tick/slot durations; add slot duration calculation
* Expose slots_per_year
* Use genesis values instead of clock defaults to calculate block offset
* Add get-block-time cli subcommand
* Fix test_rent: decrease magic number usage
2019-11-26 00:40:36 -07:00
280315a314
mut
2019-11-25 22:49:15 -07:00
506ff5809e
keygen: Support not writing keypairs to disk ( #7136 )
...
* keygen: Add flag to prevent new from writing keypair to disk
* check_for_overwrite bails, do it before prompts
2019-11-25 22:43:03 -07:00
acd1505050
Stop open measurement before logging it
2019-11-25 22:20:34 -07:00
578b56fc10
Cargo.lock
2019-11-25 22:20:34 -07:00
88cb0c6ae3
Add offline signing support to CLI ( #7104 )
2019-11-25 21:09:57 -08:00
294662a1ce
Bump version to 0.22.0
2019-11-25 21:34:50 -07:00
eaa3e87eb0
Support passphrases in keygen ( #7134 )
...
* Support passphrases in keygen
* remove short
* Update solana_keygen calls
2019-11-25 21:33:15 -07:00
9b3a1a99e5
Update backport labels
2019-11-25 21:24:41 -07:00
76a68c26c9
Track a Bank's parent slot independently from parent bank ( #7131 )
2019-11-25 15:34:51 -08:00
ef64f00cbb
Revert "Revert "add genesis stake placeholders ( #6969 )" ( #7109 )" ( #7124 )
...
This reverts commit 702f7cc51d
.
2019-11-25 15:11:55 -08:00
acbe89a159
shrink stakes ( #7122 )
2019-11-25 13:14:32 -08:00
0f66e5e49b
Add getConfirmedBlock test to rpc ( #7120 )
...
automerge
2019-11-25 11:08:03 -08:00
686aa3a150
Bump chrono from 0.4.9 to 0.4.10 ( #7113 )
...
automerge
2019-11-25 10:01:46 -08:00
d8bc828839
Colo: Refactor remote command dispatch for create and delete ( #7092 )
...
* Colo: Dump escaping mess in remote script templates
* Colo: Rename script templates so shellcheck can get 'em
* shellcheck and nits
* Brace all of the things
* Consistent heredoc tags
* Use bash built-in square bracketing consistently
* simplify logic
2019-11-25 10:32:17 -07:00
094c391cd7
Bump itertools from 0.8.1 to 0.8.2 ( #7111 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/commits/v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-25 10:22:47 -07:00
c8491724b4
Bump num-traits from 0.2.9 to 0.2.10 ( #7096 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.9...num-traits-0.2.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-25 10:22:10 -07:00
d5beb8a9e4
cli: Add --confirmed option to a couple commands, also add --no-header ( #7112 )
...
* Add --confirmed option to get-slot, get-epoch-info, get-transaction-count
* Add --no-header option
2019-11-24 17:34:18 -07:00
702f7cc51d
Revert "add genesis stake placeholders ( #6969 )" ( #7109 )
...
* Revert "add genesis stake placeholders (#6969 )"
This reverts commit 8a879faac7
.
* fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969 )"
* fmt
2019-11-23 23:15:21 -07:00
b8cd0a1bc0
Allow secure keypair input for solana-archiver
and solana
cli tools ( #7106 )
...
* Add seed phrase keypair recover to archiver
* Add seed phrase keypair to cli with ASK keyword
* cli main tweaks
2019-11-23 11:55:43 -05:00
7f87ac4b65
Improve coverage.sh's environment awareness ( #7101 )
...
* Improve coverage.sh's environment awareness
* Move version check into ci/rust-version.sh
* Embrace bashism
2019-11-23 14:53:39 +09:00
306fbd8bd8
install: Drop unneeded sha2 dependency ( #7108 )
...
* Poll for updates slower
* Drop sha2 dependency
2019-11-22 21:58:26 -07:00
3e0b272a20
Remove edge channel hardcode
2019-11-22 20:34:49 -07:00
6c89226ccf
Purge zero lamport accounts on snapshot ingestion ( #7010 )
...
Snapshots do not load the original index, so they must
purge zero lamport accounts again.
2019-11-22 18:22:28 -08:00
f040987c9f
Move date oracle to config program ( #7105 )
...
automerge
2019-11-22 15:10:53 -08:00
2a42ddbcbf
Don't panic if pubkeys are missing from Budget transaction ( #7102 )
2019-11-22 14:34:50 -07:00
8bb68c4e6a
Really remove mentions of 'genesis_block' ( #7099 )
2019-11-23 05:58:20 +09:00
4485b978c1
Clean up accounts hash internal state api ( #7090 )
2019-11-22 08:56:00 -08:00
68bad56e7d
Streamline multinode-demo/ restart logic ( #7094 )
...
* bootstrap-leader.sh will now restart the node automatically by default
* Streamline validator restart
2019-11-22 09:44:16 -07:00
ef55c15537
Remove unused --poll-for-new-genesis-config feature ( #7093 )
...
automerge
2019-11-22 08:12:08 -08:00
ce8d37984d
Allow secure keypair input for solana-validator cli ( #7080 )
...
* Allow secure keypair input for solana-validator cli
* feedback
* Add --skip-mnemonic-validation
* Update --identity to --identity-keypair
* Use struct instead of tuple
* Fix dependencies
* cargo fmt
* Add basic tests
* Use `seed phrase` instead of `mnemonic`
* Update passphrase prompt
2019-11-22 10:20:40 -05:00
c8166aed97
Correctly indicate genesis activation_epoch ( #7091 )
...
* Correctly indicate genesis activation_epoch
* Drop the '(Genesis)'
2019-11-22 15:35:02 +09:00
0bd41f98ed
Avoid jemalloc in windows build ( #7089 )
...
automerge
2019-11-21 18:39:29 -08:00
d8ead57fbb
Use bs58 strings to declare IDs rather then raw bytes ( #7082 )
2019-11-21 16:34:40 -08:00
d9e7a5fcbe
Use fork weight instead of individual bank weight for fork selection. ( #7079 )
...
* Fix weight calculation
* Fix tests
* fork weight
* wait until nodes are in the leader schedule
* enable sanity
* fewer long tests
2019-11-21 15:47:08 -08:00
c965a110f2
Use unbounded channel ( #7081 )
2019-11-21 14:23:40 -07:00
8a879faac7
add genesis stake placeholders ( #6969 )
...
* add investor stake placeholders
fixups
fixups
review comments, fixups
make more data-looky for easier management
rent may be zero
rework with more tables, derived keys
fixups
rebase-fix
fixups
fixups
* genesis is now too big to boot in 10 seconds
2019-11-21 12:05:31 -08:00
a2a9f1e331
Truncate new keypair files ( #7078 )
...
automerge
2019-11-21 10:02:04 -08:00
15d7568038
Bump cbindgen from 0.9.1 to 0.10.0 ( #7044 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/v0.10.0/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.9.1...v0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-21 10:58:04 -07:00
8cbc450192
Create genesis.tar.bz2 in solana-genesis ( #7039 )
...
* Use clap_utils
* Create genesis.tar.bz2 in solana-genesis
* Remove shell-based genesis.tar.bz2 generation
* Make Option=>Result conv more rusty
* stop using solana_logger
* Simplify by just using vec!
* clean up abit
2019-11-21 10:57:27 -07:00
79199711b8
Add gpu resource usage tracking ( #7075 )
2019-11-21 08:33:02 -08:00
2c1b8fdd39
Add another test for bank state hashes ( #7073 )
...
automerge
2019-11-20 23:03:42 -08:00
d9024db68d
Fix publish of move program ( #7072 )
2019-11-20 20:33:49 -08:00
96dd044f8e
Allow vest's terminator to recapture tokens ( #7071 )
...
* Allow vest's terminator to recapture tokens
* Less code
* Add a VestAll instruction
The terminator may decide it's impractical to maintain a vest
contract and want to make all tokens immediately redeemable.
2019-11-20 19:33:17 -07:00
e66b29943b
datapoint for best fork weight and slot in replay ( #7066 )
2019-11-20 17:26:52 -08:00
100b9dd12a
Fix num nodes metrics ( #7068 )
...
* Fix num nodes metric
* Fix node count metrics
2019-11-20 17:00:31 -08:00
3415db9739
Merge api/program into single units ( #7061 )
2019-11-20 16:32:19 -08:00
186bf7ae32
Plumb --gossip-host arg
2019-11-20 16:57:24 -07:00
97ca6858b7
Write transaction status and fee into persistent store ( #7030 )
...
* Pass blocktree into execute_batch, if persist_transaction_status
* Add validator arg to enable persistent transaction status store
* Pass blocktree into banking_stage, if persist_transaction_status
* Add validator params to bash scripts
* Expose actual transaction statuses outside Bank; add tests
* Fix benches
* Offload transaction status writes to a separate thread
* Enable persistent transaction status along with rpc service
* nudge
* Review comments
2019-11-20 16:43:10 -07:00
ee6b11d36d
Remove ability to deploy custom programs ( #7070 )
...
automerge
2019-11-20 15:37:42 -08:00
f58fef60fb
Fix program copy
2019-11-20 15:56:00 -07:00
a76eb64bbb
Copy all programs when starting a network ( #7069 )
2019-11-20 14:37:15 -08:00
8590326b50
Book: Add proposal for durable transaction nonces ( #6725 )
...
automerge
2019-11-20 14:33:02 -08:00
b0271394cd
Clean up --gossip-port argument ( #7067 )
...
--gossip-port now specifies exactly that, the gossip port to use. The
new --gossip-host argument can be used to specify the DNS name/IP
address for gossip if --entrypoint is not supplied (when --entrypoint is
supplied, the gossip address is automatically set to the node's ip
address as observed by the entrypoint)
2019-11-20 15:21:34 -07:00
c39633f968
nit: Circular dependency error is hard to read ( #7065 )
2019-11-20 13:13:22 -08:00
1fef74b00c
Fix solana-keygen new --force ...
( #7064 )
...
automerge
2019-11-20 12:46:16 -08:00
9f6a2e51b2
add credit-debit rent handling ( #6947 )
...
* add credit-debit rent handling
* add tests
* charge rent for validator account for fee credit
* rent is stored per tx instead of account
2019-11-21 01:57:02 +05:30
b150da837a
Use epoch as the gossip purge timeout for staked nodes. ( #7005 )
...
automerge
2019-11-20 11:25:18 -08:00
ba9aaee7cd
Update config.rs ( #7045 )
...
automerge
2019-11-20 11:10:46 -08:00
3aa67969f9
Add perf module to stable-perf CI ( #7060 )
2019-11-20 10:59:56 -08:00
d4f336db40
Fix unpin argument ( #7057 )
...
automerge
2019-11-20 10:22:26 -08:00
d184d3a732
Merge native programs parts into one unit ( #7047 )
2019-11-20 10:12:43 -08:00
42da1ce4e2
Fix bank hash not changing when no internal state has changed ( #7052 )
...
* Fix bank hash not changing when no internal state has changed
* Fix unnecessary call to hash_internal_state
* Add blockhash into the bank_hash
* Add blockhash into the bank_hash and update tests
* Refactor accounts_db slot_hashes
* More clarity in comments
* Add clippy suggestion
* Grammar
* Fix compile after clippy made me break it
* Schooled by clippy
2019-11-19 20:19:43 -08:00
d2ed921bc6
Cleanup nightly warnings ( #7055 )
2019-11-19 20:15:37 -08:00
d32a072190
Use ticks_per_slot to calculate maximum grace ticks ( #7024 )
...
* Use ticks_per_slot to calculate maximum grace ticks
* fix test
* fix votable candidate ordering
* fixes to pick_best_fork() and a unit test
* fixes
2019-11-19 17:55:42 -08:00
95c137158f
Fix gce.sh info ( #7054 )
...
automerge
2019-11-19 17:49:25 -08:00
7151b92239
Don't create keypair files with r+go ( #7051 )
2019-11-19 18:26:21 -07:00
716caeb17c
Use camelCase ( #7050 )
...
automerge
2019-11-19 14:55:32 -08:00
f8e4bdd23d
--bootstrap-storage-pubkey is now optional ( #7049 )
...
automerge
2019-11-19 14:35:56 -08:00
55dfd03007
wrong calculation ( #7028 )
...
matcher takes 2 B tokens as profit because amount of price difference is (7-6)*2B = 2B
2019-11-19 14:47:29 -07:00
854fc8d552
Add getConfirmedBlock to json-rpc docs ( #7046 )
2019-11-19 14:00:15 -07:00
f2badf2c5d
Fix a bug where gossip loops forever while splitting messages ( #7032 )
...
* Fix a bug where gossip loops forever while splitting messages
* Get rid of while loop
* Minor clean up and rename
2019-11-19 11:51:51 -08:00
ea656b1a3f
Add parent slot to getConfirmedBlock ( #7038 )
...
* Add parent slot to getConfirmedBlock
* Fix bad text-replace
* Use camelCase in getConfirmedBlock
2019-11-19 09:39:55 -07:00
5b7bd24f0a
Remove duplicated args ( #7036 )
2019-11-19 09:10:54 -07:00
2d7c7b0982
Fix missed rebase on net.sh ( #7037 )
2019-11-19 10:22:30 -05:00
b958bf9086
Fix confirmation metrics ( #7035 )
2019-11-19 09:51:50 -05:00
43144cfe8b
Make banks that fail threshhold check resettable ( #7027 )
2019-11-19 02:36:30 -08:00
11d2d2eccd
Fix progress map losing banks and recomputing stats ( #7026 )
...
* Fix progress map missing banks
* Fix confirmations
* Fix test
* Initialiize progress with frozen banks atartup
2019-11-19 02:36:00 -08:00
e22f89853f
Consider CI_TAG=
to be the same as unset CI_TAG
2019-11-18 23:43:38 -07:00
7ccc029f77
Make solana ping take optional lamports argument ( #7029 )
...
* Make solana ping take optional lamports argument
* Use clap's default_value
2019-11-19 14:50:09 +09:00
0eb78e461d
Relax requirement that the entrypoint node runs the RPC service ( #7019 )
2019-11-18 21:43:14 -07:00
3615209ce7
don't allow assignment to sysvar program ( #7017 )
...
automerge
2019-11-18 19:39:29 -08:00
6bfe0fca1f
Add a version field to shreds ( #7023 )
...
* Add a version field to shreds
* Clippy
* Fix Chacha Golden
* Fix shredder bench compile
* Fix blocktree bench compile
2019-11-18 18:05:02 -08:00
bfa2535ea1
Add non-fungible token program ( #7007 )
...
* Add non-fungible token program
* Remove issuer and id from state
* Boot NftInstruction and NftState
* Rename NFT to Ownable
Maybe this should be "Owned" to avoid confusion with an Ownable trait?
* Rename directory
* Delete unreachable branch
* Don't use copy_from_slice - need an error, not a panic.
* Rename contract_pubkey to account_pubkey
2019-11-18 18:09:42 -07:00
6ec918fabb
Update Move support to accomadate Libra's changes to compiler behavior ( #6993 )
2019-11-18 16:47:01 -08:00
cbf7c0080b
fix split instruction doc ( #7022 )
2019-11-18 15:31:17 -08:00
a6196901de
Generate net-shaper configuration from stdin, or randomly ( #7021 )
2019-11-18 14:47:07 -08:00
c09469fa3a
Rename verify_instruction() to verify_account_changes() ( #7020 )
2019-11-18 15:01:14 -07:00
3acd84d9c0
Allow creating an vote program ix where the withdrawer is also the "to" account ( #6992 )
...
automerge
2019-11-18 12:43:47 -08:00
c902fd0303
skip sysvars while assessing rent ( #7015 )
...
* skip sysvars while assessing rent
2019-11-19 01:31:27 +05:30
955aaef2e6
Fixes to net-shaper and net.sh ( #7002 )
...
* Fixes to net-shaper and net.sh
* fixes to default filters and cleanup
2019-11-18 11:33:33 -08:00
e0a2bb9d86
Legitimately map transactions to statuses in blocktree ( #7011 )
...
* Refactor rocksdb TransactionStatus to store/return struct; hook up map_transactions_to_statuses
* Cleanup use statements
2019-11-18 09:12:42 -07:00
3bc8d78801
Add ConfirmedBlock struct, and rework Blocktree apis to include block… ( #7004 )
...
* Add RpcConfirmedBlock struct, and rework Blocktree apis to include blockhash info and dummy tx statuses
* Remove unused lifetime
2019-11-17 20:17:15 -07:00
b66c03667c
Log for threshold failure ( #7008 )
2019-11-17 17:10:16 -08:00
6e04a646ba
Gossip entrypoint is now option of spy not solana-gossip ( #7006 )
2019-11-17 11:36:24 -05:00
086e5da8d0
feat: add TransactionStatus column family and test ( #6958 )
2019-11-17 11:26:01 -05:00
c1b06817a2
Add non-dev value for slots_per_epoch and use that as default ( #6984 )
...
When --dev flag is not passed.
2019-11-16 20:53:54 -08:00
c3926e6af0
|solana-gossip spy| no longer requires an entrypoint ( #6999 )
2019-11-16 14:16:28 -07:00
70322d1ff8
Add error logging to dead slots ( #7000 )
2019-11-16 02:54:51 -08:00
7c32640a9b
Set index and set data should write into shred data ( #6995 )
2019-11-16 02:41:59 -08:00
5ad09afc15
Improve run.sh for better developer experience ( #6945 )
...
* run.sh: Create genesis file for ad-hoc validators
* run.sh: Prefer release under NDEBUG
* run.sh: Add sanity test for run.sh
* run.sh: Conditionally re-gen drone and faucet keys
* Make shellcheck happy
* Address code review comments
* Clean up a bit
2019-11-16 15:56:29 +09:00
5d8c1a303e
fix: update run.sh arguments to solana-genesis ( #6996 )
2019-11-15 23:22:21 -05:00
24b254459b
Fix dev mode arg in run.sh ( #6997 )
2019-11-15 23:16:42 -05:00
30089841f6
Use correct faucet arg in run.sh ( #6994 )
...
automerge
2019-11-15 18:33:08 -08:00
0bee05b849
Pull TdS transaction fees to 0
2019-11-15 15:51:37 -07:00
afd9ae9999
Allow withdraws to the authorized withdrawer ( #6989 )
2019-11-15 17:16:24 -05:00
5ab70c4e97
genesis: rename mint account to faucet account and make it optional ( #6990 )
2019-11-15 14:50:26 -07:00
cab2232aba
Fix System Stats script ( #6985 )
...
automerge
2019-11-15 13:25:40 -08:00
946e937549
Create development vs softlaunch environment hooks into net scripts ( #6974 )
2019-11-15 15:18:45 -05:00
0ca943f49b
RecyclerCache for shred_sigverify ( #6986 )
...
automerge
2019-11-15 12:16:56 -08:00
b2db0b97fc
Add show-gossip command ( #6982 )
2019-11-15 13:15:34 -07:00
d565ec7968
Fixes to net-shaper, and net.sh option to start/stop shaper ( #6981 )
...
* Fixes to net-shaper, and net.sh option to start/stop shaper
* fix shellcheck
* more shellchecks
2019-11-15 12:10:48 -08:00
36e3ccfc68
Remvoe pinned memory ( #6976 )
2019-11-15 10:58:25 -08:00
892ca196f1
Improve error message when unable to read a file ( #6978 )
2019-11-15 10:39:05 -07:00
59413b3124
Fix rules for fork selection ( #6906 )
...
automerge
2019-11-15 08:36:33 -08:00
e1643c91c4
Pull a fixed and working version of shellcheck docker imaage ( #6975 )
2019-11-15 10:55:25 -05:00
3ce6248f8c
Add CPU and RAM usage to Metrics ( #6968 )
...
* Add CPU usage to Metrics
* Add RAM usage and rename to system-stats
* Shellcheck
* Remove SC exception
* Address review comments
2019-11-14 20:36:34 -08:00
006c39380a
Display 'none' instead of 0.0.0.0 ( #6973 )
2019-11-14 20:24:35 -07:00
22f2247f46
Cargo.lock
2019-11-14 16:59:30 -07:00
852a2146ab
Add Blocktree api to get transactions by slot ( #6966 )
...
* Add blocktree method to get confirmed-block txs
* Clean up use statements
* Add test, and fmt
* Plumb new blocktree method into getConfirmedBlock
2019-11-14 16:34:39 -07:00
99b42f210c
Remove unused sha2 dep ( #6964 )
...
automerge
2019-11-14 14:01:11 -08:00
ae3c9033c1
Stop running testsuites when only the book is modified ( #6956 )
2019-11-14 14:36:08 -07:00
03f7f0d18c
Rename getBlock to getConfirmedBlock; remove getBlocksSince ( #6961 )
...
automerge
2019-11-14 13:14:42 -08:00
79d7090867
Remove obsolete references to Blob ( #6957 )
...
* Remove the name "blob" from archivers
* Remove the name "blob" from broadcast
* Remove the name "blob" from Cluset Info
* Remove the name "blob" from Repair
* Remove the name "blob" from a bunch more places
* Remove the name "blob" from tests and book
2019-11-14 11:49:31 -08:00
e7f63cd336
Upgrade to rust 1.39.0 ( #6939 )
...
* Upgrade to rust 1.39.0
* 1.39.0 clippy
2019-11-14 12:27:01 -07:00
f108f483b7
Remove Blobs and switch to Packets ( #6937 )
...
* Remove Blobs and switch to Packets
* Fix some gossip messages not respecting MTU size
* Failure to serialize is not fatal
* Add log macros
* Remove unused extern
* Apparently macro use is required
* Explicitly scope macro
* Fix test compile
2019-11-14 10:24:53 -08:00
d6cbb02c92
Bump rocksdb from 0.12.4 to 0.13.0 ( #6952 )
...
automerge
2019-11-14 09:59:54 -08:00
42af8b199f
feat: add tests for invalid/failure cases ( #6951 )
2019-11-14 11:41:26 -05:00
dbbd9663b2
Consolidate error messaging into result detail ( #6950 )
2019-11-14 11:18:38 -05:00
f4846b6fe4
Update rent.rs
2019-11-14 08:55:09 -07:00
a28a34f61c
Clean up DB names in automation ( #6949 )
2019-11-14 10:20:10 -05:00
96d47c51a1
Tighten up AWS testcases ( #6948 )
2019-11-14 10:17:50 -05:00
f27c11ccd8
Add Azure testnet to automation ( #6911 )
...
* Add Azure testnet to automation
2019-11-14 09:14:53 -05:00
43e2301e2c
Fix roots overrunning broadcast ( #6884 )
...
* Add trusted pathway for insert_shreds to avoid checks
2019-11-14 00:32:07 -08:00
7b05b3dbb3
rent collector improvments ( #6888 )
...
* avoid account copying + pre-empt rent
* adding support for base rent
2019-11-14 10:56:49 +05:30
c96b8c8d68
Script to run net-shaper on remote nodes ( #6938 )
...
* Script to run net-shaper on remote nodes
* fixes
2019-11-13 20:31:44 -08:00
4fc767b3f6
Move version! from core:: to clap_utils:: ( #6944 )
...
* Move version! from core to clap-utils
* Completely move version! from core:: to clap_utils::
* rustfmt
* Do remaining transition after rebase
2019-11-14 13:10:38 +09:00
cc96848b01
Remove unneeded prepare_batch() assert ( #6941 )
...
automerge
2019-11-13 17:08:21 -08:00
6009801c5f
More granular timings in shred generation ( #6900 )
2019-11-13 16:30:12 -08:00
f116cdeed9
Add validator catchup command ( #6922 )
2019-11-13 15:58:14 -07:00
5f38fa379c
Tool to partition network and induce packet drops/delays ( #6933 )
...
* Tool to partition network and induce packet drops/delays
* clippy fixes
* review comments
2019-11-13 13:59:55 -08:00
e2fb9ac829
feat: remove unwraps from client code, fixes #6915 ( #6927 )
2019-11-13 14:41:54 -07:00
f83254d760
Update Iftop command in testnet automation ( #6908 )
...
* Update iftop command
2019-11-13 14:41:42 -05:00
ee5cc733a1
Log blocktree and snapshot open times ( #6930 )
...
automerge
2019-11-13 11:20:39 -08:00
18a17cfbbf
Implement Display trait ( #6929 )
2019-11-13 11:44:07 -07:00
a3a830e1ab
Delete Service trait ( #6921 )
2019-11-13 11:12:09 -07:00
4b1e9ada18
Fix busted failure messaging for slack app uploading ( #6928 )
...
* Add informative failure message
* Correctly expand variable names inside failed command string
2019-11-13 13:04:14 -05:00
9026339d35
Restore is_frozen() asserts ( #6925 )
2019-11-13 10:40:51 -07:00
0be13a6295
Silence cargo install error in bpf script ( #6926 )
...
automerge
2019-11-13 08:57:12 -08:00
fcc2874591
Remove/address some TODOs ( #6923 )
2019-11-13 09:43:15 -07:00
9246bee12b
feat: default 8gb hard memory limit for redis ( #6913 )
2019-11-13 11:09:20 -05:00
30a08f4282
Cleanup ledger macros ( #6916 )
...
automerge
2019-11-13 07:14:09 -08:00
e5c5f34f9a
Make solana-validator check vote account at start ( #6790 )
...
* Make solana-validator check vote account at start
* Don't abort tests...
* Fix test breakage
* Remove extra semicolon
* Attempt to fix cluster-tests
* rustfmt
* Change behavior of vote_account ephemeral pubkeys
* save
* clean up
* clean up
* rustfmt && clippy
* Reorder for simpler diff
* Fix rebase...
* Fix message a bit
* Still more rebase fixes....
* Fix yet more
* Use find_map over filter_map & next and revert message
* More through error checks
* rustfmt & clippy
* Revert
* Revert core/src/validator.rs
* Cleanup
* Cleanup
* Cleanup
* Rebase fix
* Make clippy & rustfmt happy
* save
* Clean up
* Show rpc error detail
* Check node lamports only after pubkey matching
* rustfmt
2019-11-13 16:48:55 +09:00
361eab1bf7
Remove unused dependencies ( #6917 )
...
automerge
2019-11-12 22:00:29 -08:00
2fd2140f64
🍢 banking-bench/, genesis-programs/ and local-cluster/ ( #6920 )
...
* git mv genesis_programs genesis-programs
* git mv local_cluster local-cluster
* git mv banking_bench banking-bench
2019-11-12 22:20:48 -07:00
86faa3f995
Properly type RpcClient::get_version() ( #6919 )
2019-11-12 22:01:04 -07:00
81acd94153
Cleanup local cluster ( #6897 )
...
* Boot integration tests from unit test build
* Move bench-tps and bench-exchange integration tests out of local_cluster
* Fix build
2019-11-12 20:30:35 -07:00
48987bed67
Bump num-traits from 0.2.8 to 0.2.9 ( #6914 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/rust-num/num-traits/releases )
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.8...num-traits-0.2.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-12 20:27:30 -07:00
4405e8a15b
Automatically run dot to generate PDFs or PNGs ( #6912 )
2019-11-12 20:27:15 -07:00
24cb4798bc
Map all private IP to public IP for log-analyzer ( #6907 )
...
* Map all private IP to public IP for log-analyzer
* fixes
* shellcheck fixes
2019-11-12 15:48:46 -08:00
986e9e268e
Revive the parallel bank client from v0.16 ( #6903 )
2019-11-12 15:26:21 -07:00
71bf8c5f85
Keygen grind fix and improve --ignore-case ( #6901 )
...
* keygen: grind --ignore-case was not honored
* keygen: Improve grind --ignore-case ergonomics
Don't silently require the user to know their search term needs to be lowercase
* fmt
2019-11-12 14:24:37 -07:00
5a629ff387
Bump num_cpus from 1.11.0 to 1.11.1 ( #6905 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.11.0...v1.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-12 14:24:05 -07:00
148a58865e
Make creating new snapshot.tar.bz2 truly-atomic ( #6902 )
2019-11-12 14:21:56 -07:00
2523fa73cf
Use release as default ( #6896 )
2019-11-12 13:39:12 -07:00
6d76c34291
Handle dead slots when loading ledger ( #6887 )
2019-11-12 13:38:26 -07:00
3faeb7fa79
Rename solana-netutil to solana-net-utils for consistency ( #6895 )
...
* sed -i -e 's/netutil/net_utils/g' $(git grep --files-with-matches netutil :**.rs)
* sed -i -e 's/netutil/net-utils/g' $(git grep --files-with-matches netutil)
* git mv netutil/ net-utils
* Tweak a bit
* Fix rustfmt & clippy
2019-11-12 13:37:13 -07:00
bb00904fc8
add rent reserve for bootstrap stakes ( #6876 )
...
* genesis investor stakes
* assert rent is sufficient for these bootstrappers
2019-11-12 12:33:40 -08:00
73e3fc7c4f
Add packet loss analyzer to testnet automation ( #6715 )
...
* Add packet loss analyzer to testnet automation
2019-11-12 14:51:36 -05:00
5903339c17
feat: return bank/block info with block-related results ( #6716 )
2019-11-12 14:49:41 -05:00
2688ae614c
Add public IP address option to automation ( #6899 )
...
* Add public IP address option to automation
* Make public IP use the default behavior
2019-11-12 13:55:19 -05:00
5670cafda4
Fix caching data shreds as coding shreds ( #6877 )
2019-11-12 10:29:58 -08:00
4bc8fd3267
Add --no-genesis-fetch flag ( #6893 )
2019-11-12 10:42:04 -07:00
bb2fa9957a
Increase default AWS instance size to match GCE and Azure ( #6773 )
2019-11-12 12:27:59 -05:00
c6b108ef4f
Don't panic in sdk/ when genesis fails to load ( #6892 )
2019-11-12 10:24:49 -07:00
bb158a9b48
Add provider specific self destruct timeouts ( #6894 )
2019-11-12 12:21:24 -05:00
c2fdbde68f
forks graph can now optionally display all validator votes ( #6885 )
2019-11-12 10:13:16 -07:00
7e82450d7b
Serialize transaction in proper wire format instead of json ( #6889 )
2019-11-12 10:45:10 -05:00
188dbdb068
Ignore symlinked logdir in repo root ( #6891 )
2019-11-12 10:36:53 -05:00
25866f3652
print command now supports multiple slots and decodes system/vote instructions ( #6878 )
2019-11-11 23:22:20 -07:00
c7e2057d2d
Install xargo if a new version is available ( #6882 )
...
automerge
2019-11-11 20:32:07 -08:00
d84f367317
Extract duplicate clap helpers into clap-utils ( #6812 )
2019-11-12 09:42:08 +09:00
95d6586dd7
Remove debug datapoint that isn't being plotted ( #6873 )
2019-11-11 14:25:25 -08:00
e8e13fdeeb
Insert coding shreds to blocktree only if needed in future ( #6836 )
...
* Insert coding shreds to blocktree only if needed in future
* fixes
2019-11-11 13:12:55 -08:00
816b2d7ff8
Tune repair to be less aggressive ( #6868 )
2019-11-11 13:12:22 -08:00
91cfa0aac9
Upgrade xargo if old ( #6869 )
2019-11-11 12:58:24 -08:00
4be646c695
discover() by gossip sockaddr instead of just by gossip ip address ( #6865 )
2019-11-11 12:42:58 -07:00
a23c6177d5
Use reusable provider-specific testnet keypairs ( #6866 )
...
* Use reusable provider-specific testnet keypairs
* shellcheck
2019-11-11 12:08:22 -07:00
cc6e1ea200
Stub out getBlocksSince
and getBlock
methods ( #6853 )
...
* Add getBlocksSince rpc method, and initial stub of getBlock method
* Return test transactions from getBlock method
* clippy
* Add comment on get_block method
2019-11-11 13:18:34 -05:00
596d30661a
Echo failed command to results app ( #6859 )
2019-11-11 09:37:11 -07:00
b971eeca4b
Add ryoqun to ssh authorized keys ( #6860 )
2019-11-11 17:12:24 +09:00
cfab36cb1d
Include channel and commit info in the version of pre-release builds ( #6819 )
2019-11-10 22:39:13 -07:00
5835b3b8eb
Increase timeout when confirming airdrop for max commitment ( #6858 )
...
* Increase timeout when confirming airdrop for max commitment
* Add commitment to airdrop rpc trace
* Flip commitment check
2019-11-10 12:20:52 -05:00
62eea636b0
Update jsonrpc-api.md
2019-11-09 19:46:04 -05:00
b14e61ff79
Filter any net/log* directory from rsync ( #6857 )
2019-11-09 13:38:17 -08:00
59adc25c23
Implement non-GPU mode testcase for colo ( #6856 )
2019-11-09 09:38:06 -07:00
86ead6a65c
Update book toc for readonly accounts ( #6854 )
2019-11-09 08:25:24 -07:00
fbfbafa3d4
Update readonly accounts docs ( #6801 )
2019-11-09 07:35:37 -07:00
1ddf90ed08
Compress contact_info_trace() output to improve CI log rendering ( #6852 )
2019-11-09 01:12:18 -07:00
0fbd508c5f
Only check the entrypoint's RPC address ( #6851 )
2019-11-09 00:56:31 -07:00
24a7b0ce74
Add print-genesis-hash command ( #6849 )
2019-11-08 23:17:48 -07:00
68eafb3f30
Ensire config dir exists
2019-11-08 22:18:21 -07:00
2649f6bdd6
Avoid excessive log/ relinking
2019-11-08 21:57:50 -07:00
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
63425bed10
Move move tests into its own job ( #6847 )
2019-11-08 20:40:03 -07:00
02058ea699
Reject blocks with invalid last ticks in replay stage ( #6833 )
...
* Reject blocks with invalid last ticks in replay stage
* slot_full
2019-11-08 20:21:54 -05:00
91be35731c
Fix freeze and register_tick race ( #6799 )
...
* Fix freeze and register_tick race
* Add test
2019-11-08 17:21:17 -08:00
d1daeb44e6
Remove custom stack_size() ( #6844 )
2019-11-08 17:11:07 -07:00
efdfc5c327
Remove TODOs ( #6843 )
2019-11-08 16:43:18 -07:00
9c00ad9ff2
Remove some low-hanging TODOs ( #6839 )
2019-11-08 16:41:36 -07:00
151adab739
earlyoom now works on reboots ( #6841 )
2019-11-08 16:40:38 -07:00
162b1bdef7
Add more tests ( #6834 )
...
automerge
2019-11-08 15:07:11 -08:00
da425cc225
Don't insert coding shreds into blocktree on leader ( #6831 )
2019-11-08 13:54:23 -08:00
346213da4c
Check for LD_DW at the end of a program ( #6821 )
2019-11-08 13:30:44 -08:00
8babecd890
Remove todo from account ( #6827 )
2019-11-08 13:30:21 -08:00
2855c55ac1
Move loader does not need genesis auth key ( #6818 )
2019-11-08 11:52:56 -08:00
bb9649e18d
Replacd todo with issue ( #6823 )
2019-11-08 11:48:07 -08:00
2f7d0e7884
TODO already covered by issue ( #6828 )
2019-11-08 11:45:17 -08:00
dfc4d7cb50
Remove unsupported test ( #6820 )
2019-11-08 11:37:47 -08:00
b800642fa4
Add new fork log message for when the node is leader for consistency ( #6808 )
2019-11-08 12:30:25 -07:00
5b6c590057
run.sh logs validators to stderr ( #6817 )
2019-11-08 11:30:19 -08:00
66a0f54097
Replay should respect order of register_ticks with respect to blockhashes ( #6805 )
2019-11-08 12:29:41 -07:00
f8e64aad5b
ci/shellcheck.sh now only audits files that git knows about ( #6815 )
2019-11-08 10:25:59 -07:00
cd5ec8cd35
Fix blind keyed_account indexing in BPF and Move loader ( #6810 )
2019-11-08 09:19:19 -08:00
75fd13de5d
Prevent ci/nits.sh from incorrectly nitting on ci/nits. ( #6814 )
2019-11-08 09:40:25 -07:00
807af8670e
Clean up net logs ( #6813 )
2019-11-08 10:25:17 -05:00
5bd05fba09
require to
account signature ( #6658 )
...
* require to signature
* fixing invocation to create_account
* fix create_account references
* address review comment
* whacking bugs in tests
* fixing stake program tests
2019-11-08 15:57:35 +05:30
f7b6e777bf
Revert "Clean up net/log symlinks ( #6794 )" ( #6809 )
...
This reverts commit 68353b7e57
.
2019-11-07 22:15:45 -07:00
68353b7e57
Clean up net/log symlinks ( #6794 )
2019-11-07 23:45:19 -05:00
8e81bc1b49
Fix pinning ( #6604 )
...
Remove Deref implementations and add more pass-throughs to the PinnedVec
wrapper.
Warm recyclers
set_pinnable
2019-11-07 19:48:33 -08:00
80a89b5e6d
Revert "Revert "Add inflation to epoch phases ( #6787 )" ( #6802 )" ( #6806 )
...
automerge
2019-11-07 18:33:14 -08:00
b64b54f48f
unfork dalek ed25519 ( #6776 )
2019-11-07 17:08:10 -08:00
20a52f153b
Fix iftop not being stopped correctly ( #6803 )
...
automerge
2019-11-07 17:03:14 -08:00
d89271528e
Revert "Add inflation to epoch phases ( #6787 )" ( #6802 )
...
automerge
2019-11-07 16:43:09 -08:00
ccac35fc01
Increase FEC ratio to 32:32 ( #6800 )
...
automerge
2019-11-07 16:38:06 -08:00
23e232b496
Avoid : in default log filename ( #6796 )
2019-11-07 15:36:29 -07:00
ddcf906a88
Add docs for FEC rate calculation ( #6788 )
...
automerge
2019-11-07 12:44:40 -08:00
09e8124017
Tool to reconfigure netem on testnet ( #6781 )
...
automerge
2019-11-07 11:14:33 -08:00
67d1e2903c
Upgrade Repair be more intelligent and agressive ( #6789 )
...
* Upgrade Repair be more intelligent and agressive
* Fix u64 casts
* Fix missing bracket
* Add 1 second delay to test to allow repair to kick in
2019-11-07 11:08:09 -08:00
a9c4cd6cbe
Add inflation to epoch phases ( #6787 )
2019-11-07 10:53:04 -08:00
180bc1784e
Book: Add blockhash to terminology ( #6711 )
...
automerge
2019-11-07 10:46:04 -08:00
f984feda42
Use get_slot_with_commitment ( #6791 )
2019-11-07 10:41:58 -07:00
56fc15f44d
Fix units on dead slots graph
2019-11-07 08:26:13 -07:00
e0d9f7d1d4
Fix genesis arg names in run.sh ( #6785 )
2019-11-06 23:27:10 -05:00
87ba66b6d0
Add net/ support for reusable identity keypairs ( #6783 )
2019-11-06 21:14:05 -07:00
e420800aeb
Update terminology for block height and genesis block ( #6782 )
2019-11-06 23:09:03 -05:00
a684984f8b
feat: add confirm_transaction, add rpc client test ( #6778 )
2019-11-06 22:08:03 -05:00
079682fbdc
Add ping cli option to use CommitmentLevel::Max, instead of CommitmentLevel::Recent ( #6775 )
2019-11-06 18:54:17 -07:00
2491719f36
Fix windows build ( #6774 )
2019-11-06 16:07:28 -07:00
65de227520
Don't panic on packet data ( #6769 )
2019-11-06 14:32:37 -08:00
29f3b198cf
Update snapshot verification proposal ( #6764 )
...
automerge
2019-11-06 13:48:28 -08:00
0ace79939b
Add reference tick to data shreds ( #6772 )
...
* Add reference tick to data shreds
* fix tests
2019-11-06 13:27:58 -08:00
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
5e8668799c
Fewer recyclers. ( #6770 )
...
automerge
2019-11-06 12:35:51 -08:00
8fa6935c9d
Validators now log to a file by default (use -o -
/--log -
for stderr) ( #6768 )
...
automerge
2019-11-06 11:47:34 -08:00
a1fe6265fd
use pubkeys in genesis ( #6750 )
2019-11-06 11:18:25 -08:00
67f636545a
Refactor sigverify to stage for signing shreds on the GPU ( #6635 )
...
automerge
2019-11-06 10:52:30 -08:00
ec50c20400
Add time in net/logs path ( #6701 )
2019-11-06 10:43:12 -08:00
18f146ace5
validator/: Restructure main() to fully parse cli arguments first ( #6765 )
2019-11-06 11:34:31 -07:00
a91bf296d7
Add some addition packages to DC installer scripts ( #6755 )
...
* Add 'cmake' to default DC node installer
* Add 'sysstat' to default DC node installer
For 'iostat'
* Add 'perf' to default DC node installer
* Add 'iftop' to default DC node installer
2019-11-06 09:48:45 -07:00
bb8985d76c
[Security] Bump spin from 0.5.0 to 0.5.2 ( #6621 )
...
Bumps [spin](https://github.com/mvdnes/spin-rs ) from 0.5.0 to 0.5.2. **This update includes security fixes.**
- [Release notes](https://github.com/mvdnes/spin-rs/releases )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-06 08:31:25 -07:00
7ff2a44a63
Make last shred for an interrupted slot signed + typed ( #6760 )
2019-11-06 08:25:17 -07:00
b5074d8577
Enable JSON RPC request/response logging by default ( #6758 )
2019-11-06 08:23:13 -07:00
5c1abaf43c
Bump cc from 1.0.46 to 1.0.47 ( #6741 )
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.46...1.0.47 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-06 08:23:00 -07:00
dc3988eff8
CLI changes required for to
account signing ( #6678 )
...
* CLI changes draft
* use tempfile
* remove un-necessary error handling
* use keypair instead of pubkey
2019-11-06 20:17:34 +05:30
24102a7435
Allow voting on empty banks ( #6719 )
...
* Allow votes on empty banks
* Remove making first bank is_delta true, no longer necessary for idling
* Remove votable from ledger tool
2019-11-06 01:02:26 -08:00
9614d17024
Limit deserialization of data coming off the wire ( #6751 )
...
* Limit deserialization of data coming off the wire
* Feedback and cleanup
2019-11-06 00:07:57 -08:00
8e3be6413e
Cargo.lock
2019-11-05 20:02:09 -07:00
09e648f957
ledger-tool/: Include full validator voting history in fork-graph ( #6756 )
2019-11-05 19:40:00 -07:00
0c2bf022fa
Apply netem packet rules to only UDP traffic ( #6754 )
2019-11-05 18:34:04 -08:00
1c5d2a85cf
Fix substitution of private IP with public IP in iftop logs ( #6748 )
...
automerge
2019-11-05 15:08:35 -08:00
8993b15248
Integrated use of netem with testnet scripts ( #6746 )
...
automerge
2019-11-05 15:04:06 -08:00
8f91b5aab3
Add threshold to repairman for same slot ( #6728 )
2019-11-05 12:48:45 -08:00
46391397b8
Bump indicatif from 0.12.0 to 0.13.0 ( #6736 )
...
Bumps [indicatif](https://github.com/mitsuhiko/indicatif ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases )
- [Commits](https://github.com/mitsuhiko/indicatif/compare/0.12.0...0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-05 13:25:28 -07:00
85c9a231c1
Include the affected slot in blocktree error metrics ( #6734 )
2019-11-05 13:25:21 -07:00
c312d4fba0
Calculate proofs collected and don't encrypt if there are none ( #6698 )
2019-11-05 11:38:50 -08:00
7203036e3e
Adjust nofiles within Blocktree::open() for all ledger/ users ( #6737 )
...
automerge
2019-11-05 11:18:49 -08:00
b9d8e3e55a
Only copy whats needed to verify an instruction after processing ( #6669 )
2019-11-05 10:57:32 -08:00
08973f9f05
Adjust default signature fee for base-10 lamports ( #6738 )
2019-11-05 11:21:45 -07:00
c6931dcb07
Remove credit-only account handling ( #6726 )
...
* Renaming
- credit-only/credit-debit to read-only/read-write
- debitable to writable
* Remove credit handling, making credit-only accounts read-only
* Update programs to remove deprecated credit-only account designation
* Use readonly and writable instead of underscored types
2019-11-05 09:38:35 -07:00
cea13e964c
Add --graph-forks option ( #6732 )
2019-11-04 23:18:30 -07:00
d207a34736
remove duplicate signal handling ( #6702 )
2019-11-05 11:36:51 +05:30
fba1af6ea9
ledger-tool can now load a ledger snapshot ( #6729 )
2019-11-04 22:14:55 -07:00
b825d04597
Pull perf into a separate module. ( #6718 )
...
automerge
2019-11-04 20:13:43 -08:00
3133ee2401
Fix limited iftop output and failure to stop iftop ( #6723 )
...
* Fix limited iftop output and failure to stop iftop
* Shellcheck
* Ignore shellcheck
2019-11-04 18:12:07 -08:00
4d52f47f87
Move get_bank_forks() into ledger/ so its available for use by ledger-tool/ ( #6720 )
2019-11-04 19:10:06 -07:00
f54cfcdb8f
Store and persists full stack of tower votes in gossip ( #6695 )
...
* vote array
wip
wip
wip
update
gossip index should match tower index
tests build
clippy
test index after expired vote
test
bank specific last vote sync time
* verify
* we are likely to see many more warnings about old votes now
2019-11-04 16:19:54 -08:00
57983980a7
Lower verify-batch-size to debug ( #6722 )
...
automerge
2019-11-04 16:00:59 -08:00
33f4aaf3fd
Rename confidence to commitment ( #6714 )
2019-11-04 16:44:27 -07:00
c138d692b1
Show all ports for nodes in gossip table ( #6717 )
...
* Show all ports for nodes in gossip table
* review comments
2019-11-04 15:05:08 -08:00
fb12136975
Add genesis_accounts module ( #6708 )
2019-11-04 13:46:33 -07:00
efe260f12e
sysvar trait ( #6667 )
...
* sysvar trait
* get the new guy in on it
2019-11-04 12:31:24 -08:00
b9b535c30f
move system_instruction::transfer() to
credit-debit ( #6677 )
...
* transfer no credit only
* use a credit-only transfer in the credit-only test
2019-11-04 12:30:59 -08:00
d085c8626f
GCE: Add instances self-destruct ( #6363 )
...
automerge
2019-11-04 10:30:26 -08:00
5e3697807c
Fail gracefully if AVX support is missing ( #6705 )
2019-11-04 11:03:39 -07:00
5416c114cf
SDK: Add sysvar to expose recent block hashes to programs ( #6663 )
...
* SDK: Add sysvar to expose recent block hashes to programs
* Blockhashes is one word
* Missed one
* Avoid allocs on update
* unwrap_or_else
* Use iterators
* Add microbench
* Revert "unwrap_or_else"
This reverts commit a8f8c3bfbe
.
* Revert "Avoid allocs on update"
This reverts commit 486f01790c
.
2019-11-04 10:51:15 -07:00
a0127e63c6
pay subcommand now accepts a keypair file for convenience ( #6703 )
2019-11-04 09:36:49 -07:00
8b2327ed34
Remove unneeded lib.rs
2019-11-04 08:11:40 -07:00
3938142535
keygen: add dedicated solana-keygen grind
command ( #6697 )
...
* Remove dead code
* Speed up vanity key grinding
2019-11-03 19:41:26 -08:00
66f76c8067
Bump console from 0.9.0 to 0.9.1 ( #6700 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.0...0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-03 19:41:16 -08:00
568475e2db
Fix incorrectly signed CrdsValues ( #6696 )
2019-11-03 10:07:51 -08:00
9ea398416e
Sign shreds on the GPU ( #6595 )
...
* sign gpu shreds
* wip
* checks
* tests build
* test
* tests
* test
* nits
* sign cpu test
* write out the sigs in parallel
* clippy
* cpu test
* prepare secret for gpu
* woot!
* update
* bump perf libs
2019-11-02 06:23:14 -07:00
50a17fc00b
Use Slot and Epoch type aliases instead of raw u64 ( #6693 )
...
automerge
2019-11-02 00:38:30 -07:00
f9a9b7f610
Better output layout for iftop logs ( #6690 )
...
automerge
2019-11-01 16:36:02 -07:00
a57f6b70da
Fix swapped repair and forwards addrs ( #6691 )
...
automerge
2019-11-01 16:01:42 -07:00
bae83ba2b6
Compare iftop logs using log-analyzer ( #6684 )
...
* Compare iftop logs using log-analyzer
* fixes
* fix clippy errors
2019-11-01 14:48:23 -07:00
385b4ce959
Get rid of verified packets and use the Meta::discard flag ( #6674 )
...
* get rid of verified packets and use the disabled meta field everywhere
2019-11-01 14:23:03 -07:00
7b6e3a23be
Add new pubkey to auth keys ( #6687 )
2019-11-01 14:44:10 -06:00
1cc8956f74
Get Azure provider working again ( #6659 )
...
* Wait for node creation before continuing
* Programatically set networking rules
* Add network security group to nodes upon creation
* shellcheck
2019-11-01 14:43:31 -06:00
e6c8bfd008
Add --use-move flag to cargo-install-all.sh and net/net.sh ( #6670 )
2019-11-01 07:53:30 -07:00
2d67962c2f
Send repairman shreds to the repair socket ( #6671 )
2019-10-31 18:23:50 -07:00
2e30926ac3
New program to process iftop
log output ( #6668 )
...
* New program to process iftop log output
* fixes
* fix shellcheck
* address review comments
* more review comments
2019-10-31 18:22:57 -07:00
d2c66c40c6
Have cargo-install-all.sh also look in program target dirs for so's ( #6631 )
2019-10-31 14:40:54 -07:00
a4d48df30a
Add assertion when filling blocktree slot with ticks ( #6664 )
...
automerge
2019-10-31 14:15:07 -07:00
c52830980a
Rework get_slot_meta ( #6642 )
...
* Assert slotmeta is not orphan
* Clean up get_slot_meta functionality
* Add test
2019-10-31 14:03:41 -07:00
e8e5ddc55d
Verify number of hashes for each block of entries ( #6262 )
...
* Verify number of hashes for each block of entries
* Fix blocktree processor tick check
* Rebase once more
2019-10-31 16:38:50 -04:00
111942a47d
document clock ( #6662 )
2019-10-31 13:26:55 -07:00
bc88180058
stake split ( #6402 )
...
* stake split
* stake split
2019-10-31 11:07:27 -07:00
3a616de47b
Implementation of AWS support in automation ( #6602 )
...
* Implementation of AWS support in automation
* Add 10 node testcase
* Add cleanup for ec2 provider and single zone testcase
2019-10-31 12:00:10 -06:00
9d65e6f183
Fix check in should_insert_data_shred ( #6649 )
2019-10-30 23:37:25 -07:00
328a6a866e
Fix code comment ( #6640 )
...
automerge
2019-10-30 22:21:34 -07:00
5264fded00
Avoid alloc due to vector pushes ( #6632 )
2019-10-30 21:55:17 -07:00
83d5115a02
Add --starts-with for vanity key grinding ( #6647 )
2019-10-30 20:47:42 -07:00
0559212df7
log bench ( #6643 )
2019-10-30 19:51:44 -07:00
f131255066
Add ~/.cargo/bin to PATH ( #6641 )
2019-10-30 19:41:24 -07:00
59f3dc3b6b
Fix PohRecorder Metrics ( #6644 )
...
* Update Poh Recorder Dashboard
* Update PohRecorder logging
2019-10-30 18:55:29 -07:00
6454bfe754
Rework get_index_meta ( #6636 )
2019-10-30 16:48:59 -07:00
7bb224f54a
Install ag on nodes ( #6634 )
...
automerge
2019-10-30 16:43:16 -07:00
fa12a5f70b
kill rent calculator ( #6625 )
2019-10-30 16:25:12 -07:00
d2d78a073f
Remove lingering references to base-2 SOLs ( #6629 )
...
automerge
2019-10-30 14:59:44 -07:00
6d403f2d85
Remove stray println
2019-10-30 14:44:26 -07:00
8032141311
Add --no-multi-client ( #6624 )
2019-10-30 14:43:30 -07:00
38491c8c4b
Reduce verify-batch-size log ( #6623 )
2019-10-30 13:41:11 -07:00
627664b785
Re-enable tests ( #6615 )
...
automerge
2019-10-29 21:34:20 -07:00
dfa1c7493c
Ignore flaky move test ( #6616 )
...
automerge
2019-10-29 21:21:35 -07:00
801337a422
Refactor Weighted Shuffle ( #6614 )
...
automerge
2019-10-29 21:02:11 -07:00
4ec95043d7
Update sol:lamport ratio to base-10 ( #6611 )
...
* Update sol:lamport ratio
* Update various SOL quantities in bash scripts
2019-10-29 20:03:48 -06:00
b4dc1a7263
Remove move feature ( #6605 )
...
automerge
2019-10-29 17:14:07 -07:00
ef3aa2731c
Fix Weighted Best calculation ( #6606 )
...
automerge
2019-10-29 17:04:11 -07:00
e738019c48
Add Ramp TPS table
2019-10-29 16:18:58 -07:00
a5ef78f709
Expand CF's ( #6528 )
2019-10-29 16:18:03 -07:00
4156cea704
Fixup running-validator docs ( #6607 )
...
* Fixup validator docs
* Remove $
2019-10-29 17:13:20 -06:00
a587d05098
fix re delegate ( #6603 )
2019-10-29 14:42:45 -07:00
489dc657c6
Update libra to new fork ( #6523 )
...
* Update to new libra branch
* Use core and association addresses
2019-10-29 10:39:10 -07:00
029a2837e4
Bump jsonrpc-http-server from 14.0.1 to 14.0.3 ( #6597 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.1...v14.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-29 10:30:06 -07:00
618ecfd1c6
Bump base64 from 0.10.1 to 0.11.0 ( #6596 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.10.1...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-29 10:29:58 -07:00
83174b919c
Remove unstable default-run directive ( #6599 )
...
automerge
2019-10-29 10:28:48 -07:00
d952b38f93
Ensure nofiles is not capped at 1024 on a node reboot
2019-10-28 23:21:34 -07:00
1e2ab89b47
Ensure redis-server is started on a reboot
2019-10-28 20:58:46 -07:00
34a9619806
SigVerify stage for shreds. ( #6563 )
2019-10-28 16:07:51 -07:00
9ee65009cd
Implement allowing validator boot failure into automation ( #6589 )
...
* Pass allow boot failures through create AND start
* Extend sleep timeout to all nodes
* Add 100 node testcase
* Reduce consistent sleep
2019-10-28 16:43:40 -06:00
85ccba366a
Run localnet in development mode ( #6587 )
2019-10-28 15:35:17 -07:00
579a02529d
Fix unnecessarily copying shreds in broadcast stage ( #6588 )
...
* Optimize coalesce_shreds to not explictly clone
* Remove Coalesce Shreds altogether
* fn no longer needs clippy exception
2019-10-28 14:58:27 -07:00
b04c8c1c1a
Demote blocktree metrics log level ( #6590 )
...
automerge
2019-10-28 14:46:43 -07:00
243fa6cf63
Shred gpu sigverify ( #6520 )
...
Implement APIs for verifying shred signatures on the GPU.
2019-10-28 10:29:38 -07:00
30c0a7d069
Bump serde from 1.0.101 to 1.0.102 ( #6581 )
...
automerge
2019-10-28 09:19:39 -07:00
71b4e765c8
Bump itertools from 0.8.0 to 0.8.1 ( #6583 )
...
Bumps [itertools](https://github.com/bluss/rust-itertools ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/bluss/rust-itertools/releases )
- [Commits](https://github.com/bluss/rust-itertools/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 08:26:15 -07:00
73dd5aa2d1
Bump serde_derive from 1.0.101 to 1.0.102 ( #6582 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.101...v1.0.102 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-28 08:24:13 -07:00
96e209db49
Colo: Don't fail without a message ( #6558 )
2019-10-28 09:20:49 -06:00
0c14ca58c7
Invoke on-reboot from cloud startup script to avoid racing with cron ( #6579 )
...
automerge
2019-10-27 10:56:16 -07:00
f3c0aa154a
-a is optional
2019-10-26 22:48:24 -07:00
6efaaa9d7a
Blocktree metrics ( #6527 )
...
* Add metrics for blocktree performance
* Plumb metrics through window service
2019-10-26 16:15:59 -07:00
08238e8307
Add proposal for tick verification in slots ( #6512 )
...
* Add proposal for tick verification in slots
2019-10-26 16:14:30 -07:00
e1b35f9847
Fix race in blocktree.insert_shreds
( #6550 )
...
* Add guard for blocktree insert_shreds
* Add test
2019-10-26 04:09:58 -07:00
e174af7838
Use iftop to collect network bandwidth usage ( #6560 )
...
* Use iftop to collect network bandwidth usage
* fix shellcheck
* more shellchecks
* review comments
2019-10-26 00:06:46 -07:00
be74801236
Add NET_NUM_xyz variables
2019-10-25 23:00:14 -07:00
68acfd36d0
Bootstrap leader's stake is now authorized to the bootstrap leader's identity key ( #6571 )
2019-10-25 22:58:35 -07:00
c9cea2152b
optimize verify_instruction ( #6539 )
2019-10-25 21:47:16 -07:00
e966c96644
Disable sigverify on blockstreamer node
...
This node get overloaded at high TPS trying to manage both a validator
and the blockexplorer. Reduce it's workload by turning off sigverify,
which doesn't really matter since this node doesn't even vote
2019-10-25 21:33:08 -07:00
73c31d873e
Update Cargo.toml versions from 0.20.0 to 0.21.0 ( #6568 )
2019-10-25 17:40:49 -06:00
a2a9d54985
Increase node start stagger ( #6566 )
2019-10-25 17:35:29 -06:00
ea2b26e5f5
Fix scp client mint keypair ( #6565 )
2019-10-25 16:23:52 -07:00
d68e2c4d06
Revert "Make instruction data opaque to runtime ( #6470 )" ( #6564 )
...
This reverts commit 6eeca9c6f1
.
2019-10-25 16:22:41 -07:00
0cfa3d3de7
Return error if stake history deser fails in cli ( #6559 )
2019-10-25 16:44:09 -05:00
0d1f463f7f
Update testnet-manager.sh
2019-10-25 10:56:20 -07:00
ff34bfebde
Define 10, 25, 50 node testcases ( #6557 )
2019-10-25 11:43:53 -06:00
e103789994
Ignore exit code when the first mount fails
2019-10-25 10:11:32 -07:00
8a37b1e742
Bump jsonrpc-ws-server from 14.0.1 to 14.0.3 ( #6553 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:42 -07:00
0cf4eb2ee4
Bump jsonrpc-core from 14.0.1 to 14.0.3 ( #6552 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:25 -07:00
5496f85dbc
Bump crc from 1.8.1 to 1.9.0 ( #6511 )
...
Bumps [crc](https://github.com/mrhooray/crc-rs ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/mrhooray/crc-rs/releases )
- [Commits](https://github.com/mrhooray/crc-rs/compare/1.8.1...v1.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 09:40:17 -07:00
71ff269780
Add show-stake-history command to cli ( #6541 )
2019-10-25 12:20:08 -04:00
3879109e4c
Display full blocktree error
2019-10-25 08:37:39 -07:00
f901d71202
Update
2019-10-25 07:51:12 -07:00
1738632822
Bump jsonrpc-pubsub from 14.0.1 to 14.0.3 ( #6551 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 07:41:09 -07:00
bbd5dde66d
Bump jsonrpc-derive from 14.0.1 to 14.0.3 ( #6554 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.1...v14.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-25 07:41:03 -07:00
43c0103e4c
Enforce machine type definition on GCE ( #6555 )
2019-10-25 08:10:25 -06:00
6eeca9c6f1
Make instruction data opaque to runtime ( #6470 )
2019-10-24 22:38:57 -07:00
28d3af6f35
Add "bounds" command to ledger-tool and fix broken funtionality ( #6540 )
2019-10-24 22:20:52 -07:00
7f3072d53a
ignore test_fail_entry_verification_leader ( #6537 )
...
* Revert "Revert "Restore CUDA-based unit tests (#6518 )""
This reverts commit 27f38a3770
.
* ignore test_fail_entry_verification_leader
2019-10-24 21:16:17 -07:00
90461245f9
Reduce TdS fees to 1 lamport per sig, and slots_per_epoch/2 ( #6542 )
2019-10-24 20:37:23 -07:00
1c91c1e880
Remount /mnt/extra-disk on reboot
2019-10-24 20:14:26 -07:00
53c7be32b6
Add more retransmit and streamer stats ( #6534 )
2019-10-24 19:27:19 -07:00
397ea05aa7
spy nodes are now gossip entrypoints ( #6532 )
2019-10-24 15:35:33 -07:00
dadcb632d8
Specify machine type without necessarily enabling GPU ( #6529 )
...
* Specifiy machine type without necessarily enabling GPU
* Make long arg, extend --enable-gpu to automation
* Set machine types only in one place
* Fixup
* Fixup flag in automation
* Typo
* shellcheck
2019-10-24 15:12:25 -06:00
2de2fbd5e3
Remove stray setup_secondary_mounts
2019-10-24 13:48:57 -07:00
14eca5aea6
Remove setup_secondary_mount knowledge from multinode-demo/ ( #6530 )
2019-10-24 13:40:16 -07:00
27f38a3770
Revert "Restore CUDA-based unit tests ( #6518 )"
...
This reverts commit dc52b17c4d
.
2019-10-24 11:34:53 -07:00
7a7abe692e
Add mint keypair to solana clients for convenience ( #6536 )
2019-10-24 14:31:06 -04:00
f46a2cec3c
owner and executable checks ( #6526 )
...
* owner_checks
* only system program may assign owner, and only if pre.owner is system
* moar coverage!
* moar coverage, allow re-assignment IFF data is zeroed
2019-10-24 11:06:00 -07:00
8e5e48dd92
Add get-rpc-url --all flag ( #6533 )
2019-10-24 10:44:05 -07:00
a2543e5a8d
Upgrade RocksDB ( #6496 )
...
* Upgrade rocksdb
* Delete BatchProcessor
Those methods don't need to be `&mut self` and they're causing
compilation failures.
2019-10-24 11:30:53 -06:00
e9bdee3dc7
Add getEpochSchedule to rpc docs ( #6535 )
2019-10-24 11:30:11 -06:00
88033bccbb
Add mint keypair to validators for convenience ( #6531 )
2019-10-24 12:50:32 -04:00
b4119c454a
credit_only credits forwarding ( #6509 )
...
* credit_only_credits_forwarding
* whack transfer_now()
* fixup
* bench should retry the airdrop TX
* fixup
* try to make bench-exchange a bit more robust, informative
2019-10-23 22:01:22 -07:00
d398898c38
show-validators: display current/delinquent stake, and flag delinquent nodes ( #6525 )
2019-10-23 21:40:35 -07:00
39fc677781
Add 5 node GCE test cases ( #6524 )
...
* Add 5 node GCE test cases
* shell check
2019-10-23 22:05:05 -06:00
dc52b17c4d
Restore CUDA-based unit tests ( #6518 )
2019-10-23 20:09:28 -07:00
ddefc96433
Limit deserialization of program inputs ( #6522 )
2019-10-23 19:56:07 -07:00
955d0ab76f
Cleanup blocktree ( #6508 )
...
* Cut down on liberal use of borrow()
* No need to map_err(Into::into)
* Group From instances
* Remove Direction indirection
* Let rustfmt order imports
* Better copypasta
* Cleanup copypasta
* Add explicit lifetimes so that it doesn't get pegged to 'static when we upgrade rocksdb
* Remove redundant type aliases
2019-10-23 17:13:21 -06:00
f1172617cc
Purge accounts with lamports=0 on rooted forks ( #6315 )
2019-10-23 12:46:48 -07:00
6ce115ec95
Add commitment metrics implementation to book ( #5903 )
...
* Add commitment metrics implementation to book
2019-10-23 12:35:47 -07:00
03d29a8311
Async poh verify ( #6353 )
...
* Async poh verify
* Up ticks_per_s to 160
GPU poh verify needs shorter poh sequences or it takes forever to
verify. Keep slot time the same at 400ms.
* Fix stats
* Don't halt on ticks
* Increase retries for local_cluster tests and make repairman test serial
2019-10-23 12:11:04 -07:00
35cc74ef25
Add GenesisBlock::OperatingMode to control how cluster features are activated ( #6430 )
2019-10-23 11:50:10 -07:00
35d6196384
Surface nvidia-smi errors in CI
2019-10-23 10:59:30 -07:00
01fe7c90a5
Do not break build on missing curl results ( #6516 )
2019-10-23 11:04:15 -06:00
26b8747014
Exit cleanly for idle clients
2019-10-23 09:56:05 -07:00
bedb05bdeb
Plumb GEOLOCATION_API_KEY down to the blockexplorer ( #6514 )
2019-10-23 09:53:06 -07:00
6829b8a6fb
Ensure solana commands are added to idle clients ( #6513 )
2019-10-23 11:15:00 -04:00
e462a7d1d5
net: Add ability to only start/stop client nodes ( #6503 )
...
* Add info --eval
* net: Add ability to start idle client nodes
2019-10-22 16:08:49 -07:00
4c515d0ef1
Sagar: Add ssh keys for colo ( #6507 )
2019-10-22 15:59:39 -07:00
7d650eff8d
Match TPS stats to Grafana dashboard ( #6506 )
...
* Match TPS stats to Grafana dashboard
* Add label names
2019-10-22 16:27:26 -06:00
0b2d4f32fa
feat: get epoch schedule rpc, update cli ( #6500 )
2019-10-22 16:41:18 -04:00
4f25013954
Explicitly define commit SHA ( #6499 )
2019-10-22 13:55:58 -06:00
5c7735c40f
Increase drone airdrop request cap to 1_000_000 SOL ( #6497 )
2019-10-22 12:35:52 -07:00
e6438098e1
Increase archiver polling timeout ( #6501 )
...
automerge
2019-10-22 12:15:55 -07:00
45b2c138e5
Remove circular dependencies in blocktree ( #6494 )
...
* Delete dead code
* Flatten modules
* Break blocktree dependency cycle
* Move BloctreeError into blocktree_db
Fewer dependency cycles
* Inline column family names
Fewer circular dependencies
* Cleanup imports
* Fix build
2019-10-22 09:20:19 -06:00
75d68edfe7
Remove unused re-exports of database types and related dead code ( #6490 )
2019-10-22 06:36:42 -06:00
f80a5b8c34
Remove some TODOs ( #6488 )
...
* Remove stale TODOs
* Ban TODO markers from markdown
* Scrub all TODOs from ci/ and book/
2019-10-21 22:25:06 -07:00
1b1980ad49
Rename TEST_DURATION to TEST_DURATION_SECONDS ( #6493 )
2019-10-21 23:24:46 -04:00
3b9b9b1500
Rename remaining uses of fullnode to validator ( #6476 )
...
automerge
2019-10-21 20:21:21 -07:00
18feba2431
ADDITIONAL_FLAGS not handling multiple flags correctly ( #6492 )
...
* Fix ADDITIONAL_FLAGS parsing to handle multiple flags
* shellcheck
2019-10-21 23:17:41 -04:00
929a81e636
Beautify solana validator-info get
output ( #6483 )
...
automerge
2019-10-21 17:10:22 -07:00
00809a67c0
Push perf test results to slack app ( #6371 )
...
* Add script to publish testnet results to slack
* Obscure webhook URL
* fixup
* Replace read with cat redirection
* Turn back on net restart
* Pick nits
* Make symlink before trying to delete its contents
* Display test config in slack and pick Trents nit not to maybe rm -rf /*
* Clean up results print
* Minor nits
* Turn the test settings back up to 11
* typo
* Shellcheck
* Just a few more fields
* fix payload formatting
* Del clear-config.sh
* Mount secondary
* Add commit SHA link and Grafana time range URL
* Add fancy buttons instead of text URLs
* Tighten up test config display
* Fixup display nits
* chellsheck
* Rebase and fix typo
2019-10-21 20:00:17 -04:00
d1b18a5060
archiver.rs -> multinode-demo/archiver.sh ( #6487 )
...
automerge
2019-10-21 16:46:04 -07:00
3fb70b8d47
Ban XXX, TBD, FIXME comments ( #6486 )
2019-10-21 16:43:11 -07:00
b38bf90de7
Deshred blocks in parallel ( #6461 )
...
* Deshred in parallel
* Add tests for corrupt slots and parallel deshred
* Rename load_blocktree_entries to load_blocktree_entries_with_shred_count
2019-10-21 16:15:10 -07:00
8319fa05d0
solana-cli: selectively require keypair ( #6477 )
...
* Make parse_command consistent
* Strip pubkey out of parse_stake_create_account
* Move validator-info args into module
* Strip pubkey out of parse_validator_info_command
* Strip pubkey out of parse_vote_create_account
* Strip pubkey out of balance parsing
* Strip pubkey out of parse pay
* Only verify keypair existence if command requires it
* Use struct instead of tuple
2019-10-21 17:08:09 -06:00
564c14a2c6
net.sh: Ensure external disk link is setup before cleaning config dir ( #6481 )
...
automerge
2019-10-21 15:38:58 -07:00
6996f45d54
Print machine hostname in log ( #6480 )
...
automerge
2019-10-21 14:59:03 -07:00
b1c2c6009e
Exclude net/log in rsync script ( #6475 )
...
automerge
2019-10-21 14:06:36 -07:00
934f69b660
Colo verbosity ( #6473 )
...
automerge
2019-10-21 13:49:12 -07:00
84e911361a
Use constants instead of lazy_static for shred header sizes ( #6472 )
2019-10-21 12:46:16 -07:00
364583ea5c
Fix copying packets in Window Service ( #6429 )
...
* Fix copying packets in Window Service
* Parallelize over batches instead of within batches
2019-10-21 12:04:52 -07:00
951e1f8b48
feat: grant access to sunny@ ( #6471 )
2019-10-21 11:17:06 -07:00
9232057e95
Rename replicator to archiver ( #6464 )
...
* Rename replicator to archiver
* cargo fmt
* Fix grammar
2019-10-21 11:29:37 -06:00
6c79f56c2c
Add --skip-ledger-verify arg
2019-10-21 10:22:40 -07:00
48eafcc74f
Remove dead code in Rocks wrapper ( #6469 )
...
automerge
2019-10-21 10:18:54 -07:00
dec9272813
Skip ledger verification on restart to avoid timing out net/ ( #6468 )
...
automerge
2019-10-21 09:27:45 -07:00
eb3093d43e
Beautify show-account output ( #6467 )
...
automerge
2019-10-21 08:48:21 -07:00
09abbd93b1
Cleanup register_tick special handling ( #6462 )
2019-10-21 10:51:02 -04:00
91920cc390
Bump jsonrpc-pubsub from 14.0.0 to 14.0.1 ( #6465 )
...
Bumps [jsonrpc-pubsub](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.0...v14.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 07:48:28 -07:00
cc1cc7be94
Bump jsonrpc-derive from 14.0.0 to 14.0.1 ( #6466 )
...
Bumps [jsonrpc-derive](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v14.0.0...v14.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-21 07:48:14 -07:00
2636418659
Move blocktree_processor to solana_ledger ( #6460 )
...
* Drop core::result dependency in bank_forks
* Move blocktree_processor into solana_ledger
2019-10-20 09:54:38 -06:00
31e9074ae5
Rename leader_after_slots to leader_after_n_slots ( #6459 )
2019-10-19 23:28:33 -04:00
e2c316d2d0
system_instruction_processor updates ( #6448 )
...
* zero lamport account creation
* whack create_user_account, take 2
* target->to
* ..
* ..
* update chacha golden
* update chacha golden
* ..
* ..
2019-10-19 18:23:27 -07:00
74ee88d9bc
Add storage stage and bank_forks tests to integration ( #6458 )
2019-10-19 12:09:45 -07:00
f52c813fc2
Setup each bench-tps account with 1 SOL by default ( #6457 )
2019-10-19 07:57:57 -07:00
badeb4d31a
Rework shred headers to fix position of signature ( #6451 )
...
* Rework shred headers to fix position of signature
* fix clippy
2019-10-18 22:55:59 -07:00
e59af8269e
Add increment docs infra to increment-cargo-version ( #6456 )
2019-10-18 20:53:45 -07:00
785c2574cd
Check that transaction fee-payer is a debitable account ( #6454 )
...
automerge
2019-10-18 20:39:05 -07:00
1a77f7ce3b
Change to 0x7f which is a valid short_vec len ( #6455 )
...
automerge
2019-10-18 19:56:48 -07:00
6e7dccbbfb
Add an error enum to snapshot_utils ( #6453 )
2019-10-18 19:16:06 -06:00
32bfced6a4
Add offset checks for sigverify ( #6452 )
...
* Add offset checks for sigverify
* decode_len returning error instead of unwrap
2019-10-18 17:52:59 -07:00
985f5c7351
Use serde-bytes to serialize u8 efficiently ( #6442 )
...
automerge
2019-10-18 17:18:06 -07:00
621c67a8cb
Adjust default cluster signature fees ( #6436 )
2019-10-18 17:00:51 -07:00
f2fd53e773
coverage over multiple packages ( #6420 )
2019-10-18 16:23:34 -07:00
0fc3c7eee2
Bump Trent's keys... ( #6445 )
...
automerge
2019-10-18 15:42:50 -07:00
e81ba8e79f
Split snapshot_package module ( #6447 )
...
automerge
2019-10-18 14:58:16 -07:00
35461df92d
Adjust crate-features to prevent rebuilds ( #6444 )
...
automerge
2019-10-18 13:52:05 -07:00
a19ffb353d
Don't hide serialization errors ( #6443 )
...
automerge
2019-10-18 13:35:05 -07:00
35ed432d1a
Make benchmark useful ( #6440 )
...
function is verify_hash_internal_state
2019-10-18 12:59:47 -07:00
8c29700402
Remove the DbCursor struct ( #6441 )
2019-10-18 13:11:59 -06:00
171c0d5421
Bump jsonrpc-core from 14.0.0 to 14.0.1 ( #6439 )
...
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:17:25 -07:00
c01bc4afbd
Bump jsonrpc-http-server from 14.0.0 to 14.0.1 ( #6437 )
...
Bumps [jsonrpc-http-server](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:04:30 -07:00
c404008743
Bump jsonrpc-ws-server from 14.0.0 to 14.0.1 ( #6438 )
...
Bumps [jsonrpc-ws-server](https://github.com/paritytech/jsonrpc ) from 14.0.0 to 14.0.1.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 11:03:58 -07:00
193c9a08e0
Reject TXs when there is a mismatch ( #6236 )
...
automerge
2019-10-18 09:48:35 -07:00
5468be2ef9
Add solana-ledger crate ( #6415 )
...
automerge
2019-10-18 09:28:51 -07:00
6f58bdfcb1
Remove validator sanity check ( #6435 )
...
automerge
2019-10-18 08:26:08 -07:00
9cf9de6044
Remove the Cursor struct ( #6426 )
2019-10-18 09:18:36 -06:00
a48dcb1421
Add "Subject to change" for legal purposes. ( #6432 )
2019-10-18 08:06:46 -07:00
51dad397ed
Bump libc from 0.2.64 to 0.2.65
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.64 to 0.2.65.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.64...0.2.65 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-18 08:05:49 -07:00
27c0d30a07
Fix logging ( #6417 )
2019-10-18 02:06:41 -07:00
6c33c3a5ba
Update shred tests to use specific error codes ( #6428 )
...
automerge
2019-10-17 22:50:38 -07:00
e6198debd6
Remove unused set_thread_count() ( #6424 )
...
automerge
2019-10-17 20:55:05 -07:00
298ba34c3c
Add flag to mark a packet as discarded ( #6427 )
2019-10-17 16:26:29 -07:00
52b5edcb8f
Bump cc from 1.0.45 to 1.0.46
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.45...1.0.46 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-17 16:16:46 -07:00
c73e8d9a82
Bump env_logger from 0.7.0 to 0.7.1
...
Bumps [env_logger](https://github.com/sebasmagri/env_logger ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/sebasmagri/env_logger/releases )
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.7.0...v0.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-17 16:16:40 -07:00
842eaf90df
Exclude bench-exchange from coverage report
2019-10-17 16:03:49 -07:00
24846b7b61
Don't use BlocktreeError from Shredder ( #6423 )
...
automerge
2019-10-17 15:44:15 -07:00
326a4282bb
Compute max blockhash age accounting for slot duration ( #6421 )
...
* Compute max blockhash age accounting for slot duration
* Update comment for the constant
2019-10-17 15:21:05 -07:00
854c62e208
Reduce kernel networking buffer for rmem and wmem ( #6422 )
...
automerge
2019-10-17 14:52:24 -07:00
1759968c1e
Colo: Put NVMe disks to use ( #6357 )
...
automerge
2019-10-17 14:44:45 -07:00
9e52d11ad0
Remove Backend trait ( #6407 )
2019-10-17 15:19:27 -06:00
d865f1f0c5
Add vest program to genesis
2019-10-17 14:07:09 -07:00
2747c9db23
Fix metrics dashboard layout ( #6419 )
2019-10-17 13:39:50 -07:00
bfc67e8680
gzip -f
2019-10-17 13:08:51 -07:00
d3068c3918
Remove circular dependencies in core ( #6408 )
...
* Remove core::result dependency from blocktree
* Remove core::result dependency from shred
* Move Packet from core::packet to sdk::packet
This way we don't need to split perf_libs yet.
* Disable packet when compiling BPF programs
2019-10-17 11:37:30 -06:00
a931ad40c8
Remove unused code in entry ( #6414 )
...
automerge
2019-10-17 09:59:40 -07:00
b4ed88e0f7
Fail faster on boot up ( #6412 )
2019-10-17 12:26:12 -04:00
b7b71b31d3
Magically improve coverage ( #6345 )
...
automerge
2019-10-16 16:53:07 -07:00
83c1831a01
Fix replay stage test ( #6406 )
2019-10-16 15:41:43 -07:00
b85996494b
BPF script nits ( #6405 )
2019-10-16 15:35:16 -07:00
26d31b68d7
Update Rust-BPF to v0.1.8 ( #6404 )
2019-10-16 15:08:29 -07:00
8740bb42c0
Close down banking stage in banking_bench ( #6401 )
...
Maybe fixes pthread crash?
2019-10-16 14:45:05 -07:00
ccb4e32ee0
ReplayStage metrics ( #6358 )
...
* ReplayStage metrics
* Add more metrics
* Refactor get_slot_entries_with_shred_count() to detect wasted work
* Update dashboard
* Update broadcast slots to micros
* Add broadcast dashboard
2019-10-16 14:32:18 -07:00
2d351d3952
Prevent ping stats header from confusing buildkite log folding
2019-10-16 13:36:16 -07:00
7ae5ff838b
Revert "collect rent from accounts (take:2) ( #6360 )" ( #6400 )
...
This reverts commit c1b401a04a
.
2019-10-16 13:31:21 -07:00
605b477e06
Permit finding more nodes than expected (./gce.sh config)
2019-10-16 13:21:00 -07:00
7e6e7e8406
Remove special handling of first ledger tick ( #6263 )
...
* Remove special handling of first ledger tick
* Fix subtraction overflow
* @garious feedback
* Back to height
* More tick_height name changes
* Fix off-by-one
* Fix leader tick error
* Fix merge conflict
* Fix recently added test
2019-10-16 15:53:11 -04:00
e267dfacdd
Stabilize some banking stage tests ( #6251 )
...
* Stabilize some banking stage tests
Fixes #5660
* Fix CI...
* clean up
* Fix ci
* Address review nits
* Use bank.max_tick_height due to off-by-one for no PohRecord's clearing bank
* Fix CI...
* Use bank.max_tick_height() instead for clarity
2019-10-16 12:37:27 -07:00
f4c5da3c72
Fix unaligned read of short_vec pubkey_size in sigverify ( #6388 )
...
automerge
2019-10-16 11:09:17 -07:00
a258e1e0b3
Fix flaky test_recv_mmsg_batch_size ( #6399 )
...
automerge
2019-10-16 11:01:41 -07:00
1fd84cb52b
Enforce only system program can allocate accounts ( #6386 )
2019-10-16 10:47:45 -07:00
8dd24bc7d9
Put dedicated arg in the right place
2019-10-16 10:36:29 -07:00
b7af5f08d6
Avoid more non-standard ping. macOS 💔
2019-10-16 10:35:41 -07:00
781dfd9dc4
Drop non-standard ping -o option
2019-10-16 10:05:46 -07:00
f6b48b0a67
Bump libc from 0.2.62 to 0.2.64
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.62 to 0.2.64.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.62...0.2.64 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-16 10:03:06 -07:00
ee099b0880
Delete ref annotations ( #6394 )
...
automerge
2019-10-16 09:27:49 -07:00
51ac05b3cf
Request dedicated instances
2019-10-16 08:10:31 -07:00
9267931ef6
Add support for preemptible GCP instances
2019-10-16 08:10:31 -07:00
60141e0c2c
Bump ws from 0.9.0 to 0.9.1
...
Bumps [ws](https://github.com/housleyjk/ws-rs ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/housleyjk/ws-rs/releases )
- [Changelog](https://github.com/housleyjk/ws-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/housleyjk/ws-rs/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-16 07:58:53 -07:00
609d6cdf61
Enforce move loader program account size ( #6385 )
...
automerge
2019-10-15 23:42:59 -07:00
a3ccbe02d0
Create genesis with the requested amount ( #6384 )
2019-10-15 22:40:31 -07:00
996c8cf2eb
Don't add bogus native loader if loader account already exists ( #6377 )
...
* Don't add bogus native loader account if it already exists
* Add assert for native loader account owner
2019-10-16 00:33:15 -04:00
528d0b6af8
Update bench tps default configuration ( #6372 )
...
* Update bench tps default configuration
* Allow local clients to run unhinged
2019-10-15 20:53:37 -07:00
33052c1dd2
Cleanup shred header structures ( #6378 )
...
automerge
2019-10-15 20:48:45 -07:00
c1b401a04a
collect rent from accounts (take:2) ( #6360 )
...
* collect rent from credit debit accounts
* collect rent from credit only account
* rent_collector now can deduct partial rent + no mem copy + improved design
* adding a test to test credit only rent
* add bank level test for rent deduction
* add test to check if hash value changes or not
* adding test scenario for lamport circulation
2019-10-16 07:45:47 +05:30
78d5c1de9a
Move loader enforces account size ( #6379 )
...
* Move loader enforces account size
* Fix librapay test
2019-10-15 18:30:45 -07:00
2ee05f1234
Fix move testing ( #6374 )
2019-10-15 15:58:49 -07:00
20e800230f
Don't deserialize coding header for data shreds ( #6367 )
...
* Don't deserialize coding hdr for data shreds
* review comments
* fix tests
2019-10-15 15:18:23 -07:00
37a29b979f
--force
2019-10-15 15:12:25 -07:00
1afc527919
Lower cluster_info-num_nodes datapoint ( #6368 )
2019-10-15 14:42:19 -07:00
d89174ee82
Default to no client nodes to avoid unnecesary cost
2019-10-15 14:37:52 -07:00
f6255c2f9e
Fix blind keyed accounts indexing in Config program ( #6369 )
2019-10-15 14:35:42 -06:00
ae41c88eb2
Boot the Builder pattern from GenesisBlock ( #6364 )
2019-10-15 13:52:44 -06:00
41067de5e4
multiple deactivation ( #6354 )
2019-10-15 12:50:31 -07:00
dfca2b510b
Lower shred/receiver stats ( #6365 )
...
too many messages
2019-10-15 11:43:52 -07:00
8bc9d8988f
-
2019-10-15 07:58:40 -07:00
f7279804b4
Ensure solana-cli has a keypair
2019-10-15 07:47:45 -07:00
47e1ea107b
Add show-validators
2019-10-14 23:04:31 -07:00
799d6aeb19
Update cluster_query.rs
2019-10-14 23:00:13 -07:00
f8ccd90eeb
Add ForkConfidenceCache methods ( #6359 )
...
automerge
2019-10-14 22:14:20 -07:00
169b772398
Show validators during net sanity
2019-10-14 20:38:51 -07:00
d2e28b0f7e
Add show-validators command
2019-10-14 20:38:51 -07:00
88bb55ffd2
Add get_vote_accounts() to RPC client
2019-10-14 20:38:51 -07:00
5508ac6272
Add root slot to getVoteAccounts
2019-10-14 20:38:51 -07:00
2be03ca631
Bump reqwest from 0.9.21 to 0.9.22
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.22/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.21...v0.9.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-14 16:33:16 -07:00
9803f167bd
Revert "collect rent from the accounts ( #6181 )" ( #6356 )
...
automerge
2019-10-14 16:16:44 -07:00
6a161c740d
Stop activating stake after deactivation ( #6351 )
2019-10-14 18:40:24 -04:00
5d99853502
Add getBlockConfidence rpc endpoint ( #6350 )
...
automerge
2019-10-14 15:24:10 -07:00
c2ebf466fd
reestablish parameter semantics for withdraw ( #6330 )
2019-10-14 15:02:24 -07:00
3313b2ff58
Fetch stage batching of forwarded txs ( #6349 )
...
automerge
2019-10-14 13:32:29 -07:00
e210e76bd5
collect rent from the accounts ( #6181 )
...
* collect rent from credit-debit account
* collect rent from credit only account
* improved design for rent collection
* only process if collected rent is non zero
* rent_collector now can deduct partial rent + no mem copy
* adding a test to test credit only rent
* add bank level test for rent deduction
* add test to check if hash value changes or not
* adding test scenario for lamport circulation
* combining rent debtors into credit only locks
2019-10-15 02:00:29 +05:30
b75438ff32
gce.sh: Unwind allocation upon failure ( #6343 )
...
automerge
2019-10-14 09:36:20 -07:00
82fea9ce73
net.sh: Add support for selecting validator GPU mode ( #6326 )
...
automerge
2019-10-14 09:33:32 -07:00
79e32c92c1
Skip deploy attempt on sanity failure
2019-10-12 22:18:41 -07:00
322fcea6e5
More fullnode to validator renaming ( #6337 )
2019-10-11 13:30:52 -06:00
5650231df3
Increase buffer size for erasure meta DB column ( #6335 )
2019-10-11 12:18:11 -07:00
78b2e4df9f
Revert "Revert "Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )" ( #6328 )" ( #6336 )
...
This reverts commit 578aa439be
.
2019-10-11 13:19:13 -04:00
bf9c815b9e
Increase Index column buffers ( #6268 )
2019-10-10 23:17:39 -07:00
798065fc71
Better Vest code coverage ( #6329 )
...
automerge
2019-10-10 21:35:10 -07:00
578aa439be
Revert "Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )" ( #6328 )
...
This reverts commit c2761a1259
.
2019-10-11 00:32:06 -04:00
364781366a
Use sendmmsg for broadcasting shreds ( #6325 )
...
* Replace packet with slice of data in sendmmsg
* fixes
* fix bench
2019-10-10 19:38:48 -07:00
fa64a0b367
gce.sh: Be strict about fullnode count w/o --allow-boot-failures ( #6321 )
...
automerge
2019-10-10 17:13:59 -07:00
ba46bc4624
Fix system program blind derefs ( #6317 )
...
automerge
2019-10-10 16:43:49 -07:00
c6e4641781
Remove many uses of legacy term 'fullnode' ( #6324 )
2019-10-10 17:33:00 -06:00
9cde67086f
solana-keygen - Poor mans keypair encryption ( #6259 )
...
* SDK: Refactor (read|write)_keypair
Split file opening and data writing operations
Drop filename == "-" stdio signal. It is an app-level feature
* keygen: Move all non-key printing to stderr
* keygen: Adapt to SDK refactor
* keygen: Factor keypair output out to a helper function
2019-10-10 17:01:03 -06:00
f8b36f4658
smaller fix for system_instruction_processor's blind indexing ( #6322 )
...
automerge
2019-10-10 15:43:32 -07:00
753bd77b41
Use multicast to send retransmit packets ( #6319 )
2019-10-10 15:02:36 -07:00
a9276700ea
Stake program: reorder withdraw keys to allow to == authorized withdrawer ( #6314 )
...
automerge
2019-10-10 14:46:38 -07:00
1960ea8ed7
Add benches for shredding and poh ( #6307 )
...
* Add benches for shredding and poh
* ignore poh bench
* Factor out Poh bench as separate function
2019-10-10 14:00:24 -07:00
1b775044f7
Use multiple retransmit stage threads/sockets ( #6279 )
2019-10-10 13:24:03 -07:00
570b98c7bc
Multicast same packet to multiple destinations via sendmmg ( #6316 )
...
* Implement multicast same packet to multiple destinations using sendmmsg()
2019-10-10 13:09:15 -07:00
81fb9e6a59
gce.sh: Rename -f flag to better reflect usage ( #6318 )
...
automerge
2019-10-10 12:57:03 -07:00
c2761a1259
Bump jsonrpc-core from 13.2.0 to 14.0.0 ( #6287 )
...
* Bump jsonrpc-core from 13.2.0 to 14.0.0
Bumps [jsonrpc-core](https://github.com/paritytech/jsonrpc ) from 13.2.0 to 14.0.0.
- [Release notes](https://github.com/paritytech/jsonrpc/releases )
- [Commits](https://github.com/paritytech/jsonrpc/compare/v13.2.0...v14.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Bump all jsonrpc versions
2019-10-10 10:32:38 -06:00
0f7bf28617
Allow Vest to set terminator ( #6313 )
...
* Use transport::Result instead of TransportError
* Split payer and terminator
* Add SetTerminator instruction
2019-10-10 10:25:23 -06:00
60e8cf5a47
Implement nightly performance tests ( #6140 )
...
* Implement nightly performance tests on colo
2019-10-10 11:12:13 -04:00
10cf728e11
More object-oriented version of Vest ( #6310 )
2019-10-10 08:54:18 -06:00
eca56eb87d
Add next_keyed_account() to instruction_processor_utils ( #6309 )
...
* Cleanup KeyedArguments traversal
* Better error message
* Fix clippy warning
* Rename next_arg to next_keyed_account
* Fix clippy warning
* Shorter
2019-10-10 06:30:42 -06:00
54d0168746
BPF call trace script ( #6311 )
...
automerge
2019-10-10 01:10:47 -07:00
e58e48e919
make sysvar creation a bit more foolproof ( #6294 )
2019-10-09 23:22:33 -07:00
1f345ce2d9
Don't grab keypair from cluster info on every iteration of broadccast ( #6303 )
2019-10-09 17:36:45 -07:00
ed85aa43a4
Implement sendmmsg() API ( #6304 )
...
* Implement sendmmsg()
* fixes
2019-10-09 17:06:56 -07:00
33e34cbba9
Plug potential panic in Vest ( #6302 )
...
automerge
2019-10-09 16:27:49 -07:00
4b0250192a
Remove remnants of the cuda feature flag ( #6298 )
...
automerge
2019-10-09 16:09:36 -07:00
dd66d16fdb
Broadcast final shred for slots that are interrupted ( #6269 )
...
* Broadcast final shred for slots that are interrupted
2019-10-09 16:07:18 -07:00
de82e60c64
Fix unrealistic hash rate expectations in genesis ( #6295 )
2019-10-09 15:47:48 -07:00
72d227ae91
Bench-tps: swap consts ( #6296 )
2019-10-09 16:31:30 -06:00
4713cb8675
Colo: Prefer public IPs, part 2 ( #6297 )
...
automerge
2019-10-09 15:17:24 -07:00
fdaee4ab17
Colo: Add running process cleanup to delete logic ( #6281 )
2019-10-09 15:49:33 -06:00
32312f3c16
Do not retransmit Repair responses ( #6284 )
...
* Do not retransmit Repair responses
* Add a test
* Refactor neighboring functionality
2019-10-09 13:11:19 -07:00
95d15dc720
Add jstarry to authorized keys ( #6293 )
2019-10-09 15:04:44 -04:00
2db83e1a21
Remove greedy fetch in shred_fetch stage ( #6278 )
...
* Remove greedy fetch in shred_fetch stage
* cleanup
2019-10-09 10:36:05 -07:00
cfbfcb5734
Bump dir-diff from 0.3.1 to 0.3.2 ( #6265 )
...
Bumps [dir-diff](https://github.com/steveklabnik/dir-diff ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/steveklabnik/dir-diff/releases )
- [Changelog](https://github.com/assert-rs/dir-diff/blob/master/CHANGELOG.md )
- [Commits](https://github.com/steveklabnik/dir-diff/compare/v0.3.1...v0.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-09 11:12:15 -06:00
c28633a949
Fix book SVGs ( #6286 )
2019-10-09 10:48:47 -04:00
7cf90766a3
add epoch_schedule sysvar ( #6256 )
...
* add epoch_schedule sysvar
* book sheesh!
2019-10-08 22:34:26 -07:00
f2ee01ace3
Fix blocktree processor entry callback test ( #6285 )
2019-10-08 20:38:05 -04:00
9fbbb17c3b
GitBook: [master] 17 pages and 65 assets modified
2019-10-08 23:35:34 +00:00
5e31565574
Expand blocktree processor options ( #6248 )
...
* Refactor blocktree processor args and support full leader cache
* Add entry callback option
* Rename num_threads to override_num_threads
* Add test for entry callback
* Refactor cached leader schedule changes
* Add tests for blocktree process options
* Refactor test
* @mvines feedback
2019-10-08 17:58:49 -04:00
723f9a9b81
Remove unnecessary locking in retransmit stage ( #6276 )
...
* Add more detailed metrics to retransmit
* Remove unnecessary locking and add more metrics
2019-10-08 14:41:16 -07:00
baf4e767e1
Increase number of transaction send retries. ( #6273 )
2019-10-08 13:04:27 -07:00
c5e5342325
Rearrange broadcast stats ( #6274 )
2019-10-08 12:50:59 -07:00
6123d2f9e8
Add print to bench-tps about blockhash time ( #6272 )
2019-10-08 11:34:10 -07:00
788296047a
Increase batch size for recvmmsg() ( #6260 )
...
* Increase batch size for recvmmsg()
* fix tests
* new test
2019-10-08 09:54:49 -07:00
9dceb8ac74
Broadcast/Shredding Metrics ( #6270 )
...
automerge
2019-10-08 01:42:42 -07:00
ac2374e9a1
Shred entries in parallel ( #6180 )
...
* Make shredding more parallel
* Fix erasure tests
* Fix replicator test
* Remove UnfinishedSlotInfo
2019-10-08 00:42:51 -07:00
667f9e0d79
Colo: Factor out inlined scripts to own files ( #6266 )
...
automerge
2019-10-07 22:05:36 -07:00
57916f8be6
Colo: Prefer public IPs ( #6264 )
...
automerge
2019-10-07 20:44:57 -07:00
e12c577b16
remove verify_hash_internal_state ( #6261 )
2019-10-07 16:38:54 -07:00
ba7efbb136
Retransmit stage optimization, don't copy packets ( #6250 )
2019-10-07 15:33:22 -07:00
79987e788e
Remove vote pubkey from deactivate_stake ( #6257 )
...
* Remove vote pubkey from deactivate_stake
* Fix test
* Update docs
2019-10-07 16:07:01 -06:00
4a071b06bd
Remove deprecated script ( #6258 )
2019-10-07 14:14:55 -06:00
17f169f446
BlobFetchStage cleanup post shred work ( #6254 )
2019-10-07 11:08:01 -07:00
6662986169
Fix vest_api output filename ( #6253 )
...
automerge
2019-10-07 10:31:04 -07:00
1c86160e16
Reorder parameters ( #6252 )
...
automerge
2019-10-07 09:42:56 -07:00
c34cc4918f
Prevent repeated accounts in genesis to avoid breaking account hashing
2019-10-07 08:12:18 +09:00
4870a2cbac
Panic when a snapshot fails to verify
2019-10-07 08:12:18 +09:00
da7d94d0f0
Retransmit stage benchmark ( #6249 )
2019-10-06 12:56:17 -07:00
cdef065cca
Broadcast Metrics ( #6166 )
...
* Add timing logigng to broadcast
* Shred metrics
* Fixes
2019-10-05 22:51:47 -07:00
e6676b4d4d
Cli refactor: move cluster query-related functionalities ( #6244 )
...
* Reorder and label parse_command's giant match
* Move cluster query processing into separate module
* Reorder and label process_command match
2019-10-04 19:54:09 -07:00
896351e0e8
Bump serde_yaml from 0.8.9 to 0.8.11 ( #6246 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.9 to 0.8.11.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.9...0.8.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-04 19:33:45 -06:00
fb39bd45d7
Revert "Rename solana-runtime to sealevel ( #6239 )" ( #6247 )
...
This reverts commit 2e921437cd
.
2019-10-04 19:33:29 -06:00
5ef012b2c1
Tweak debug to remove unreadable datapoints ( #6060 )
2019-10-04 16:25:22 -07:00
9c9754fa0f
Cli refactor: rename wallet to cli ( #6243 )
...
* Rename Wallet structs to Cli
* Rename wallet to cli more broadly
* Update to cli/config.yml, and update docs
2019-10-04 16:13:21 -06:00
2e921437cd
Rename solana-runtime to sealevel ( #6239 )
...
automerge
2019-10-04 15:02:44 -07:00
5617162cb6
Add Vest program ( #5987 )
...
automerge
2019-10-04 14:43:50 -07:00
0c3ff6b75c
Cli refactor: vote and storage program functionalities ( #6242 )
...
automerge
2019-10-04 14:18:19 -07:00
7f53737000
Periodically pull from the entrypoint if it's no longer in Crdt ( #6240 )
2019-10-04 14:18:07 -07:00
23ea8ae56b
Optimize retransmit stage ( #6231 )
...
* Optimize retransmit stage
* Remove comment
* Fix test
* Skip iteration to fixup 0 stakes
2019-10-04 11:52:02 -07:00
b5f7a4bff9
Add Bankless Leader design ( #6224 )
...
* bankless leader proposal
* docs
* mvines feedback
* clarify CD status of the execution key
* s/execution key/fee account
* remove weird spacing
* robs review comments
* document how base fork is reset
* frozen bank, not finalized
* nit
* add rationale
2019-10-04 11:13:46 -07:00
18653b825b
Preserve previous fullnode log file on restart
2019-10-04 07:58:33 -07:00
aa3694cca8
Bench tps: improve fund_keys ( #6225 )
...
automerge
2019-10-04 01:16:07 -07:00
844d231d74
Add default-run key for dev convenience ( #6235 )
...
automerge
2019-10-03 21:59:37 -07:00
d759a447be
Bump serde_json from 1.0.40 to 1.0.41 ( #6226 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.40...v1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-03 21:03:05 -06:00
ffae4662bc
Use AtomicU64 now that it's stabilized ( #6222 )
2019-10-03 20:02:28 -07:00
a05d772aa9
Add colo access pubkey ( #6232 )
...
* Add colo access pubkey
* Change the key to ed25519
2019-10-03 19:55:39 -07:00
cf3bbc09b6
Jump to nightly-2019-10-03 ( #6233 )
...
* Reduce what gets build for coverage to avoid OoM with nightly 2019-10-03
* Update nightly to 2019-10-03
2019-10-03 20:05:44 -06:00
d25576f8ef
clippy ( #6230 )
2019-10-03 19:36:54 -06:00
4b42fa2d75
Ensure all builds are triggered on a rust upgrade ( #6229 )
2019-10-03 16:31:50 -07:00
c1c7e0ff08
Remove reduntant semicolon
2019-10-03 16:25:00 -07:00
1d503faa2c
clippy
2019-10-03 16:14:28 -07:00
18c0f76f89
clippy
2019-10-03 15:59:37 -07:00
4d458a5e00
Keep the build green when there's nowhere to publish
2019-10-03 14:55:04 -07:00
92ea11fca1
make executable, vote and stake account rent exempt ( #6017 )
...
* add missing convenience method
* require vote account to be exempt
* make stake account rent exempt
* making executable rent exempt
* rent will be initialized in genesis
* add test for update_rent
2019-10-04 02:52:48 +05:30
cf2bcee607
Increase testnets to 4 validator nodes to avoid the need for 100% consensus
2019-10-03 09:53:31 -07:00
db7a3ac826
Revert "GitBook: [master] 12 pages and 33 assets modified"
...
This reverts commit f792171ae9
.
2019-10-02 23:53:20 -07:00
f792171ae9
GitBook: [master] 12 pages and 33 assets modified
2019-10-03 06:41:01 +00:00
81550e609b
Assume stable is already installed
2019-10-02 23:35:10 -07:00
c28d0d7c34
Avoid TRAVIS_RUST_VERSION check
2019-10-02 23:28:40 -07:00
6cb0790796
Fix crate metadata
2019-10-02 23:20:19 -07:00
c2961617bd
Add description tag
2019-10-02 23:13:19 -07:00
08e59b4a3c
Add description tag
2019-10-02 22:59:58 -07:00
7ac4ce637f
Bump reqwest from 0.9.20 to 0.9.21 ( #6221 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/v0.9.21/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.20...v0.9.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-10-02 22:52:48 -07:00
586e0a67ef
Suppress nighly safety_doc warning
2019-10-02 22:51:14 -07:00
5aab2866e1
Rebuild SVGs
2019-10-02 22:51:14 -07:00
a20f12865a
Upgrade to rust 1.38
2019-10-02 22:51:14 -07:00
0bf1a24bf5
Enable patch branches
2019-10-02 22:45:02 -07:00
f9f5bc2eb5
More clippy
2019-10-02 21:21:07 -07:00
9fe8c98047
Switch to solana-reed-solomon-erasure temporarily to fix windows build ( #6211 )
2019-10-02 19:01:55 -07:00
13fc518268
Clippy work towards rust 1.38 ( #6219 )
2019-10-02 18:04:18 -07:00
c06876eb3d
Fix date formatting to work on Mac OS ( #6214 )
2019-10-02 14:44:52 -07:00
f331f1d1e9
Don't forward transaction to self ( #6218 )
2019-10-02 14:07:34 -07:00
054deb809b
Remove token program ( #6217 )
2019-10-02 14:07:23 -07:00
865ddfc63f
fix clippy ( #6215 )
2019-10-02 13:51:54 -07:00
315940b6a9
Bump BPF instruction cap ( #6213 )
2019-10-02 10:07:44 -07:00
211cae5811
Remove dead constants ( #6207 )
2019-10-01 18:22:57 -07:00
2c6599c73b
Bench-tps: flush tx queue when too old ( #6201 )
...
* Flush transaction VecDeque when hit old transactions
* Fixup too-old threshold
2019-10-01 15:43:36 -06:00
58139ce5ae
Add buildkite-agent key for colo access ( #6205 )
2019-10-01 13:24:04 -07:00
8e888059d8
Use built-in solana-gossip timeout for better error messages ( #6189 )
2019-10-01 12:30:11 -07:00
8d0236e3f1
Rename bank height to block_height and expose method ( #6199 )
...
* Rename bank bank_height to block_height
* Expose block_height method
2019-10-01 14:55:39 -04:00
774e9df2e5
Finish unfininished slot before processing new slots ( #6197 )
2019-10-01 11:46:14 -07:00
faae122375
Remove bogus wait
2019-10-01 11:08:52 -07:00
a6363e56b6
Add native_token module to sdk ( #6192 )
2019-10-01 13:53:28 -04:00
214c041bf7
cli code review ( #6183 )
2019-10-01 10:34:45 -07:00
ae7700296d
broadcast_shreds opt ( #6175 )
...
* Don't clone/copy/sort ContactInfo vec
2019-10-01 09:38:29 -07:00
f09183765c
Output timestamp to console for better logs
2019-10-01 09:17:47 -07:00
2f92b92a8a
Expose current stake accounts of a bank for use in cli tooling ( #6184 )
2019-09-30 21:57:49 -04:00
fee97236bf
Create vote account with at least 1 lamport ( #6188 )
2019-09-30 17:07:44 -06:00
520f7c3e18
Optimize BPF logs ( #6186 )
2019-09-30 14:21:29 -07:00
97752b4937
Fixup create-stake-account command ( #6187 )
...
automerge
2019-09-30 14:17:49 -07:00
2c8c2029d8
cli: enforce rent-exemption balance for stake, vote and program accounts in cli ( #6118 )
...
* require minimum balance for stake, vote and program accounts
2019-10-01 01:14:49 +05:30
4fbe36d9c6
Update stake-delegation-and-rewards.md ( #6182 )
...
* Update stake-delegation-and-rewards.md
* Update stake-delegation-and-rewards.md
* Update stake-delegation-and-rewards.md
2019-09-30 12:30:55 -07:00
4f4618441c
split wallet staking commands ( #6168 )
...
* split wallet staking commands
* elide real home
* unit->UNIT for usage
* unit->UNIT, don't try to run SUBCOMMANDS: ;)
* more fixup
* fixups
* actually check
* shellcheck
* preserve #6158 after rebase
* fixup
* test
* too hard
* remove test
2019-09-29 21:18:15 -07:00
e5a7d08966
Add --expected-genesis-blockhash validator argument ( #6174 )
...
automerge
2019-09-29 19:09:24 -07:00
11fc684f3c
Clear download progress bar to avoid flicker during archive extraction ( #6162 )
2019-09-29 17:56:33 -07:00
d50aef8404
Add get-epoch-info command ( #6161 )
...
automerge
2019-09-27 22:00:30 -07:00
5637f88aff
Don't try signging coding shred if fec rate is 0 ( #6171 )
...
automerge
2019-09-27 21:58:53 -07:00
f14bc0bb59
Bump num-derive from 0.2.5 to 0.3.0 ( #6165 )
...
Bumps [num-derive](https://github.com/rust-num/num-derive ) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/rust-num/num-derive/releases )
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.2.5...num-derive-0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-27 20:20:57 -06:00
c50d2a6311
Update solana_rbpf to v0.1.18 ( #6170 )
...
* Update solana_rbpf to v0.1.18
* lock
2019-09-27 19:17:12 -07:00
284273a73f
Cleanly error when trying to delegate-stake an existing stake account ( #6158 )
2019-09-27 14:35:49 -07:00
4c5d0fc51f
Validator-info doc update ( #6152 )
2019-09-27 13:26:02 -07:00
75a92d58cb
Featureize move ( #5897 )
...
* Featureize move
* Add move featured test
2019-09-27 12:19:06 -07:00
db18611c86
Add ability to manually create a db ( #6151 )
2019-09-27 12:03:20 -07:00
bf199a2ebc
doc: update validator-info publish arguments ( #6146 )
2019-09-27 11:15:38 -07:00
db05864a69
Add ssh key check ( #6149 )
2019-09-27 10:55:51 -07:00
f97d33e3a7
Add sakridge pubkey ( #6142 )
2019-09-27 10:55:38 -07:00
16e3ba86d5
get_new_blockhash() now retries longer (5s instead of 2s) ( #6143 )
2019-09-27 10:36:38 -07:00
cc05019bbb
Create vote account with 1 lamport instead of 1 SOL
2019-09-27 08:14:10 -07:00
f57e48a209
Avoid storing epoch 0 credits if no credits where earned in epoch 0 ( #6132 )
2019-09-26 20:57:35 -07:00
7c964cf79f
Add specific hardware setup to performance metrics doc. ( #6131 )
2019-09-26 18:59:41 -07:00
c9e58743e7
Prevent subtract overflow panic when slot < MAX_LOCKOUT_HISTORY ( #6135 )
2019-09-26 19:40:18 -06:00
a09cf1470a
Remove libstd statics to eliminate .bss ( #6134 )
...
automerge
2019-09-26 17:38:08 -07:00
57dc46fcfe
staking rewards reinvestment ( #6129 )
2019-09-26 15:57:18 -07:00
06b445ac07
Skip if --custom-cpu is used as well. ( #6130 )
2019-09-26 15:52:03 -07:00
b4da83a3ab
Remove CUDA feature ( #6094 )
2019-09-26 13:36:51 -07:00
a964570b1a
add authorities to stake init ( #6104 )
...
* add authorities to stake init
* fixups
* code review
2019-09-26 13:29:29 -07:00
50bbe34b66
rename locktower to tower ( #6120 )
2019-09-26 13:29:05 -07:00
c10b2e6cc0
Cleanup Rust BPF sysroot ( #6124 )
2019-09-26 13:27:33 -07:00
c4ed80d544
colo-utils: Disable StrictHostKeyChecking for SSH calls ( #6117 )
...
automerge
2019-09-26 11:22:07 -07:00
67d07254c2
Add rent estimation rpc ( #6109 )
...
* server side new rpc endpoint
* client side rpc
* take data_len as usize
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* add test and documentation
2019-09-26 23:27:13 +05:30
74a648accb
Enable SOL or lamports for create-vote-account, show-{stake,vote}-account commands ( #6114 )
...
automerge
2019-09-26 10:26:47 -07:00
35365974bf
Remove serializing all ForkHashes ( #6110 )
2019-09-26 02:01:25 -07:00
355a40800d
remove consensus.msc ( #6106 )
2019-09-25 18:15:14 -07:00
701d90a41d
Remove some AccountStorage Serialization ( #6047 )
...
* Remove serialization of AccountStorageEntry fields
* Add metric for evaluating BankRc serialization time
* Serialize AppendVec current len
* Add dashboard metrics
* Move flush of AppendVecs to packaging thread
2019-09-25 18:07:41 -07:00
56f6ee84f1
Fix Bench-tps being too strict ( #6105 )
...
automerge
2019-09-25 17:43:13 -07:00
e2a5ec9cd2
Change formula used in erasure statistics graph ( #6102 )
...
automerge
2019-09-25 14:57:16 -07:00
aea0326b82
coverage by package ( #6099 )
2019-09-25 14:01:09 -07:00
93ad637c5c
typo
2019-09-25 16:58:53 -04:00
6be5e21aaf
GitBook: [master] 17 pages and 59 assets modified
2019-09-25 20:58:40 +00:00
43795193c4
add authorized parameters to vote api ( #6072 )
...
* add authorized parameters to vote api
* code review
2019-09-25 13:53:49 -07:00
62429585ba
Bump bincode from 1.1.4 to 1.2.0 ( #6065 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.1.4...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-09-25 14:44:29 -06:00
e987d0094f
Move status cache serialization to the Snapshot Packager service ( #6081 )
...
* Move status cache serialization to the Snapshot Packager service
* Minor comment updates
* use ok_or_else instead of ok_or
* satus cache
* Remove assert when snapshot format is wrong
* Fix compile
* Remove slots_to_snapshot from bank forks
* Address review comment
* Remove unused imports
2019-09-25 13:42:19 -07:00
093b5b5267
Prune fork_hashes with dead forks ( #6085 )
2019-09-25 11:16:14 -07:00
678a5aff83
Remove brace expansion in arg list ( #6091 )
2019-09-25 12:52:07 -04:00
03dc4a20a1
Single threaded LLD ( #6088 )
2019-09-25 07:44:33 -07:00
de3765ab70
Add erasure recovery stats to dashboard ( #6079 )
...
automerge
2019-09-24 19:59:42 -07:00
5f079137e5
Remove kvstore ( #6075 )
...
automerge
2019-09-24 19:59:32 -07:00
94f0c081a6
Fix staker / voter credit redemption ( #6074 )
...
* Fix staker / voter credit redemption
* Rename variables
2019-09-24 22:58:31 -04:00
229836511d
Remove local_cluster tests from stable-perf job, removee other tests from local-cluster job ( #6067 )
2019-09-24 19:05:25 -07:00
f2f041bb7c
Avoid accidential tx_count mismatches when using an accounts file ( #6069 )
2019-09-24 18:46:43 -07:00
3562774f8b
Reduce poll sleep ( #6068 )
...
* Reduce sleep in poll_for_signature_confirmations
* Unignore test_repairman_catchup
2019-09-24 17:01:18 -06:00
374b776a3e
Fix using temp file for archive ( #6058 )
...
* Fix using temp file for archive
* Rename the temp archive instead of hardlinking it
2019-09-24 15:24:54 -07:00
5763d63737
Additional tests for should_retransmit_and_persist ( #6062 )
...
automerge
2019-09-24 14:54:10 -07:00
9d805dfc59
Tweak Bank Slot Distance graph
2019-09-24 14:52:29 -07:00
e6390b754f
Bump env_logger from 0.6.2 to 0.7.0 ( #6044 )
2019-09-24 14:22:26 -07:00
7babfd00c1
Revert back to reqwest, using rustls feature ( #6041 )
...
* Revert back to reqwest, using rustls feature
* Cargo.lock and crate-features
* Ignore test
2019-09-24 14:10:59 -06:00
571dc4e387
Update stale code references for vote program in book ( #6061 )
2019-09-24 15:55:32 -04:00
3ed34b571c
Window service is filtering out coding shreds ( #6052 )
...
* Window service is filtering out coding shreds
* update erasure stats to indicate recovery count
* filter out outdated coding shreds
* address review comments
2019-09-24 12:25:25 -07:00
d7e4c8e3cf
Support primordial accounts with no data ( #6053 )
2019-09-24 10:42:33 -07:00
57e90948a8
Remove dead code from cluster_info ( #6051 )
2019-09-24 10:27:59 -07:00
26a20a7e62
nits ( #6032 )
2019-09-24 10:10:49 -07:00
b6a8268da3
Fix BPF program static linking ( #5992 )
2019-09-24 07:09:53 -04:00
61d7467ba8
Flip order of arg to ensure -t sticks
2019-09-23 22:20:22 -07:00
7fa809c16d
Avoid hardlinking as that confuses tar ( #6042 )
2019-09-23 20:12:16 -07:00
84f74807d4
Skip considering banks older than the latest vote slot ( #6037 )
...
automerge
2019-09-23 19:40:03 -07:00
4f59077318
Fix vote metrics ( #6038 )
...
automerge
2019-09-23 18:09:20 -07:00
3a9c03cc89
Don't recover coding shreds ( #6034 )
...
* Don't recover coding shreds
* cleanup
2019-09-23 16:24:21 -07:00
f055d2f0cc
' => " ( #6035 )
2019-09-23 16:03:38 -07:00
72fb52ec60
rename balance ( #5984 )
2019-09-23 15:20:45 -07:00
62c22c6cb1
Fix really old banks triggering log spam ( #6025 )
2019-09-23 13:59:16 -07:00
dbd337c616
Upgrade to ReedSolomon 4.0 release ( #6026 )
2019-09-23 13:53:52 -07:00
eeda7338cc
Dump tar stdout/err on failure for better debug ( #6024 )
2019-09-23 13:05:09 -07:00
261ea00efb
Fix race between observing tick height being set to last tick and blockhash being observed on a bank ( #6013 )
2019-09-23 12:54:39 -07:00
02647c25a9
net: Add Trent's work laptop pubkey ( #6022 )
...
automerge
2019-09-23 10:25:36 -07:00
433b0808e4
Remove the _/deps symlink, just copy instead ( #6020 )
2019-09-23 09:16:56 -07:00
529b163bd0
GitBook: [master] 156 pages and 12 assets modified
2019-09-23 03:38:34 +00:00
9c9991db1d
Update cargo toml and lock files to v0.20.0 ( #6016 )
2019-09-22 21:45:56 -04:00