Justin Starry and Grimes
87598c7612
Consolidate tx error counters and update metrics dashboard ( #7724 )
...
automerge
2020-01-16 23:26:50 -08:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
e90a31781c
Update http crate in bpf program to fix security vulnerability ( #7735 )
2020-01-10 10:21:20 +08:00
Justin Starry and Ryo Onodera
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
Justin Starry and GitHub
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
Justin Starry and GitHub
9bd5888f5e
Fix broken internal-nodes-stake-lamports arg in scripts ( #7581 )
2019-12-19 21:38:03 -05:00
Justin Starry and Michael Vines
54f16ca2bf
clippy
2019-12-19 11:33:44 -07:00
Justin Starry and Michael Vines
a096ade345
reduce error logging
2019-12-19 11:33:44 -07:00
Justin Starry and Michael Vines
848fe51f3d
@sakridge feedback
2019-12-19 11:33:44 -07:00
Justin Starry and Michael Vines
e82db6fc2f
Revert blockhash sleep
2019-12-19 11:33:44 -07:00
Justin Starry and Michael Vines
4b3176a9a1
Tune bench-tps blockhash poller and stop panicking
2019-12-19 11:33:44 -07:00
Justin Starry and GitHub
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
Justin Starry and GitHub
862e7a410d
Fix cli program deploys by avoiding zero account balance ( #7497 )
2019-12-16 11:53:00 -05:00
Justin Starry and Grimes
dad5c62df5
Add uptime column to show-validators ( #7441 )
...
automerge
2019-12-11 22:04:54 -08:00
Justin Starry and Grimes
d4d246bfd1
Fix broken link in paper wallet docs ( #7388 )
...
automerge
2019-12-09 16:26:49 -08:00
Justin Starry and GitHub
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
Justin Starry and Grimes
7a37363817
Remove println in solana balance command ( #7380 )
...
automerge
2019-12-09 11:03:30 -08:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
186709ed75
cli: Confirm recovered pubkeys ( #7316 )
...
* cli: Confirm recovered pubkeys
* cargo clippy
2019-12-06 09:55:00 -05:00
Justin Starry and GitHub
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
Justin Starry and GitHub
8fac9102eb
Add docs for using a paper wallet with solana cli ( #7311 )
2019-12-05 21:12:41 -05:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
c3e7deb4b6
Use wrappable code snippet for paper wallet installation ( #7261 )
2019-12-04 12:30:12 -05:00
Justin Starry and GitHub
e1b7f40c2b
Allow generation of longer seed phrases with keygen ( #7210 )
2019-12-03 23:39:45 -05:00
Justin Starry and GitHub
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
Justin Starry and GitHub
2dc1ae9026
Add Paper Wallet Installation page to sidebar ( #7242 )
2019-12-03 21:43:39 -05:00
Justin Starry and Grimes
7cfff75c3e
Use procedural macro to generate static public keys ( #7219 )
...
automerge
2019-12-03 17:55:18 -08:00
Justin Starry and GitHub
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
Justin Starry and GitHub
b874441a47
Prevent passphrase mistakes with confirmation prompt ( #7207 )
2019-12-02 22:42:42 -05:00
Justin Starry and Grimes
57d4b50467
Add Paper Wallet documentation to the book ( #7147 )
...
automerge
2019-11-26 20:56:11 -08:00
Justin Starry and GitHub
4fe1716c7a
solana-keygen: Support pubkey recovery directly from seed phrase ( #7149 )
2019-11-26 15:30:07 -05:00
Justin Starry and Michael Vines
eaa3e87eb0
Support passphrases in keygen ( #7134 )
...
* Support passphrases in keygen
* remove short
* Update solana_keygen calls
2019-11-25 21:33:15 -07:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and Grimes
95c137158f
Fix gce.sh info ( #7054 )
...
automerge
2019-11-19 17:49:25 -08:00
Justin Starry and Grimes
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
Justin Starry and GitHub
24b254459b
Fix dev mode arg in run.sh ( #6997 )
2019-11-15 23:16:42 -05:00
Justin Starry and Grimes
30089841f6
Use correct faucet arg in run.sh ( #6994 )
...
automerge
2019-11-15 18:33:08 -08:00
Justin Starry and GitHub
afd9ae9999
Allow withdraws to the authorized withdrawer ( #6989 )
2019-11-15 17:16:24 -05:00
Justin Starry and Grimes
0be13a6295
Silence cargo install error in bpf script ( #6926 )
...
automerge
2019-11-13 08:57:12 -08:00
Justin Starry and Grimes
c7e2057d2d
Install xargo if a new version is available ( #6882 )
...
automerge
2019-11-11 20:32:07 -08:00
Justin Starry and GitHub
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
Justin Starry and GitHub
62eea636b0
Update jsonrpc-api.md
2019-11-09 19:46:04 -05:00
Justin Starry and GitHub
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
Justin Starry and GitHub
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
Justin Starry and GitHub
807af8670e
Clean up net logs ( #6813 )
2019-11-08 10:25:17 -05:00
Justin Starry and GitHub
68353b7e57
Clean up net/log symlinks ( #6794 )
2019-11-07 23:45:19 -05:00
Justin Starry and GitHub
e0d9f7d1d4
Fix genesis arg names in run.sh ( #6785 )
2019-11-06 23:27:10 -05:00
Justin Starry and GitHub
e420800aeb
Update terminology for block height and genesis block ( #6782 )
2019-11-06 23:09:03 -05:00
Justin Starry and Grimes
a4d48df30a
Add assertion when filling blocktree slot with ticks ( #6664 )
...
automerge
2019-10-31 14:15:07 -07:00
Justin Starry and GitHub
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
Justin Starry and Grimes
d2d78a073f
Remove lingering references to base-2 SOLs ( #6629 )
...
automerge
2019-10-30 14:59:44 -07:00
Justin Starry and Michael Vines
ea2b26e5f5
Fix scp client mint keypair ( #6565 )
2019-10-25 16:23:52 -07:00
Justin Starry and GitHub
0cfa3d3de7
Return error if stake history deser fails in cli ( #6559 )
2019-10-25 16:44:09 -05:00
Justin Starry and GitHub
71ff269780
Add show-stake-history command to cli ( #6541 )
2019-10-25 12:20:08 -04:00
Justin Starry and GitHub
7a7abe692e
Add mint keypair to solana clients for convenience ( #6536 )
2019-10-24 14:31:06 -04:00
Justin Starry and GitHub
88033bccbb
Add mint keypair to validators for convenience ( #6531 )
2019-10-24 12:50:32 -04:00
Justin Starry and GitHub
6829b8a6fb
Ensure solana commands are added to idle clients ( #6513 )
2019-10-23 11:15:00 -04:00
Justin Starry and GitHub
09abbd93b1
Cleanup register_tick special handling ( #6462 )
2019-10-21 10:51:02 -04:00
Justin Starry and GitHub
31e9074ae5
Rename leader_after_slots to leader_after_n_slots ( #6459 )
2019-10-19 23:28:33 -04:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
6a161c740d
Stop activating stake after deactivation ( #6351 )
2019-10-14 18:40:24 -04:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
95d15dc720
Add jstarry to authorized keys ( #6293 )
2019-10-09 15:04:44 -04:00
Justin Starry and GitHub
c28633a949
Fix book SVGs ( #6286 )
2019-10-09 10:48:47 -04:00
Justin Starry and GitHub
f2ee01ace3
Fix blocktree processor entry callback test ( #6285 )
2019-10-08 20:38:05 -04:00
Justin Starry and GitHub
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
Justin Starry and GitHub
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
Justin Starry and GitHub
a6363e56b6
Add native_token module to sdk ( #6192 )
2019-10-01 13:53:28 -04:00
Justin Starry and GitHub
2f92b92a8a
Expose current stake accounts of a bank for use in cli tooling ( #6184 )
2019-09-30 21:57:49 -04:00
Justin Starry and GitHub
94f0c081a6
Fix staker / voter credit redemption ( #6074 )
...
* Fix staker / voter credit redemption
* Rename variables
2019-09-24 22:58:31 -04:00
Justin Starry and GitHub
571dc4e387
Update stale code references for vote program in book ( #6061 )
2019-09-24 15:55:32 -04:00
Justin Starry and GitHub
b6a8268da3
Fix BPF program static linking ( #5992 )
2019-09-24 07:09:53 -04:00
Justin Starry and Michael Vines
08d4570ce5
Bump sys-info from 0.5.7 to 0.5.8 for rayon-threadlimit ( #5924 )
2019-09-17 07:21:16 -07:00
Justin Starry and GitHub
8f5a1535af
Add mnenomic keypair generation and recovery to cli ( #5889 )
...
* Add mnenomic keypair generation and recovery to cli
* Use password input to retrieve mnemonic phrase
* Direct users without keypair file to use solana-keygen
2019-09-12 18:37:29 -07:00
Justin Starry and GitHub
81c36699c4
Add support for BPF program custom errors ( #5743 )
...
* Add support for BPF program custom errors
* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00
Justin Starry and GitHub
5840e3bbdf
Decrease instruction count in BPF Rust SDK entrypoint helper ( #5760 )
2019-09-03 08:38:59 -04:00
Justin Starry and GitHub
50ab34ad92
Install bzip2 in solana docker file ( #5701 )
2019-08-27 22:10:05 -04:00
Justin Starry and GitHub
6979a17674
Enabling building for bpf stack bug test program ( #5654 )
2019-08-26 17:23:21 -04:00
Justin Starry and GitHub
bd20c5e791
Add test case for u128 panic ( #5601 )
...
* u128 panic
* Add test case for u128 memory out of bounds error
* Fix check
2019-08-26 16:31:06 -04:00
Justin Starry and GitHub
19d16e75c6
Fix clippy and lint issues in BPF test program ( #5607 )
...
* Revert "Add test program for BPF memory corruption bug (#5603 )"
This reverts commit 63d62c33c6 .
* Revert "Revert "Add test program for BPF memory corruption bug (#5603 )""
This reverts commit 9502082cda .
* Fix clippy and fmt issues
2019-08-22 15:38:46 -04:00
Justin Starry and GitHub
63d62c33c6
Add test program for BPF memory corruption bug ( #5603 )
...
* Add test program for BPF memory corruption bug
* @jackcmay feedback
2019-08-22 14:25:23 -04:00
Justin Starry and GitHub
8c371dd2fb
Update performance metrics page in the book ( #5581 )
2019-08-21 09:59:23 -04:00
Justin Starry and GitHub
0fde19239b
Rate limit counter metrics points to one per second ( #5496 )
...
* Rate limit counter metrics points to one per second
* Remove old env var
* Test that metrics counter is incrementing
* Fix typo
2019-08-12 18:15:34 -04:00
Justin Starry and GitHub
4f86c0b74a
Rate limit transaction counters ( #5447 )
...
* Rate limit transaction counters
* @sakridge feedback
* Set default high metrics rate for multinode demo
* Fix tests
* Swap defaults and fix env var tests
* Only set metrics rate if not already set
2019-08-08 17:05:06 -04:00
Justin Starry and GitHub
12bb05c320
Fix dashboard mean tx/s stat ( #5455 )
2019-08-07 16:50:58 -04:00
Justin Starry and GitHub
43cc9fcb1d
Update mean tx/s to use the correct counter ( #5390 )
2019-08-01 15:30:36 -04:00
Justin Starry and GitHub
47b5ba44e9
Add tag suffix to remaining metrics host_id queries ( #5388 )
2019-08-01 14:43:13 -04:00
Justin Starry and GitHub
e95397e0a8
Clarify that host_id is a tag in metrics influx queries ( #5387 )
2019-08-01 14:34:07 -04:00