Rob Walker
4c08184379
no check if no change ( #7824 )
2020-01-15 15:13:11 -08:00
Tyera Eulberg
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
Trent Nelson
8ffccfbaff
CLI: Plumb stake authorities throughout ( #7822 )
...
automerge
2020-01-15 13:32:06 -08:00
Rob Walker
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
Greg Fitzgerald
91bae9d510
Don't use word 'securely' ( #7820 )
...
automerge
2020-01-15 11:30:11 -08:00
Tyera Eulberg
f0f185509f
Remove tuple from programNotification ( #7819 )
...
automerge
2020-01-15 10:52:02 -08:00
Dan Albert
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
Michael Vines
4f663a2a86
Add new genesis validators ( #7814 )
...
automerge
2020-01-15 09:26:49 -08:00
Michael Vines
1d01777a13
Prefer CUDA_HOME environment variable
2020-01-15 09:03:52 -07:00
Tyera Eulberg
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
Michael Vines
50c1c08235
Set bootstrap leader and net/ validator vote account commission to 100%
2020-01-15 00:25:26 -07:00
Ryo Onodera
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
Justin Starry
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
carllin
721c4378c1
Plumb ability to handle duplicate shreds into shred insertion functions ( #7784 )
2020-01-14 15:37:53 -08:00
Jack May
5f4e0c7e3e
Naming nits ( #7798 )
...
automerge
2020-01-14 13:38:17 -08:00
Michael Vines
e6af4511a8
Include shred version in gossip
2020-01-14 14:32:40 -07:00
Michael Vines
965ad778dd
Improve KeypairFileNotFound error message ( #7792 )
...
automerge
2020-01-14 12:19:08 -08:00
sakridge
3b78be83cf
Add hash stats information to check hashes between validators ( #7780 )
...
automerge
2020-01-14 11:57:29 -08:00
Trent Nelson
564cd4e09d
Book: Drop since-fixed nonce known issue ( #7789 )
...
automerge
2020-01-14 10:13:09 -08:00
Ryo Onodera
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
carllin
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
Pankaj Garg
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
Trent Nelson
81ae44f858
Nonce: Rename instructions with VerbNoun scheme ( #7775 )
...
automerge
2020-01-13 15:34:43 -08:00
Tyera Eulberg
c948814eae
Update getConfirmedBlock examples ( #7772 )
2020-01-13 15:05:27 -07:00
Greg Fitzgerald
b5dba77056
Rename blocktree to blockstore ( #7757 )
...
automerge
2020-01-13 13:13:52 -08:00
Trent Nelson
ef06d165b4
Book: Update durable nonce proposal entry ( #7694 )
...
automerge
2020-01-13 13:12:09 -08:00
Jack May
5cb23c814d
Install move-loader binaries ( #7768 )
2020-01-13 12:53:53 -08:00
carllin
8f7ded33e0
coalesce data and coding index ( #7765 )
2020-01-13 12:03:19 -08:00
Tyera Eulberg
a17d5795fb
getConfirmedBlock: add encoding optional parameter ( #7756 )
...
automerge
2020-01-12 21:34:30 -08:00
Michael Vines
ad4d41e602
Pick an RPC node at random to avoid getting stuck on a bad RPC node
2020-01-11 12:10:11 -07:00
Trent Nelson
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
carllin
fd3c6eb320
Remove print in test ( #7758 )
...
automerge
2020-01-10 15:37:22 -08:00
sakridge
b7b68ecdba
Add partition testing documentation ( #7739 )
2020-01-10 15:32:43 -08:00
Jack May
08ba27627d
Direct entrypoint for execution ( #7746 )
2020-01-10 13:20:15 -08:00
carllin
27d2c0aaf3
Handle errors on replaying ledger properly ( #7741 )
2020-01-10 12:16:44 -08:00
Jack May
b714a4be63
Fix call to BPF build script ( #7754 )
...
automerge
2020-01-10 10:28:55 -08:00
Trent Nelson
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
Greg Fitzgerald
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
dependabot-preview[bot]
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
dependabot-preview[bot]
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
dependabot-preview[bot]
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
Jack May
2d08dddfc8
nit, cleanup uses ( #7747 )
...
automerge
2020-01-09 23:58:13 -08:00
Jack May
6da8f49d8b
nit, clearer error message ( #7748 )
...
automerge
2020-01-09 23:53:47 -08:00
Justin Starry
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
e90a31781c
Update http crate in bpf program to fix security vulnerability ( #7735 )
2020-01-10 10:21:20 +08:00
sakridge
2e89ec9105
Don't keep generating transactions in non-sustained bench-tps mode ( #7577 )
2020-01-09 17:48:18 -08:00
Ryo Onodera
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
sakridge
73c93cc345
Print bank hash and hash inputs. ( #7733 )
2020-01-09 16:33:10 -08:00
dependabot-preview[bot]
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
Ryo Onodera
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