Michael Vines
01987f8f89
getConfirmedBlocks now has an upper limit on slot range
...
(cherry picked from commit aef6bf272e
)
# Conflicts:
# core/src/rpc.rs
2020-07-10 22:52:51 -07:00
mergify[bot]
3c94084177
Add SendTransactionService ( #10470 )
...
automerge
2020-06-09 18:13:50 -07:00
mergify[bot]
3110def6c3
Remove lock around JsonRpcRequestProcessor (bp #10417 ) ( #10450 )
...
automerge
2020-06-08 16:45:49 -07:00
mergify[bot]
09f0624887
Adjust RPC simulateTransaction endpoint to match v1.2 ( #10443 )
...
automerge
2020-06-06 21:08:27 -07:00
mergify[bot]
3c38df9be0
Avoid AccountInUse errors when simulating transactions ( #10391 ) ( #10419 )
...
automerge
2020-06-04 20:41:12 -07:00
mergify[bot]
e023719c58
Add preflight checks to sendTransaction RPC method (bp #10338 ) ( #10362 )
...
automerge
2020-06-01 22:45:51 -07:00
mergify[bot]
c344a878b6
validator: Added --health-check-slot-distance (bp #10324 ) ( #10330 )
...
automerge
2020-05-29 17:49:09 -07:00
mergify[bot]
9b63f7a50f
Improve Rpc inflation tooling (bp #10309 ) ( #10321 )
...
automerge
2020-05-29 17:35:10 -07:00
Tyera Eulberg
72755fcd19
Add mechanism to get blockhash's last valid slot ( #10239 ) ( #10318 )
...
automerge
2020-05-29 11:27:45 -07:00
mergify[bot]
995759faf5
Add commitment parameter to getFeeCalculatorForBlockhash ( #10255 ) ( #10296 ) ( #10302 )
...
automerge
2020-05-28 15:26:39 -07:00
Tyera Eulberg
fd5222ad21
V1.1 single gossip commitment ( #10263 )
...
automerge
2020-05-26 21:16:46 -07:00
mergify[bot]
ccfe09e460
Fixup deserialize_bs58_transaction, and make a few error types more targeted ( #10171 ) ( #10177 )
...
automerge
2020-05-21 19:09:24 -07:00
mergify[bot]
e29b7876ad
Add v0 REST APIs for circulating and total supply (bp #10102 ) ( #10160 )
...
automerge
2020-05-20 21:51:25 -07:00
mergify[bot]
06a63549c1
Add SimulateTransaction RPC endpoint ( #10106 ) ( #10116 )
...
automerge
2020-05-19 14:25:06 -07:00
mergify[bot]
342cf90ce1
Trigger RPC notifications after block commitment cache update ( #10077 ) ( #10101 )
...
automerge
2020-05-18 13:34:18 -07:00
mergify[bot]
82783b18ea
Rpc: optionally filter getLargestAccounts by circulating/nonCirculating ( #10007 ) ( #10014 )
...
automerge
2020-05-12 21:54:44 -07:00
Michael Vines
c51a18a887
getClusterNodes RPC API now includes the node software version ( #9993 )
2020-05-11 21:38:19 -07:00
Michael Vines
8d7e90e9b8
Advertise node version in gossip ( #9986 )
...
automerge
2020-05-11 17:45:19 -07:00
mergify[bot]
eb11db3e3e
Check slot cleaned up for RPC blockstore/slot queries ( #9982 ) ( #9989 )
...
automerge
2020-05-11 16:49:22 -07:00
mergify[bot]
b213004157
Rpc: Add getCirculatingSupply endpoint, redux ( #9953 ) ( #9955 )
...
automerge
2020-05-09 12:32:08 -07:00
mergify[bot]
28fa5149b7
Rpc: Filter blockstore data by cluster-confirmed root ( #9873 ) ( #9881 )
...
automerge
2020-05-04 22:34:37 -07:00
mergify[bot]
190acd7d15
Rpc: add getLargestAccounts endpoint ( #9869 ) ( #9877 )
...
automerge
2020-05-04 18:54:21 -07:00
Tyera Eulberg
3aa52f95a2
v1.1 backport custom error rename ( #9826 )
...
* Add program_error conversions (#9203 )
* Rename CustomError to Custom (#9207 )
* More custom error rename (#9227 )
automerge
* Remove librapay conflicts
* Fix rebase
Co-authored-by: Jack May <jack@solana.com >
2020-04-30 23:54:11 -06:00
mergify[bot]
3f41d60793
Add commitment Root variant, and add fleshed out --commitment arg to Cli ( #9806 ) ( #9813 )
...
automerge
2020-04-30 10:40:07 -07:00
mergify[bot]
bef59c3bd7
Rpc: remove unwraps ( #9793 ) ( #9797 )
...
automerge
2020-04-29 15:03:05 -07:00
Tyera Eulberg
59446d5c50
v1.1: backport commitment max changes ( #9775 )
...
* Add largest_confirmed_root to BlockCommitmentCache (#9640 )
* Add largest_confirmed_root to BlockCommitmentCache
* clippy
* Add blockstore to BlockCommitmentCache to check root
* Add rooted_stake helper fn and test
* Nodes that are behind should correctly id confirmed roots
* Simplify rooted_stake collector
* Cache banks in BankForks until optional largest_confirmed_root (#9678 )
automerge
* Rpc: Use cluster largest_confirmed_root as commitment max (#9750 )
automerge
2020-04-28 15:04:41 -06:00
mergify[bot]
109bfc3e7a
Use Blockstore lowest_slot to start root iterator ( #9738 ) ( #9768 )
...
automerge
2020-04-28 11:36:17 -07:00
mergify[bot]
6c08dc9c9d
Add getLowestNonpurgedBlock rpc; use blockstore api in getConfirmedBlocks ( #9656 ) ( #9664 )
...
automerge
2020-04-22 15:13:23 -07:00
mergify[bot]
dabbdcf988
Push down cluster_info lock (bp #9594 ) ( #9637 )
...
automerge
2020-04-21 16:42:07 -07:00
mergify[bot]
34df5ad364
cli: Add transaction-history (bp #9614 ) ( #9623 )
...
automerge
2020-04-21 10:49:24 -07:00
mergify[bot]
573aed2b4b
RPC: Allow single slot address history queries ( #9630 ) ( #9635 )
...
(cherry picked from commit 3023691487
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-04-21 10:23:34 -07:00
mergify[bot]
7c6fb3d554
Wait for supermajority of cluster to have rooted a transaction to consider it finalized ( #9618 ) ( #9627 )
...
automerge
2020-04-21 00:59:37 -07:00
mergify[bot]
89f5153316
Rpc: Add getConfirmedSignaturesForAddress ( #9407 ) ( #9418 )
...
automerge
2020-04-09 21:15:33 -07:00
mergify[bot]
8dc5d10f9c
Rpc: Add getConfirmedTransaction ( #9381 ) ( #9393 )
...
automerge
2020-04-09 09:44:24 -07:00
Tyera Eulberg
cc07c86aab
Reinstate commitment param to support old clients ( #9324 )
...
automerge
2020-04-06 11:10:06 -07:00
mergify[bot]
f4e05909f7
Update getSignatureStatuses to return historical statuses ( #9314 ) ( #9322 )
...
automerge
2020-04-06 04:54:12 -07:00
mergify[bot]
7a8528793e
Deprecate confirmTransaction
, getSignatureStatus
, and getSignatureConfirmation
( #9298 ) ( #9309 )
...
automerge
2020-04-05 00:51:44 -07:00
mergify[bot]
11b4da4146
RPC: add err
field to TransactionStatus, alongside the now deprecated status
field ( #9296 ) ( #9303 )
...
automerge
2020-04-04 21:58:44 -07:00
mergify[bot]
c4c96e1460
Undo breaking rpc removal of getSignatureConfirmation ( #9245 ) ( #9250 )
...
automerge
2020-04-01 17:57:41 -07:00
Justin Starry
c8b4f616b0
Undo getSignatureStatus breaking change, add getSignatureStatuses ( #9232 )
...
automerge
2020-04-01 11:53:55 -07:00
mergify[bot]
f31d2d9cc4
Use cluster confirmations in rpc and pubsub ( #9138 ) ( #9170 )
...
automerge
2020-03-30 18:11:45 -07:00
mergify[bot]
6f4bc3aaff
Store BlockCommitmentCache slot and root metadata ( #9154 ) ( #9162 )
...
automerge
2020-03-30 11:40:11 -07:00
Tyera Eulberg
4b97e58cba
Consolidate signature-status rpcs ( #9069 )
...
* getSignatureStatus: return confirmations for non-rooted transactions
* Remove getNumConfirmations.. rpc
* Remove getSignatureConfirmation
* Review comments
* More review comments
2020-03-26 19:21:01 -06:00
sakridge
b7b4aa5d4d
move rpc types from client to client-types crate ( #9039 )
...
* Separate client types into own crate, so ledger does not need it
Removes about 50 crates of dependency from ledger
* Drop Rpc name from transaction-status types
2020-03-26 13:29:30 -07:00
Tyera Eulberg
1b8f9e75dd
Update getSignatureStatus: support multiple signatures, include slot in each response item ( #9022 )
...
* Rename enable-rpc-get-confirmed-block
* Rename RpcTransactionStatus -> RpcTransactionStatusMeta
* Return simplified RpcTransactionStatus; Add support for multiple transactions
* Update docs
* typo
2020-03-23 11:25:39 -06:00
Justin Starry
a0ffcc61ae
Add slot info to Bank::get_signature_confirmation_status ( #9018 )
2020-03-23 21:55:15 +08:00
Michael Vines
18c1f0dfe9
Remove stub core/src/genesis_utils.rs ( #8999 )
2020-03-21 10:54:40 -07:00
anatoly yakovenko
9cedeb0a8d
Pull streamer out into its own module. ( #8917 )
...
automerge
2020-03-17 23:30:23 -07:00
Michael Vines
cea8067219
Disable setLogFilter RPC API by default ( #8693 )
...
automerge
2020-03-06 16:03:10 -08:00
Trent Nelson
4db074a5aa
RPC: Add getFeeCalculatorForBlockhash
method call ( #8687 )
...
Returns the `FeeCalculator` associated with the given blockhash, or
`null` if said blockhash has expired
2020-03-06 17:01:31 -07:00