Trent Nelson
ff48ea20de
Bump version to 1.2.13
2020-07-22 06:08:41 +00:00
mergify[bot]
e9b40db319
Use OrderedIterator in TransactionStatusService ( #11149 ) ( #11151 )
...
* 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 21:36:02 +00:00
carllin
e773faeb24
Add replay votes to gossip vote tracking ( #11124 )
...
* Plumb replay vote channel
* Don't send redundant slots to repair_service
* Update test
* Keep gossip only for debugging gossip in the future
* Add comments
* Switch to using select()
* Fix replay -> gossip vote not counting toward gossip only stake
* tests
Co-authored-by: Carl <carl@solana.com >
2020-07-19 22:25:16 -07:00
carllin
3da254c745
Bump version to 1.2.12 ( #11088 )
...
Co-authored-by: Me <carl_solana_com@carl-dev.c.principal-lane-200702.internal>
2020-07-15 23:55:05 +00:00
mergify[bot]
acd25124d4
Make accounts file clean faster ( #11071 ) ( #11077 )
...
(cherry picked from commit 7fe870ba48
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-15 18:00:41 +00:00
mergify[bot]
d4bbb7f516
Expose TransactionStatusService to the other blockstore_processor path (bp #11070 ) ( #11074 )
...
* Expose tss to the other blockstore_processor path (#11070 )
(cherry picked from commit 9a80e31bae
)
# Conflicts:
# core/src/validator.rs
# ledger/src/blockstore_processor.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-15 05:50:45 +00:00
mergify[bot]
e859ad37a8
Add TreeDiff trait to reuse tree functions ( #11046 ) ( #11048 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit e9cbdf711b
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-14 09:03:53 +00:00
mergify[bot]
5205eb382e
Switch to using weighted repair in RepairService ( #10735 ) ( #10985 )
...
Co-authored-by: Carl <carl@solana.com >
2020-07-10 16:15:36 -07:00
Michael Vines
b07b6e56fa
getConfirmedBlocks now has an upper limit on slot range
...
(cherry picked from commit aef6bf272e
)
2020-07-10 15:40:03 -07:00
mergify[bot]
07d14f6f07
Add RepairWeight to track votes seen in gossip for weighted repair ( #10903 ) ( #10938 )
...
* Add RepairWeight
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 3f6042d8b3
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-10 14:13:56 -07:00
sakridge
2896fdb603
Update version to v1.2.11 ( #10966 )
2020-07-09 06:48:30 -07:00
sakridge
50970bc8f9
Update version to v1.2.10 ( #10962 )
2020-07-08 15:34:19 -07:00
mergify[bot]
d3b8129593
Clean accounts path on validator startup ( #10929 ) ( #10944 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-07 18:27:49 +00:00
Tyera Eulberg
f7fb5aebac
v1.2 instruction and account decoding backports ( #10939 )
...
* Revert "Rpc: add filter to getProgramAccounts (#10888 ) (#10932 )"
This reverts commit 9311a6e356
.
* Add jsonParsed option for EncodedTransactions; add memo parser (#10711 )
* Add jsonParsed option for EncodedTransactions; add memo parser
* Use kebab case for program names
* Add account-key parsing
* Add parse test
* Update transaction encoding docs (#10833 )
* Add account-decoder utilities (#10846 )
* Fix comment and make less pub
* Add account-decoder crate and use to decode vote and system (nonce) accounts
* Update docs
* Rename RpcAccount struct
* s/Rpc/Display
* Call it jsonParsed and update docs
* Revert "s/Rpc/Display"
This reverts commit 6e7149f503
.
* s/Rpc/Ui
* Add tests
* Ui more things
* Comments
* Update struct prefixes to Ui (#10874 )
* Update comments
* Use Ui prefix
* Rpc: add filter to getProgramAccounts (#10888 )
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-07 09:35:35 -06:00
Tyera Eulberg
9311a6e356
Rpc: add filter to getProgramAccounts ( #10888 ) ( #10932 )
...
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
2020-07-06 21:45:12 +00:00
mergify[bot]
8c706892df
Rpc: Add getStakeActivation endpoint (bp #10902 ) ( #10930 )
...
* 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
)
* Fix build
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-06 21:23:27 +00:00
mergify[bot]
36e8977f1d
Repair timing ( #10913 ) ( #10917 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 28e15a63e5
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-04 03:48:29 +00:00
sakridge
1584ec220c
Move clean accounts to background service ( #10904 )
2020-07-02 22:39:22 -07:00
mergify[bot]
fb366a7236
Add weighted traversal ( #10877 ) ( #10901 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit f17ac70bb2
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-02 23:52:03 +00:00
mergify[bot]
b903158543
getInflationRate now only supports the current epoch ( #10887 )
...
(cherry picked from commit d53228e69d
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-02 03:36:47 +00:00
mergify[bot]
d8fa19336c
Add heaviest subtree utility functions ( #10863 ) ( #10865 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7a71580d53
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-01 11:21:22 +00:00
sakridge
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
sakridge
88eeb817e4
More guard rails for restart with ledger procedure ( #10854 )
...
* Add expected_bank_hash required for supermajority
* Print snapshot hash in ledger-tool create-snapshot.
2020-06-30 12:55:25 -07:00
Stephen Akridge
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07:00
mergify[bot]
3e29325410
Fix fork detection ( #10839 ) ( #10844 )
...
* Fix fork detection
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 4b93a7c1f6
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-30 04:16:05 +00:00
mergify[bot]
4dc98c3dbd
Reduce logging lines ( #10835 ) ( #10841 )
...
(cherry picked from commit d9b389f510
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-30 00:28:58 +00:00
mergify[bot]
9caad645e2
Remove ledger purge batching ( #10830 ) ( #10836 )
...
(cherry picked from commit 583cec922b
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-29 23:10:45 +00:00
mergify[bot]
6cb76ac326
More replay stage timing metrics ( #10828 ) ( #10829 )
...
(cherry picked from commit 17a2128a8f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-28 18:27:35 +00:00
carllin
ab32d13da1
Add debugging ( #10820 )
...
Co-authored-by: Carl <carl@solana.com >
2020-06-26 08:09:04 +00:00
mergify[bot]
cefe46e981
Clean up rpc module ( #10812 ) ( #10815 )
...
* Clean up rpc module
* Simplify getting bank
(cherry picked from commit 62b873b054
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-26 01:59:06 +00:00
carllin
1e6285e64e
Fix leaf propagation in case of no votes in HeaviestForkChoice ( #10807 )
...
* Fix leaf propagation logic
Co-authored-by: Carl <carl@solana.com >
2020-06-25 04:05:26 -07:00
mergify[bot]
e3c90c3807
Add non-circulating withdraw authority ( #10798 ) ( #10804 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit b3e382ab3f
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-06-25 06:15:24 +00:00
mergify[bot]
55b92c16da
Remove fee-payer guesswork from Message and Transaction (bp #10776 ) ( #10785 )
...
* Remove fee-payer guesswork from Message and Transaction (#10776 )
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
(cherry picked from commit 1c498369b5
)
# Conflicts:
# cli/src/nonce.rs
# core/src/rpc.rs
# ledger/src/blockstore.rs
# programs/bpf/tests/programs.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 01:10:23 +00:00
Stephen Akridge
ccb7b1a698
Bump cargo version to v1.2.7
2020-06-24 09:23:12 -07:00
mergify[bot]
52eea215ce
Rework backup and clear function ( #10751 ) ( #10754 )
...
(cherry picked from commit a1ef921b88
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 22:56:14 +00:00
Stephen Akridge
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
mergify[bot]
9699b61679
Remove slots past wait-for-supermajority slot. ( #10720 ) ( #10745 )
...
(cherry picked from commit 2ba8fc5243
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 04:57:57 +00:00
mergify[bot]
8865bfbd59
Weight repair slots based on vote stake ( #10741 ) ( #10746 )
...
* Weight repair slots based on vote stake
* Add test
(cherry picked from commit cabd0a09c3
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-23 04:48:32 +00:00
mergify[bot]
db1003b5f8
nit removal ( #10721 ) ( #10729 )
...
(cherry picked from commit a87f490b5e
)
Co-authored-by: Kristofer Peterson <svenski123@users.noreply.github.com >
2020-06-21 08:36:07 +00:00
mergify[bot]
f52ff777b7
Add repair breakdown by slot and index ( #10717 ) ( #10727 )
...
* Slot full logging
* Repair stats logging
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit a33fef9af2
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-20 02:52:22 +00:00
mergify[bot]
e560fff840
Add CLI options and runtime support for selection of output snapshot version (bp #10536 ) ( #10712 )
...
* Add CLI options and runtime support for selection of output snapshot version. (#10536 )
(cherry picked from commit 6d81eede93
)
# Conflicts:
# core/src/accounts_hash_verifier.rs
# core/src/rpc_service.rs
# core/tests/bank_forks.rs
# ledger-tool/src/main.rs
# ledger/src/snapshot_package.rs
# validator/src/main.rs
* Fix conflicts
Co-authored-by: Kristofer Peterson <svenski123@users.noreply.github.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-06-19 07:52:09 +00:00
mergify[bot]
2cc71f2d55
Merge heaviest bank modules (bp #10672 ) ( #10677 )
...
* Merge heaviest bank modules
* Update lockfiles
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-18 06:14:53 +00:00
Stephen Akridge
4b33a2a1b8
Update Cargo.toml version from 1.2.4 to 1.2.5
2020-06-17 18:55:20 -07:00
mergify[bot]
7eb61074ab
Simd poh ( #10604 ) ( #10658 )
...
* Simd poh
* Fix poh verify bench
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-18 00:34:56 +00:00
Justin Starry
e8659b45c7
Wait until bank is frozen before sending RPC notifications ( #10654 )
...
(cherry picked from commit 39984cdcc3
)
2020-06-17 13:05:29 -07:00
mergify[bot]
a9553cb401
Entry verify cleanup and gossip counters ( #10632 ) ( #10650 )
...
* Add prune message counter
* Switch to us verification time to match other counters
* Add separate transaction/poh verify timing
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 19:48:05 +00:00
mergify[bot]
b6f484ddee
ClusterInfo cleanup ( #10504 ) ( #10657 )
...
automerge
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-17 15:28:41 +00:00
publish-docs.sh
3c39fee5a8
Add address to non-circulating supply
...
(cherry picked from commit 5673343f49
)
2020-06-16 21:45:51 -07:00
Stephen Akridge
dbda50941a
Bump version to 1.2.4
2020-06-16 17:03:09 -07:00
mergify[bot]
95029b9b05
Enable fork choice and switch votes, devnet => now, testnet => epoch 63 ( #10615 ) ( #10624 )
...
* Enable fork choice, devnet => now, testnet => epoch 63
* Set development to 0
* Enable switch vote slot
Co-authored-by: Carl <carl@solana.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit f8b88d717e
)
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-16 12:47:58 +00:00