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
Trent Nelson
c8bad57455
Bump version to v1.3.1
2020-08-07 19:21:41 -06:00
mergify[bot]
f9d6fb48a4
Send votes from banking stage to vote listener ( #11434 ) ( #11454 )
...
* Send votes from banking stage to vote listener
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7e25130529
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-08-07 19:45:40 +00:00
mergify[bot]
fa9aa0a1d7
Token Accounts: return ui_amount, decimals with decoded account ( #11407 ) ( #11453 )
...
* Return ui_amount, decimals from token client methods
* Return ui_amount, decimals in RPC jsonParsed token accounts
* Fixup docs
* Return ui_amount, decimals in pubsub jsonParsed token accounts
* Remove unnecessary duplicate struct
* StringAmount rename
(cherry picked from commit b7c2681903
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-07 19:05:35 +00:00
mergify[bot]
1a42a40492
RPC: Plug getConfirmedSignaturesForAddress2 into bigtable storage (bp #11395 ) ( #11406 )
...
* Plug getConfirmedSignaturesForAddress2 into bigtable storage
(cherry picked from commit 4222932e08
)
* Upgrade help description
(cherry picked from commit 9abb7db5f8
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 07:14:46 +00:00
mergify[bot]
5841e4d665
Long-term ledger storage with BigTable (bp #11222 ) ( #11392 )
...
* ledger-storage-bigtable boilerplate
(cherry picked from commit 9d2293bb32
)
* $ wget https://pki.goog/roots.pem -O pki-goog-roots.pem
(cherry picked from commit 1617a025ce
)
* Add access_token module
(cherry picked from commit 59d266a111
)
* Add root_ca_certificate
(cherry picked from commit faa016e4b7
)
* Add build-proto
(cherry picked from commit c31e1f5bf0
)
* UiTransactionEncoding is now copy
(cherry picked from commit 494968be66
)
* Increase timeout
(cherry picked from commit 57dfebc5ba
)
* Add build-proto/build.sh output
(cherry picked from commit 54dae6ba2c
)
* Supress doctest errors
(cherry picked from commit 019c75797d
)
* Add compression
(cherry picked from commit 243e05d59f
)
* Add bigtable
(cherry picked from commit 6e0353965a
)
* Add configuration info
(cherry picked from commit 98cca1e774
)
* Add ledger-tool bigtable subcommands
(cherry picked from commit f9049d6ee4
)
# Conflicts:
# ledger-tool/Cargo.toml
* Make room for tokio 0.2
(cherry picked from commit b876fb84ba
)
# Conflicts:
# core/Cargo.toml
* Setup a tokio 0.2 runtime for RPC usage
(cherry picked from commit 0e02740565
)
# Conflicts:
# core/Cargo.toml
* Plumb Bigtable ledger storage into the RPC subsystem
(cherry picked from commit dfae9a9864
)
# Conflicts:
# core/Cargo.toml
* Add RPC transaction history design
(cherry picked from commit e56ea138c7
)
* Simplify access token refreshing
(cherry picked from commit 1f7af14386
)
* Report block status more frequently
(cherry picked from commit 22c46ebf96
)
* after -> before
(cherry picked from commit 227ea934ff
)
* Rebase
* Cargo.lock
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-06 04:06:44 +00:00
mergify[bot]
888f3522d8
Add getConfirmedSignaturesForAddress2 RPC method (bp #11259 ) ( #11394 )
...
* Add getConfirmedSignaturesForAddress2 RPC method
(cherry picked from commit 1b2276520b
)
* 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
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 22:47:50 +00:00
Tyera Eulberg
86e3f96f16
Return token amounts as floats ( #11370 )
...
* Return token amounts as floats
* Floating-point equality
* Return float and raw token amounts
* Fix decimals and token rpcs for native-mint tokens
* Fixup docs and review comments
2020-08-05 06:48:09 +00:00
Trent Nelson
14339dec0a
Harden RPC preflight test inputs
2020-08-05 06:06:57 +00:00
Trent Nelson
e25846e1ad
Add failing test for unsane tx in RPC preflight
2020-08-05 06:06:57 +00:00
Tyera Eulberg
d0144ce382
Fix token rpc-client methods ( #11361 )
...
* Convert None to error in parse_keyed_accounts
* Allow encoding configuration in getTokenAccounts methods
2020-08-04 11:11:30 -06:00
carllin
5b4cb083f1
Add integration test for optimistic confirmation failure detection ( #11353 )
...
* Add optimistic conf failure test
* Add check for optimistic failure log
Co-authored-by: Carl <carl@solana.com >
2020-08-03 20:01:52 -07:00
Michael Vines
1d40685b8e
Remove support for 1.1.0 version snapshots
2020-08-04 01:01:50 +00:00
Michael Vines
eefcf484cb
clippy
2020-08-03 18:35:15 +00:00
Tyera Eulberg
0bc9bcc8b9
Fix bad rebase
2020-08-02 12:09:06 -06:00
Tyera Eulberg
d1b2e6cdf2
Add getTokenLargestAccounts endpoint ( #11322 )
2020-08-02 10:23:44 -06:00
Michael Vines
ffbd859c42
Update spl-token and spl-memo
2020-08-02 07:53:42 -07:00
Tyera Eulberg
9bcfc51df1
Add token rpc endpoints to rpc-client ( #11315 )
2020-07-31 20:53:49 +00:00