Michael Vines
3a1ca4efff
Fetch and install SPL programs by default
2020-07-29 12:48:56 -07:00
Ryo Onodera
d44e0b7cd8
Support ad-hoc genesis args in run.sh ( #9697 )
...
automerge
2020-04-23 22:48:53 -07:00
Ryo Onodera
f987c18a7e
Strictly validate the contents of snapshot/genesis ( #8959 )
...
automerge
2020-03-25 02:46:41 -07:00
Tyera Eulberg
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
Michael Vines
aa24181a53
Remove blockstream unix socket support. RPC or bust ( #9004 )
...
automerge
2020-03-21 20:17:11 -07:00
Justin Starry
5a93a4c466
Fix faucet command in run.sh ( #8883 )
...
automerge
2020-03-16 04:44:54 -07:00
Michael Vines
b2a0cdaa38
Rename leader to validator, drop _keypair/-keypair suffix ( #8876 )
...
automerge
2020-03-15 13:19:55 -07:00
Dan Albert
ae70f4ea92
Apply s/faucet-keypair/faucet renaming to net scripts ( #8867 )
2020-03-14 16:49:28 -07:00
Michael Vines
29fb79382c
Rework validator vote account defaults to half voting fees
2020-03-13 20:13:33 -07:00
Grimes
44fde2d964
genesis: Add support for multiple bootstrap validators ( #8656 )
...
automerge
2020-03-04 23:42:01 -08:00
Michael Vines
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
Michael Vines
f9323c5273
don't put accounts in a weird location, use the defaults ( #7921 )
...
automerge
2020-01-22 10:57:37 -08:00
Greg Fitzgerald
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
Ryo Onodera
78836a9e22
Make run.sh not overwrite genesis if existing ( #7837 )
2020-01-16 14:34:36 +09:00
Tyera Eulberg
3513f4ee84
Rename drone to faucet ( #7508 )
2019-12-16 14:05:17 -07:00
Justin Starry
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
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
Ryo Onodera
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
Ryo Onodera
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
Sunny Gleason
5d8c1a303e
fix: update run.sh arguments to solana-genesis ( #6996 )
2019-11-15 23:22:21 -05:00
Justin Starry
24b254459b
Fix dev mode arg in run.sh ( #6997 )
2019-11-15 23:16:42 -05:00
Justin Starry
30089841f6
Use correct faucet arg in run.sh ( #6994 )
...
automerge
2019-11-15 18:33:08 -08:00
Michael Vines
5ab70c4e97
genesis: rename mint account to faucet account and make it optional ( #6990 )
2019-11-15 14:50:26 -07:00
Jack May
5b6c590057
run.sh logs validators to stderr ( #6817 )
2019-11-08 11:30:19 -08:00
Justin Starry
e0d9f7d1d4
Fix genesis arg names in run.sh ( #6785 )
2019-11-06 23:27:10 -05:00
Jack May
85ccba366a
Run localnet in development mode ( #6587 )
2019-10-28 15:35:17 -07:00
Michael Vines
621c67a8cb
Adjust default cluster signature fees ( #6436 )
2019-10-18 17:00:51 -07:00
Michael Vines
1d0be265d9
Add explicit validator-cuda crate ( #5985 )
2019-09-19 20:50:34 -07:00
Michael Vines
3fc5009ef2
Snapshot pipefitting through the validator cli ( #5617 )
...
* Handle 404 errors better
* Snapshot pipefitting through the validator cli
* Add download progress bar
* Log the current entrypoint slot
2019-08-23 13:02:07 -07:00
Michael Vines
d6aaab0b2c
Remove --snapshot-path
2019-08-07 07:59:28 -07:00
carllin
6cb2040a1b
Snapshot Packaging Service ( #5262 )
...
* Snapshot serialization and packaging
2019-07-31 17:58:10 -07:00
Michael Vines
bd7e269280
Kill rsync ( #5336 )
...
automerge
2019-07-30 22:43:47 -07:00
Michael Vines
d6c74f438a
Delete vestigal --vote-account argument ( #5287 )
...
automerge
2019-07-26 08:42:48 -07:00
Michael Vines
1561d9c8d4
Remove --storage-mining-pool-lamports ( #4792 )
2019-06-23 20:19:53 -07:00
Michael Vines
e4b466874c
Remove storage-mining-pool-keypair arg
2019-06-21 21:38:03 -07:00
Michael Vines
a283863694
Add storage-mining-pool genesis params
2019-06-14 20:25:39 -07:00
Michael Vines
e4d8ea11ac
Make lamports_per_signature dynamic based on cluster load ( #4562 )
...
* Make lamports_per_signature dynamic based on cluster load
* Move transaction-fees.md to implemented
2019-06-10 22:18:32 -07:00
Michael Vines
8676b5d40c
Use more -f
2019-06-07 22:18:55 -07:00
Michael Vines
a9f73ea321
solana-keygen no longer blindly overwrites a keypair, or assumes "new" ( #4599 )
...
automerge
2019-06-07 17:54:54 -07:00
Michael Vines
ec5cca41bc
Separate bootstrap leader's stake lamports from its identity lamports ( #4510 )
...
* Revert "Prevent run.sh from running beyond the first epoch under normal use (#4498 )"
This reverts commit d343c409e6
.
* Separate bootstrap leader's stake lamports from its identity lamports
2019-05-31 19:58:52 -07:00
Michael Vines
bc1368ba3e
Make run.sh compatible with multinode-demo/validator.sh ( #4507 )
...
automerge
2019-05-31 16:51:09 -07:00
Michael Vines
d343c409e6
Prevent run.sh from running beyond the first epoch under normal use ( #4498 )
...
The local cluster that run.sh starts will typically only have a single
node, the bootstrap leader. With epoch warmup enabled, run.sh will fail
after ~90 seconds once the warmup period has been exceeded due to lack
of votes from other validators.
As a workaround, disable epoch warmup and set slots-per-epoch to 1
million to keep run.sh alive for more than a fortnight.
2019-05-31 15:42:32 -07:00
Sathish
182096dc1a
Create bank snapshots ( #4244 )
...
* Revert "Revert "Create bank snapshots (#3671 )" (#4243 )"
This reverts commit 81fa69d347
.
* keep saved and unsaved copies of status cache
* fix format check
* bench for status cache serialize
* misc cleanup
* remove appendvec storage on purge
* fix accounts restore
* cleanup
* Pass snapshot path as args
* Fix clippy
2019-05-30 21:31:35 -07:00
Michael Vines
fb2eac20bb
Rename solana-fullnode to solana-validator ( #4411 )
2019-05-23 15:06:01 -07:00
Michael Vines
b37d2fde3d
Add storage mining pool ( #4364 )
...
* Add storage mining pool
* Set gossip port
* Add create-storage-mining-pool-account wallet command
* Add claim-storage-reward wallet command
* Create storage account upfront
* Add storage program to genesis
* Use STORAGE_ACCOUNT_SPACE
* Fix tests
* Add wallet commands to create validator/replicator storage accounts
* Add create_validator_storage_account()
* Storage stage no longer implicitly creates a storage account
2019-05-23 14:50:23 -07:00
Michael Vines
1acfcf3acf
Fix storage-keypair
2019-05-20 19:54:37 -07:00
Sagar Dhawan
d15e248cdb
Add bootstrap storage account to genesis ( #4359 )
...
* Add bootstrap storage account to genesis
* Add storage account genesis command to run.sh
* Update airdrop for all validators
* Remove unhelpful Short for arg
* Set the correct program owner
2019-05-20 19:46:15 -07:00
Michael Vines
392a39dd54
Poh subsystem cleanup, genesis plumbing, enable real PoH on edge testnet ( #4292 )
...
* Remove unused PohServiceConfig::Step
* Clarify variable name
* Poh::hash() now takes an iteration counter
* man -> max
* Inline functions with single call site
* Move PohServiceConfig into GenesisBlock
* Add plumbing to enable real PoH on testnets
* Batch hashes to improve PoH hash rate
* Ensure a constant hashes_per_tick
* Remove PohEntry mixin field
* Poh/PohEntry no longer maintains tick_height
* Ensure a constant hashes_per_tick
* ci/localnet-sanity.sh: Use real PoH
* Rework Poh/PohService to keep PohRecorder unlocked as much as possible while hashing
2019-05-18 14:01:36 -07:00
Trent Nelson
41156da4ca
Sync run.sh with fd3f2cb
( #4322 )
...
automerge
2019-05-16 21:32:23 -07:00
Rob Walker
81fa69d347
Revert "Create bank snapshots ( #3671 )" ( #4243 )
...
This reverts commit abf2b300da
.
2019-05-09 19:27:27 -07:00