Tyera Eulberg
5df386ae0e
Bump version to v1.6.28 ( #20300 )
2021-09-28 20:23:27 +00:00
mergify[bot]
b7fc704092
Optimize RPC pubsub for multiple clients with the same subscription (backport #18943 ) ( #19986 )
...
* Optimize RPC pubsub for multiple clients with the same subscription (#18943 )
* reimplement rpc pubsub with a broadcast queue
* update tests for new pubsub implementation
* fix: fix review suggestions
* chore(rpc): add additional pubsub metrics
* integrate max subscriptions check into SubscriptionTracker to reduce locking
* separate subscription control from tracker
* limit memory usage of items in pubsub broadcast queue, improve error handling
* add more pubsub metrics
* add final count metrics to pubsub
* add metric for total number of subscriptions
* fix small review suggestions
* remove by_params from SubscriptionTracker and add node_progress_watchers map instead
* add subscription tracker tests
* add metrics for number of pubsub notifications as a counter
* ignore clippy lint in TokenCounter
* fix underflow in token counter
* reduce queue capacity in pubsub tests
* fix(rpc): fix test timeouts
* fix race in account subscription test
* Add RpcSubscriptions::new_for_tests
Co-authored-by: Pavel Strakhov <p.strakhov@iconic.vc >
Co-authored-by: Nikita Podoliako <n.podoliako@zubr.io >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit 65227f44dc
)
* Fix conflicts (and standardize naming to make future subscription backports easier)
Co-authored-by: Pavel Strakhov <ri@idzaaus.org >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-09-20 07:32:34 +00:00
sakridge
8bf5cdb349
bump 1.6 version ( #19988 )
2021-09-18 00:09:39 +00:00
Michael Vines
ca55bce522
Bump version to 1.6.26 ( #19894 )
2021-09-14 23:29:33 -06:00
Tyera Eulberg
7232b01a02
Bump version to v1.6.25 ( #19880 )
2021-09-14 20:33:13 +00:00
Stephen Akridge
d401c3f5ab
Bump version
2021-09-14 08:12:02 -07:00
Tyera Eulberg
39a5431790
Bump jsonrpc crates and remove old tokio ( #19454 )
2021-08-26 23:53:44 +00:00
sakridge
715c5e64c4
Bump version to 1.6.23 ( #19447 )
2021-08-26 18:09:15 +00:00
mergify[bot]
2825f82bee
Add parameter to allow setting max-retries for SendTransaction rpc (backport #19387 ) ( #19415 )
...
* Add parameter to allow setting max-retries for SendTransaction rpc (#19387 )
* Add parameter to cap rpc send retries for a tx
* Add parameter to docs
(cherry picked from commit 7482861f4b
)
# Conflicts:
# banks-server/src/banks_server.rs
# core/src/rpc.rs
# core/src/send_transaction_service.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-08-25 16:47:47 +00:00
Trent Nelson
011fe72aa2
Bump version to v1.6.22
2021-08-18 22:08:12 -06:00
Tyera Eulberg
4d77ac1688
Bump version to v1.6.21 ( #18953 )
2021-07-28 23:47:03 +00:00
Jon Cinque
ba8426e0fd
1.6: Bump crates to 1.6.20 ( #18805 )
2021-07-21 17:44:41 +02:00
Trent Nelson
d7b381c90c
Bump version to v1.6.19
2021-07-17 08:57:44 +00:00
Trent Nelson
3dbdaa5341
Bump version to v1.6.18
2021-07-16 09:57:58 +00:00
mergify[bot]
8f3ce5fc57
Cli configurable validators (backport #18630 ) ( #18665 )
...
* rpc: more params for `GetVoteAccountsConfig`
(cherry picked from commit bf90ea282a
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
* cli: allow returning more `solana validators`
(cherry picked from commit a4a24b6531
)
# Conflicts:
# Cargo.lock
# cli/Cargo.toml
# cli/src/cluster_query.rs
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 07:45:49 +00:00
Trent Nelson
49ac17a595
nonce: Unify NonceError
with SystemError
2021-07-16 01:35:38 -06:00
mergify[bot]
17177a41c7
Cli: expose last valid block height ( #18620 ) ( #18626 )
...
* Add Fees struct to client
* Add complete RpcClient::get_fees methods
* Switch cli to last_valid_block_height
(cherry picked from commit 8ad4ffdee5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-13 07:18:42 +00:00
Michael Vines
b629291848
Record vote account commission with voting/staking rewards and surface in RPC
...
(cherry picked from commit 4098af3b5b
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
# runtime/src/bank.rs
2021-07-12 18:16:25 -07:00
sakridge
06b1c980d4
Bump version to v1.6.17 ( #18393 )
2021-07-02 19:40:37 +00:00
Trent Nelson
31dc79a4f9
Bump version to v1.6.16
2021-06-30 22:53:51 -06:00
mergify[bot]
56a4fc3dd2
Use timeout to allow RpcClient to retry initial transaction confirmation (backport #18311 ) ( #18315 )
...
* Use timeout to allow RpcClient to retry initial transaction confirmation (#18311 )
* Tidying: relocate function
* Use proper helper method for RpcClient commitment
* Add RpcClientConfig
* Add configurable confirm_transaction_initial_timeout
* Use default 5s timeout for initial tx confirmation
(cherry picked from commit 9d4428d3d8
)
* Fixup deprecated method
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-30 04:51:11 +00:00
Trent Nelson
06d6e357ae
Bump version to v1.6.15 ( #18108 )
2021-06-21 14:23:43 -06:00
Tyera Eulberg
1201ef172e
Bump version to v1.6.14 ( #18050 )
2021-06-17 20:42:10 +00:00
Ryo Onodera
337de51088
Bump version to v1.6.13 ( #17972 )
2021-06-15 23:47:22 +09:00
Tyera Eulberg
3a3454d788
Bump version to v1.6.12 ( #17651 )
2021-06-01 21:40:36 -06:00
mergify[bot]
3b22f5b833
simulateTransaction RPC method can now return accounts modified by the simulation (backport #17499 ) ( #17526 )
...
* simulateTransaction can now return accounts modified by the simulation
(cherry picked from commit cbce440af4
)
# Conflicts:
# rpc/src/parsed_token_accounts.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-27 00:06:05 +00:00
mergify[bot]
9c549a3ccf
Add custom error for tx-history queries when node does not support (backport #17494 ) ( #17522 )
...
* Add custom error for tx-history queries when node does not support (#17494 )
(cherry picked from commit 6abe089740
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-05-26 21:37:26 +00:00
mergify[bot]
f4cf7d2c84
Add last valid block height to rpc Fees (backport #17506 ) ( #17507 )
...
* Add last valid block height to rpc Fees (#17506 )
* Add last_valid_block_height to fees rpc
* Add getBlockHeight rpc
* Update docs
(cherry picked from commit e9bc1c6b07
)
# Conflicts:
# client/src/rpc_request.rs
# docs/src/developing/clients/jsonrpc-api.md
* Fix conflicts and a-z docs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-05-26 16:25:41 +00:00
mergify[bot]
b06bfeec8d
Add a flag to simulateTransaction to use most recent blockhash (backport #17485 ) ( #17497 )
...
* Add a flag to simulateTransaction to use most recent blockhash
(cherry picked from commit 96cef5260c
)
* rename flag
(cherry picked from commit e14f3eb529
)
* sigVerify conflicts with replace, add tests
(cherry picked from commit 660d37aadf
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-05-26 01:49:52 +00:00
Tyera Eulberg
ae1687bc0a
Bump version to v1.6.11 ( #17484 )
2021-05-25 15:35:50 -06:00
mergify[bot]
de6de7a367
rpc: add context toggle to getProgramAccounts ( #17399 ) ( #17403 )
...
* fix(rpc): return context in get_program_accounts
* doc(rpc): document withContext flag
* fix(rpc): fix comment
Co-authored-by: Michael Vines <mvines@gmail.com >
* fix(rpc): fix doc
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit d41266e4e9
)
Co-authored-by: Nikita <bananaelecitrus@gmail.com >
2021-05-22 08:28:19 +00:00
mergify[bot]
11f6c04990
get_program_accounts_with_config() now correctly defaults to RpcClient's commitment level (backport #17312 ) ( #17315 )
...
* get_program_accounts_with_config() now correctly defaults to RpcClient's commitment level
(cherry picked from commit 63b97729e6
)
# Conflicts:
# client/src/rpc_client.rs
* Update rpc_client.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-18 21:19:19 +00:00
Tyera Eulberg
409ac4dcfa
Bump version to v1.6.10 ( #17250 )
2021-05-15 01:47:56 +00:00
mergify[bot]
a08a6d55fa
test-validator: Display genesis hash in dashboard (backport #17216 ) ( #17225 )
...
* rpc: plumb shred_version through RpcContactInfo
(cherry picked from commit 67e6a3106f
)
* test-validator: Display more cluster info in dash
(cherry picked from commit 754c708473
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-05-14 09:56:27 +00:00
mergify[bot]
4313240b1b
Return error for excluded secondary-index keys (backport #17193 ) ( #17215 )
...
* Return error for excluded secondary-index keys (#17193 )
* Add runtime helpers to check secondary indexes for key
* Add custom rpc error
* Check secondary-index key inclusion in rpc
* Clone complete AccountSecondaryIndexes into rpc to avoid bank query
(cherry picked from commit 27004f1b76
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-05-13 23:04:01 +00:00
Michael Vines
65e1b881f9
Bump version to v1.6.9
2021-05-08 06:28:08 +00:00
Michael Vines
fb163187b5
RpcClient now respects the retry-after server response header when getting rate limited
...
(cherry picked from commit 7d1637d89a
)
2021-05-05 19:34:18 -07:00
Michael Vines
524b380a71
Bump version to 1.6.8
2021-05-04 12:46:57 -07:00
Michael Vines
49a415414f
Add getBlockProduction RPC method
2021-04-28 21:38:53 -07:00
mergify[bot]
7aec87c086
Add getVoteAccounts RPC method parameter to restrict results to a single vote account ( #16859 )
...
(cherry picked from commit 59fc33635a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-04-27 05:43:44 +00:00
Michael Vines
a81bc0ecf8
solana leader-schedule -um
works again
...
(cherry picked from commit c2becbc0a8
)
2021-04-26 17:32:05 -07:00
mergify[bot]
d203bd1998
Add TPU client for sending txs to the current leader tpu port ( #16736 ) ( #16762 )
...
* Add TPU client for sending txs to the current leader tpu port
* Update tpu_client.rs
(cherry picked from commit 75b8434b76
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-04-23 02:50:30 +00:00
mergify[bot]
fadf1efa41
Update getLeaderSchedule options ( #16749 ) ( #16752 )
...
(cherry picked from commit 636b5987af
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-04-22 21:02:46 +00:00
mergify[bot]
13e176a633
getLeaderSchedule now supports filtered results based on validator identity ( #16731 )
...
(cherry picked from commit 6004c0abf5
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-04-22 02:29:01 +00:00
Michael Vines
f59d4f29d9
clippy
2021-04-19 04:12:16 +00:00
Trent Nelson
4e94446fc3
Bump version to v1.6.7
2021-04-16 23:31:30 +00:00
mergify[bot]
b3488e0139
Cli: move airdrop to rpc requests ( #16557 ) ( #16564 )
...
* Add recent_blockhash to requestAirdrop
* Move tx confirmation to separate method
* Add RpcClient airdrop methods
* Request cli airdrop via RpcClient
* Pass optional faucet_addr into TestValidator and fix tests
* Update client/src/rpc_client.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 7dfb51c0b4
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-04-15 07:35:19 +00:00
Michael Vines
4ef3a679a4
Bump version to v1.6.6
2021-04-14 10:27:02 -07:00
mergify[bot]
31ed985fd0
RpcClient no longer panics in a tokio multi-threaded runtime ( #16393 )
...
(cherry picked from commit a4f0d8636a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-04-14 03:17:33 +00:00
mergify[bot]
e8ca35f9ec
Deprecate RpcClient methods, RpcRequest variants ( #16516 ) ( #16519 )
...
* Deprecate RpcClient methods, RpcRequest variants
* Update cli to getSupply
(cherry picked from commit ccb11a939f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-04-13 22:23:39 +00:00