Trent Nelson
c15aa4a968
Bump version to 1.2.23
2020-08-12 00:34:33 +00:00
mergify[bot]
60c91d386f
Adapt RpcClient to recent token method changes (bp #11519 ) ( #11547 )
...
* Adapt RpcClient to recent token method changes (#11519 )
* Avoid skip_serializing_if since that breaks deserialization
* Adapt RpcClient to recent token method changes
(cherry picked from commit 17645ee20c
)
# Conflicts:
# client/src/rpc_client.rs
* Fix conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 18:00:35 +00:00
mergify[bot]
8b345f3258
Add config param to specify offset/length for single and program account info (bp #11515 ) ( #11517 )
...
* 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:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-11 00:21:47 +00:00
Michael Vines
dbbdfa1dbb
Bump version to v1.2.22
2020-08-09 18:02:02 +00:00
mergify[bot]
2fd822887f
Add Binary64 option for account data ( #11474 ) ( #11480 )
...
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-09 07:14:54 +00:00
mergify[bot]
9b049402c9
Token Accounts: return ui_amount, decimals with decoded account (bp #11407 ) ( #11452 )
...
* Token Accounts: return ui_amount, decimals with decoded account (#11407 )
* 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
)
# Conflicts:
# client/src/rpc_client.rs
# core/src/rpc.rs
# core/src/rpc_subscriptions.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-07 19:28:25 +00:00
Trent Nelson
b49aa125c9
Bump version to 1.2.21
2020-08-06 12:20:56 -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
mergify[bot]
80525ac862
Return token amounts as floats (bp #11370 ) ( #11378 )
...
* 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
(cherry picked from commit 86e3f96f16
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-05 08:31:22 +00:00
mergify[bot]
b95c493d66
get_token_accounts_by_owner now returns UiTokenAccounts ( #11367 )
...
(cherry picked from commit b5e03d6df2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-05 00:06:21 +00:00
mergify[bot]
5871462241
Fix token rpc-client methods (bp #11361 ) ( #11362 )
...
* Fix token rpc-client methods (#11361 )
* Convert None to error in parse_keyed_accounts
* Allow encoding configuration in getTokenAccounts methods
(cherry picked from commit d0144ce382
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-04 18:40:39 +00:00
mergify[bot]
c769bcc418
Add getTokenLargestAccounts endpoint (bp #11322 ) ( #11338 )
...
* Add getTokenLargestAccounts endpoint (#11322 )
(cherry picked from commit d1b2e6cdf2
)
* Rebase on v1.2
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-02 17:58:55 +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
mergify[bot]
b0e14ea83c
Add token rpc endpoints to rpc-client (bp #11315 ) ( #11320 )
...
* Add token rpc endpoints to rpc-client (#11315 )
(cherry picked from commit 9bcfc51df1
)
# Conflicts:
# client/src/rpc_client.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-31 23:10:29 +00:00
Trent Nelson
5323622842
Bump version to 1.2.16
2020-07-30 10:55:09 -06:00
mergify[bot]
a7f4d1487a
Add SPL Token-specific rpc endpoints (bp #11231 ) ( #11261 )
...
* Add SPL Token-specific rpc endpoints (#11231 )
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
(cherry picked from commit b45ac5d4db
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
# core/src/rpc.rs
# transaction-status/Cargo.toml
* Fix backport
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-07-29 17:08:21 +00: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
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
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
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
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
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]
85750307aa
Rename Client methods to match proposed BanksClient (bp #10793 ) ( #10800 )
...
* Rename Client methods to match proposed BanksClient (#10793 )
(cherry picked from commit 7ade330b23
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/benches/bank.rs
* Fix merge
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-06-25 05:33:12 +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
Stephen Akridge
2d94c09aee
Bump Cargo.toml version to 1.2.6
2020-06-22 23:23:16 -07:00
Stephen Akridge
4b33a2a1b8
Update Cargo.toml version from 1.2.4 to 1.2.5
2020-06-17 18:55:20 -07:00
Stephen Akridge
dbda50941a
Bump version to 1.2.4
2020-06-16 17:03:09 -07:00
Stephen Akridge
2500881e0b
Bump version to v1.2.3
2020-06-14 09:58:10 -07:00
Michael Vines
a8f4c4e297
Bump version to 1.2.2
2020-06-11 20:45:13 -07:00
mergify[bot]
953eadd983
Expose last-valid-slot to BankClient and ThinClient users ( #10478 ) ( #10483 )
...
automerge
2020-06-10 08:43:37 -07:00
mergify[bot]
055f808f98
Clean up delinquency slot distance computation ( #10479 )
...
automerge
2020-06-09 14:22:37 -07:00
mergify[bot]
f7aee67023
RPC simulateTransaction endpoint now returns program log output ( #10432 ) ( #10444 )
...
automerge
2020-06-06 11:57:24 -07:00
mergify[bot]
ae1a0f57c5
Add preflight checks to sendTransaction RPC method (bp #10338 ) ( #10363 )
...
automerge
2020-06-01 22:27:30 -07:00
mergify[bot]
163217815b
Improve Rpc inflation tooling (bp #10309 ) ( #10322 )
...
automerge
2020-05-29 14:09:41 -07:00
Michael Vines
ed928cfdf7
Add commitment parameter to getFeeCalculatorForBlockhash ( #10255 ) ( #10296 )
...
automerge
2020-05-28 13:22:46 -07:00
Michael Vines
ace711e7f1
Bump version to 1.2.1
2020-05-26 19:07:35 -07:00
mergify[bot]
c67596ceb4
Add mechanism to get blockhash's last valid slot ( #10239 ) ( #10253 )
...
automerge
2020-05-26 14:33:11 -07:00
Michael Vines
4779858dd4
Clean up RPCClient retry handling: only retry on 429, after a little sleep ( #10182 )
2020-05-22 08:53:53 -07:00
Greg Fitzgerald
64cec764b9
Allow RpcClient users to inject custom "senders" ( #10157 )
...
automerge
2020-05-20 18:40:45 -07:00
sakridge
ce17de7d25
Add option to wait for a specific epoch length to bench-tps ( #10083 )
2020-05-20 16:42:46 -07:00