sakridge
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
Greg Fitzgerald
f040987c9f
Move date oracle to config program ( #7105 )
...
automerge
2019-11-22 15:10:53 -08:00
Greg Fitzgerald
2a42ddbcbf
Don't panic if pubkeys are missing from Budget transaction ( #7102 )
2019-11-22 14:34:50 -07:00
Ryo Onodera
8bb68c4e6a
Really remove mentions of 'genesis_block' ( #7099 )
2019-11-23 05:58:20 +09:00
Sagar Dhawan
4485b978c1
Clean up accounts hash internal state api ( #7090 )
2019-11-22 08:56:00 -08:00
Michael Vines
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
Michael Vines
ef55c15537
Remove unused --poll-for-new-genesis-config feature ( #7093 )
...
automerge
2019-11-22 08:12:08 -08: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
c8166aed97
Correctly indicate genesis activation_epoch ( #7091 )
...
* Correctly indicate genesis activation_epoch
* Drop the '(Genesis)'
2019-11-22 15:35:02 +09:00
Michael Vines
0bd41f98ed
Avoid jemalloc in windows build ( #7089 )
...
automerge
2019-11-21 18:39:29 -08:00
Jack May
d8ead57fbb
Use bs58 strings to declare IDs rather then raw bytes ( #7082 )
2019-11-21 16:34:40 -08:00
anatoly yakovenko
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
Tyera Eulberg
c965a110f2
Use unbounded channel ( #7081 )
2019-11-21 14:23:40 -07:00
Rob Walker
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
Michael Vines
a2a9f1e331
Truncate new keypair files ( #7078 )
...
automerge
2019-11-21 10:02:04 -08:00
dependabot-preview[bot]
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
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
Sagar Dhawan
79199711b8
Add gpu resource usage tracking ( #7075 )
2019-11-21 08:33:02 -08:00
Sagar Dhawan
2c1b8fdd39
Add another test for bank state hashes ( #7073 )
...
automerge
2019-11-20 23:03:42 -08:00
Jack May
d9024db68d
Fix publish of move program ( #7072 )
2019-11-20 20:33:49 -08:00
Greg Fitzgerald
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
sakridge
e66b29943b
datapoint for best fork weight and slot in replay ( #7066 )
2019-11-20 17:26:52 -08:00
Sagar Dhawan
100b9dd12a
Fix num nodes metrics ( #7068 )
...
* Fix num nodes metric
* Fix node count metrics
2019-11-20 17:00:31 -08:00
Jack May
3415db9739
Merge api/program into single units ( #7061 )
2019-11-20 16:32:19 -08:00
Michael Vines
186bf7ae32
Plumb --gossip-host arg
2019-11-20 16:57:24 -07:00
Tyera Eulberg
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
Michael Vines
ee6b11d36d
Remove ability to deploy custom programs ( #7070 )
...
automerge
2019-11-20 15:37:42 -08:00
Michael Vines
f58fef60fb
Fix program copy
2019-11-20 15:56:00 -07:00
Jack May
a76eb64bbb
Copy all programs when starting a network ( #7069 )
2019-11-20 14:37:15 -08:00
Trent Nelson
8590326b50
Book: Add proposal for durable transaction nonces ( #6725 )
...
automerge
2019-11-20 14:33:02 -08:00
Michael Vines
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
Jack May
c39633f968
nit: Circular dependency error is hard to read ( #7065 )
2019-11-20 13:13:22 -08:00
Michael Vines
1fef74b00c
Fix `solana-keygen new --force ...` ( #7064 )
...
automerge
2019-11-20 12:46:16 -08:00
Parth
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
anatoly yakovenko
b150da837a
Use epoch as the gossip purge timeout for staked nodes. ( #7005 )
...
automerge
2019-11-20 11:25:18 -08:00
Rob Walker
ba9aaee7cd
Update config.rs ( #7045 )
...
automerge
2019-11-20 11:10:46 -08:00
sakridge
3aa67969f9
Add perf module to stable-perf CI ( #7060 )
2019-11-20 10:59:56 -08:00
sakridge
d4f336db40
Fix unpin argument ( #7057 )
...
automerge
2019-11-20 10:22:26 -08:00
Jack May
d184d3a732
Merge native programs parts into one unit ( #7047 )
2019-11-20 10:12:43 -08:00
Sagar Dhawan
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
Jack May
d2ed921bc6
Cleanup nightly warnings ( #7055 )
2019-11-19 20:15:37 -08:00
Pankaj Garg
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
Justin Starry
95c137158f
Fix gce.sh info ( #7054 )
...
automerge
2019-11-19 17:49:25 -08:00
Michael Vines
7151b92239
Don't create keypair files with r+go ( #7051 )
2019-11-19 18:26:21 -07:00
Tyera Eulberg
716caeb17c
Use camelCase ( #7050 )
...
automerge
2019-11-19 14:55:32 -08:00
Michael Vines
f8e4bdd23d
--bootstrap-storage-pubkey is now optional ( #7049 )
...
automerge
2019-11-19 14:35:56 -08:00
b-harvest
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
Tyera Eulberg
854fc8d552
Add getConfirmedBlock to json-rpc docs ( #7046 )
2019-11-19 14:00:15 -07:00
Sagar Dhawan
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
Tyera Eulberg
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