carllin
5255a6ebd2
Cleanup test utilities ( #11725 )
...
Co-authored-by: Carl <carl@solana.com >
2020-08-20 00:10:18 -07:00
Trent Nelson
2a1946436b
Bump version to 1.2.26
2020-08-19 20:33:40 +00:00
Michael Vines
80649a9c3d
Revert "Revert "rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )""
...
This reverts commit fb90fb3feb
.
2020-08-18 21:25:31 -07:00
Michael Vines
00251f710e
Bump version to v1.2.25
2020-08-18 08:40:00 -07:00
Michael Vines
fb90fb3feb
Revert "rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )"
...
This reverts commit d6ca879d39
.
2020-08-18 06:27:20 -07:00
mergify[bot]
d6ca879d39
rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11673 )
...
* Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock
(cherry picked from commit b5f3ced860
)
# Conflicts:
# transaction-status/Cargo.toml
* decode-transaction now supports binary64
(cherry picked from commit 2ebc68a9e2
)
# Conflicts:
# cli/src/cli.rs
* Rework UiAccountData encode/decode such that it works from Rust
(cherry picked from commit 757e147b3b
)
# Conflicts:
# cli/src/cli.rs
* Rename Binary64 to Base64. Establish Base58 encoding
(cherry picked from commit adc984a225
)
* Remove "binary" encoding. Document "encoding" as required
(cherry picked from commit e5281157fa
)
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-18 04:18:48 +00:00
mergify[bot]
e2626dad83
Re-do rent collection check on rent-exempt account (bp #11349 ) ( #11654 )
...
* Re-do rent collection check on rent-exempt account (#11349 )
* wip: re-do rent collection check on rent-exempt account
* Let's see how the ci goes
* Restore previous code
* Well, almost all new changes are revertable
* Update doc
* Add test and gating
* Fix tests
* Fix tests, especially avoid to change abi...
* Fix more tests...
* Fix snapshot restore
* Align to _new_ with better uninitialized detection
(cherry picked from commit 23fa84b322
)
# Conflicts:
# core/src/rpc_subscriptions.rs
# core/tests/bank_forks.rs
# runtime/src/bank.rs
* Fix conflicts
* Add missing comment
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-17 11:14:56 +00:00
mergify[bot]
070fbeb69a
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 ) ( #11647 )
...
* Refactor bigtable apis to accept start and end keys
* Make helper fn to deserialize cell data
* Refactor get_confirmed_signatures_for_address to use get_row_data range
* Add until param to get_confirmed_signatures_for_address
* Add until param to blockstore api
* Plumb until through client/cli
* Simplify client params
(cherry picked from commit 6c5b8f324a
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-15 18:04:08 +00:00
Trent Nelson
1bda09bf0e
Bump version to 1.2.24
2020-08-14 18:51:08 +00:00
mergify[bot]
e2b5f2dd9c
RPC: getConfirmedSignaturesForAddress2 only returns confirmed signatures ( #11615 ) ( #11617 )
...
* Add failing test case
* Limit to only rooted slots
(cherry picked from commit 99fb36fe45
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-13 18:31:20 +00:00
Trent Nelson
c15aa4a968
Bump version to 1.2.23
2020-08-12 00:34:33 +00:00
mergify[bot]
1db1d173fc
Blockstore address signatures: handle slots that cross primary indexes, and refactor get_confirmed_signatures_for_address2 ( #11497 ) ( #11507 )
...
* Freeze address-signature index in the middle of slot to show failure case
* Secondary filter on signature
* Use AddressSignatures iterator instead of manually decrementing slots
* Remove unused method
* Add metrics
* Add transaction-status-index doccumentation
(cherry picked from commit de5fb3ba0e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 17:50:05 +00:00
sakridge
11476038cd
Add db recovery methods ( #10838 ) ( #11496 )
2020-08-10 08:20:12 -07:00
Michael Vines
dbbdfa1dbb
Bump version to v1.2.22
2020-08-09 18:02:02 +00:00
mergify[bot]
929ffc5a4e
Fix blockstore empty panic (bp #11423 ) ( #11429 )
...
* Fix blockstore empty panic (#11423 )
* Add panicking test
* Add failing test: fresh transaction-status column shouldn't point at valid root 0
* Prevent transaction status match outside of primary-index bounds
* Initialize transaction-status and address-signature primer entries with Slot::MAX
* Revert "Add failing test: fresh transaction-status column shouldn't point at valid root 0"
This reverts commit cbad2a9fae
.
* Revert "Initialize transaction-status and address-signature primer entries with Slot::MAX"
This reverts commit ffaeac0669
.
(cherry picked from commit 1061b50665
)
# Conflicts:
# ledger/src/blockstore.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-07 01:21:24 +00:00
mergify[bot]
1f63fb06f1
Add address-based lower bound to get_confirmed_signatures_for_address2 loop ( #11426 ) ( #11431 )
...
(cherry picked from commit 5530ee4c95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-06 23:56:39 +00:00
Trent Nelson
b49aa125c9
Bump version to 1.2.21
2020-08-06 12:20:56 -07:00
Michael Vines
66242eab41
Long-term ledger storage with BigTable (bp #11222 )
2020-08-05 23:15:28 -07:00
Trent Nelson
7f0d4f0656
Bump version to 1.2.20
2020-08-05 22:06:02 -06:00
Trent Nelson
1ff9555099
Bump version to 1.2.19
...
This one has some bonus deltas due to locks not being bumped for v1.2.18 nor
the ed25591-dalek update.
2020-08-06 00:32:08 +00:00
mergify[bot]
72a13e2a72
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11393 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b
)
# Conflicts:
# core/src/rpc.rs
* Reimplement transaction-history command with getConfirmedSignaturesForAddress2
(cherry picked from commit 087fd32ce3
)
* Rework get_confirmed_signatures_for_address2
(cherry picked from commit a11f137810
)
* Rename startAfter to before
(cherry picked from commit 02c0981ecf
)
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 23:14:53 +00:00
Michael Vines
0cae099d12
Bump version to v1.2.18
2020-08-01 21:15:25 -07:00
Trent Nelson
139bb32dba
Bump version to 1.2.17
2020-08-01 07:14:47 +00:00
Trent Nelson
5323622842
Bump version to 1.2.16
2020-07-30 10:55:09 -06:00
Trent Nelson
11e43e1654
Bump version to 1.2.15
2020-07-29 06:59:27 +00:00
Trent Nelson
b83a4cae90
Bump version to 1.2.14
2020-07-25 04:00:17 +00:00
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
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]
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]
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
mergify[bot]
03b213e296
Add block time placeholder to getConfirmedBlock ( #10990 )
...
(cherry picked from commit 491f5ae61a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-07-10 11:02:27 -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
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
mergify[bot]
f324547600
Skip and warn for hard-forks which are less than the start slot ( #10918 ) ( #10920 )
...
* Skip and warn for hard-forks which are less than the start slot
Option is used during a restart, but then after the restart is
complete, then the option is not needed if the starting slot
is past the hard-fork since the hard-fork should already be
in the snapshot it started from.
* Update ledger/src/blockstore_processor.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 658de5b347
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-07-05 22:15:26 +00:00
mergify[bot]
b88db2689e
Add breakdown of erasure blobs ( #10912 ) ( #10915 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit f014c94369
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-07-04 02:15:03 +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
sakridge
191483cf9f
Update cargo.* version to 1.2.9 ( #10861 )
2020-06-30 23:21:10 +00:00
Stephen Akridge
89d78dcfcf
Update cargo.* version to 1.2.8
2020-06-30 09:03:28 -07: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]
f4d70e78b6
Add ancestor iterator to lib.rs ( #10813 ) ( #10817 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 0fde0d7379
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-26 01:02:51 +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]
397f9f11c5
Allow for hard fork at last root ( #10762 ) ( #10766 )
...
(cherry picked from commit 0e393a5684
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-06-24 06:10:48 +00: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
mergify[bot]
6f48aafd3a
Add utility functions for testing ( #10749 ) ( #10752 )
...
* Add ancestor iterator
* Add blockstore generation from trees
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 77b8de193c
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-06-23 21:55:09 +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