mergify[bot]
d0f715cb23
adds new CrdsFilterSet type for Vec<CrdsFilter> ( #12029 ) ( #12048 )
...
(cherry picked from commit 114c211b66
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-09-04 14:10:12 +00:00
mergify[bot]
aa3bdd3730
Revert signature-notification format change (bp #12032 ) ( #12038 )
...
* Revert signature-notification format change (#12032 )
* Use untagged RpcSignatureResult enum to avoid breaking downstream consumers of current signature subscriptions
* Clean up client duplication
* Clippy
(cherry picked from commit 39246f9dd7
)
# Conflicts:
# core/src/rpc_pubsub.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-09-04 01:34:49 +00:00
mergify[bot]
962aed0961
Mark a withdraw authority as non-circulating ( #12033 ) ( #12036 )
...
(cherry picked from commit 2c091e4fca
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-09-04 00:46:10 +00:00
Josh
bd76810623
Bump version to 1.3.9 ( #12034 )
2020-09-03 16:55:24 -07:00
mergify[bot]
01a9360dbe
builds crds filters without looping over filters ( #11998 ) ( #12028 )
...
(cherry picked from commit bc7adb97ed
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-09-03 21:44:00 +00:00
mergify[bot]
f44d9d770a
Rpc: add getMultipleAccounts endpoint (bp #12005 ) ( #12024 )
...
* Rpc: add getMultipleAccounts endpoint (#12005 )
* Add rpc endpoint to return the state of multiple accounts from the same bank
* Add docs
* Review comments: Dedupe account code, default to base64, add max const
* Add get_multiple_accounts to rpc-client
(cherry picked from commit b22de369b7
)
* Use new_response for consistency
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-09-03 19:52:46 +00:00
mergify[bot]
d273d1acb2
Fix forwarding calculation ( #12014 ) ( #12019 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 3f39ab1e04
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-03 10:36:56 +00:00
mergify[bot]
a5832366a7
Detect and notify when deserializable shreds are available (bp #11816 ) ( #11988 )
...
* Detect and notify when deserializable shreds are available (#11816 )
* Add logic to check for complete data ranges
* Add RPC signature notification
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1c1a3f979d
)
# Conflicts:
# accounts-bench/Cargo.toml
# core/src/rpc_pubsub.rs
* Fix conflicts
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-09-02 06:38:10 +00:00
mergify[bot]
57f149e415
Ensure that the spl-token 2 native mint account is owned by the spl-token 2 program. ( #11974 )
...
Workaround for https://github.com/solana-labs/solana-program-library/issues/374 until spl-token 3 is shipped
(cherry picked from commit 7341e60043
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-01 18:16:22 +00:00
mergify[bot]
0d23ad00b1
Update to rayon 1.4.0 ( #11898 ) ( #11902 )
...
(cherry picked from commit c4253dc0f9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-01 04:53:39 +00:00
mergify[bot]
d9684f99c3
Remove log ( #11949 ) ( #11961 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7641b60a2b
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-01 01:05:20 +00:00
Michael Vines
663dc9959f
Bump version to v1.3.8
2020-08-31 10:18:42 -07:00
mergify[bot]
0811cb2966
Fix get_parsed_token_accounts ( #11907 ) ( #11909 )
...
(cherry picked from commit 60c7ac6f95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-29 19:53:05 +00:00
Michael Vines
311b419f8a
Bump version to v1.3.7
2020-08-29 11:42:14 -07:00
Tyera Eulberg
61aca235a3
Bump spl-token version
2020-08-29 03:24:36 -06:00
mergify[bot]
bad0709ff1
Update to token pack/unpack changes (bp #11900 ) ( #11903 )
...
* Update to token pack/unpack changes (#11900 )
(cherry picked from commit 2eff9a19c3
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-29 05:46:07 +00:00
mergify[bot]
2a649e990d
Update spl-token to v2.0 (bp #11884 ) ( #11897 )
...
* Update spl-token to v2.0 (#11884 )
* Update account-decoder to spl-token v2.0
* Update transaction-status to spl-token v2.0
* Update rpc to spl-token v2.0
* Update getTokenSupply to pull from Mint directly
* Fixup to spl-token v2.0.1
(cherry picked from commit 76be36c9ce
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-28 23:36:53 +00:00
Jon Cinque
c6416fca6e
Bump version to 1.3.6 ( #11890 )
2020-08-28 16:58:59 +02:00
mergify[bot]
ef1a9df507
Small cleaning around consensus/bank_forks ( #11873 ) ( #11881 )
...
(cherry picked from commit d8c529a9b8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-28 01:06:21 +00:00
mergify[bot]
65f189d932
Rpc: Filter accounts with invalid mints from get_parsed_token_accounts ( #11844 ) ( #11859 )
...
* Filter out accounts with invalid mints from get_parsed_token_accounts
* Explicit docs
(cherry picked from commit 1988ee9cd6
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-26 19:02:48 +00:00
mergify[bot]
f5e583ef0d
solana-gossip spy
can now be given an identity keypair (--identity
argument) (#11797 )
...
(cherry picked from commit a1e2357d12
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-23 01:14:42 +00:00
mergify[bot]
132550cd7a
RPC: Allow the sendTransaction preflight commitment level to be configured (bp #11792 ) ( #11794 )
...
* Allow the sendTransaction preflight commitment level to be configured
(cherry picked from commit b660704faa
)
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-22 16:41:25 +00:00
mergify[bot]
2d9781b101
Add option for repairing only from trusted validators ( #11752 ) ( #11773 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit c8d67aa8eb
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-21 20:40:37 -07:00
mergify[bot]
6540d3c63e
Make BPF Loader static (bp #11516 ) ( #11790 )
...
* Make BPF Loader static (#11516 )
(cherry picked from commit 7c736f71fe
)
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# core/src/lib.rs
# core/src/validator.rs
# genesis-programs/src/lib.rs
# programs/bpf_loader/src/deprecated.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/entrypoint_native.rs
# sdk/src/lib.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-22 01:54:50 +00:00
mergify[bot]
cdf6ff7907
Fix filter_crds_values output alignment with the inputs ( #11734 ) ( #11781 )
...
(cherry picked from commit 418b483af6
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-08-21 20:56:26 +00:00
carllin
a9f914da8e
Cleanup test utilities ( #11766 )
...
* Add voting utility
* Add blockstore utility
Co-authored-by: Carl <carl@solana.com >
2020-08-21 06:52:01 +00:00
mergify[bot]
096375584b
Rpc: Return error if block does not exist ( #11743 ) ( #11749 )
...
* Return error if block does not exist
* Update docs
(cherry picked from commit 747f8d5877
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-20 23:26:55 +00:00
mergify[bot]
e41d9c87c5
Bump spl-token to clean up magic number (bp #11726 ) ( #11738 )
...
* Bump spl-token to clean up magic number (#11726 )
(cherry picked from commit 2fd2aceeb2
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts and toml order
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-20 18:02:28 +00:00
Greg Fitzgerald
e938925b95
Add BanksClient ( #11721 )
...
Cherry-picked from #10728 , but without the changes to solana-tokens
2020-08-19 22:24:24 -06:00
Trent Nelson
abce60efdf
Bump version to 1.3.5
2020-08-19 20:19:34 +00:00
mergify[bot]
b36510a565
Skip grace blocks if previous leader was on different fork ( #11679 ) ( #11709 )
...
* Start leader blocks if previous leader was on different fork
* Fix test
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 5f8d34feb3
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-19 09:29:08 +00:00
mergify[bot]
2c642d4639
Filter push/pulls from spies ( #11620 ) ( #11703 )
...
* Filter push/pulls from spies
* Don't pull from peers with shred version == 0, don't push to people with shred_version == 0
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 0f0a2ddafe
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-19 03:20:43 +00:00
mergify[bot]
e41004f185
rpc: rework binary encoding. BREAKING CHANGE (bp #11646 ) ( #11674 )
...
* Add base64 (binary64) encoding for getConfirmedTransaction/getConfirmedBlock
(cherry picked from commit b5f3ced860
)
* 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:
# account-decoder/src/lib.rs
# cli/src/cli.rs
* Rename Binary64 to Base64. Establish Base58 encoding
(cherry picked from commit adc984a225
)
# Conflicts:
# account-decoder/src/lib.rs
* 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 02:53:10 +00:00
mergify[bot]
d9ae092637
Re-do rent collection check on rent-exempt account (bp #11349 ) ( #11655 )
...
* 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
* Fix conflicts
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-17 07:20:24 +00:00
mergify[bot]
9015e47cc5
Rpc: Add until parameter for getConfirmedSignaturesForAddress2 ( #11644 ) ( #11648 )
...
* 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 17:59:35 +00:00
Trent Nelson
c72bd900cd
Bump version to 1.3.4
2020-08-14 18:29:46 +00:00
mergify[bot]
011e325359
Ensure highest_confirmed_root only grows ( #11596 ) ( #11608 )
...
* Split out commitment-cache update for unit testing
* Add failing test
* Ensure highest_confirmed_root only grows
(cherry picked from commit 4da1e9833c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-13 08:13:00 +00:00
mergify[bot]
ba05852475
generate_pull_response optimization ( #11597 ) ( #11606 )
...
(cherry picked from commit f519fdecc2
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-13 06:53:45 +00:00
mergify[bot]
8ee656edde
Return blockstore signatures-for-address despite bigtable error ( #11594 ) ( #11599 )
...
(cherry picked from commit b1e452f876
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-13 01:12:16 +00:00
mergify[bot]
311d9a56c4
Add incoming pull response counter ( #11591 ) ( #11592 )
...
(cherry picked from commit 54137e3446
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-12 22:17:50 +00:00
mergify[bot]
b9f46fd904
Fix assertion failure ( #11572 ) ( #11590 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 473b5249e3
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-12 20:19:54 +00:00
Trent Nelson
4a27bfa2fe
Bump version to 1.3.3
2020-08-12 00:43:50 +00:00
mergify[bot]
69e53ec92a
Gossip log ( #11555 ) ( #11562 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1b238dd63e
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-11 22:55:18 +00:00
mergify[bot]
b8ac76066c
Move cluster slots update to separate thread ( #11523 ) ( #11558 )
...
* Add cluster_slots_service
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7ef50a9352
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-11 21:24:34 +00:00
mergify[bot]
61af485732
filter out old gossip pull requests ( #11448 ) ( #11553 )
...
* init
* builds
* stats
* revert
* tests
* clippy
* add some jitter
* shorter jitter timer
* update
* fixup! update
* use saturating_sub
* fix filters
(cherry picked from commit 713851b68d
)
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2020-08-11 19:42:32 +00:00
mergify[bot]
1589a41178
Add config param to specify offset/length for single and program account info (bp #11515 ) ( #11518 )
...
* Add config param to specify offset/length for single and program account info (#11515 )
* Add config param to specify dataSlice for account info and program accounts
* Use match instead of if
(cherry picked from commit 88ca04dbdb
)
# Conflicts:
# cli/src/cli.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 00:03:18 +00:00
mergify[bot]
23a381b995
Fix parsing of spl-token Mint ( #11512 ) ( #11514 )
...
* Add failing test
* Fix jsonParsed mint
(cherry picked from commit da210ddd51
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-10 21:51:20 +00:00
mergify[bot]
3e483314b6
Decode native-program and sysvar accounts (bp #11463 ) ( #11485 )
...
* Decode native-program and sysvar accounts (#11463 )
* Pass pubkey in to account-decoder for sysvars
* Decode sysvar accounts
* Decode config accounts; move validator-info lower
* Decode stake accounts
* Review comments
* Stringify any account lamports and epochs that can be set to u64::MAX
(cherry picked from commit a9f76862fb
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-09 09:18:17 +00:00
mergify[bot]
8a67504578
Add Binary64 option for account data ( #11474 ) ( #11481 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
(cherry picked from commit 068d23f298
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-09 06:50:24 +00:00
Trent Nelson
f9e07f575e
Bump version to v1.3.2
2020-08-08 06:26:20 +00:00