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
Grimes
f89c22b5ee
solana catchup
now detects when you try to catchup to yourself (#8635 )
...
automerge
2020-03-04 14:44:21 -08:00
Trent Nelson
90bedd7e06
Split signature throughput tracking out of FeeCalculator
( #8447 )
...
* SDK: Split new `FeeRateGovernor` out of `FeeCalculator`
Leaving `FeeCalculator` to *only* calculate transaction fees
* Replace `FeeCalculator` with `FeeRateGovernor` as appropriate
* Expose recent `FeeRateGovernor` to clients
* Move `burn()` back into `FeeCalculator`
Appease BPF tests
* Revert "Move `burn()` back into `FeeCalculator`"
This reverts commit f3035624307196722b62ff8b74c12cfcc13b1941.
* Adjust BPF `Fee` sysvar test to reflect removal of `burn()` from `FeeCalculator`
* Make `FeeRateGovernor`'s `lamports_per_signature` private
* rebase artifacts
* fmt
* Drop 'Recent'
* Drop _with_commitment variant
* Use a more portable integer for `target_signatures_per_slot`
* Add docs for `getReeRateCalculator` JSON RPC method
* Don't return `lamports_per_signature` in `getFeeRateGovernor` JSONRPC reply
2020-02-28 13:27:01 -07:00
Tyera Eulberg
ab361a8073
Rename KeypairUtil to Signer ( #8360 )
...
automerge
2020-02-20 13:28:55 -08:00
Michael Vines
1bf2285fa2
ledger-tool: Add print-accounts command
2020-02-14 19:59:48 -07:00
Michael Vines
c4fd81fc1c
The getConfirmedBlock RPC API is now disabled by default
...
The --enable-rpc-get-confirmed-block flag allows validators to opt-in to
the higher disk usage and IOPS.
2020-02-11 22:24:08 -07:00
François Garillot
f016c9a669
Maintenance : simplify a few patterns, remove unneeded dependencies ( #8137 )
...
* Simplify a few pattern matches
* Removing unneeded dependencies, upgrading internal version #s
net-shaper: Removing log, semver, serde_derive
bench-tps: Removing serde, serde_derive
banking-bench: Removing solana
ledger-tool: Removing bincode, serde, serde_derive
librapay: Removing solana, language_e2e_tests
log-analyzer: Removing log, semver, serde_derive
exchange: Removing solana
core: Removing crc, memmap, symlink, untrusted
perf: Removing serde_derive
genesis: Removing hex, serde_derive
sdk-c: Removing sha2
sys-tuner: Removing semver
bench-exchange: Removing bincode, bs58, env_logger, serde, serde_derive, untrusted, ws
btc_spv_bin: Removing serde_json
btc_spv: Removing chrono
bpf_loader: Removing serde
ledger: Removing dlopen, dlopen_derive, serde_derive
move_loader: Removing byteorder, libc, language_e2e_tests
ownable: Removing serde, serde_derive
client: Removing rand
archiver-utils: Removing rand_chacha
validator: Removing serde_json, tempfile
param_passing_dep: Removing solana
failure: Removing log
vest: Removing log
vote-signer: Removing bs58, serde
local-cluster: Removing symlink
keygen: Removing rpassword
install: Removing bs58, log
upload-perf: Removing log
runtime: Removing serde_json
stake: Removing rand
* Add modified Cargo.lock
* fixup! Simplify a few pattern matches
* fixup! Simplify a few pattern matches
2020-02-06 10:02:38 -07:00
Michael Vines
a03d441e6f
Add rpc port sanity checks, fix tests
2020-01-30 20:57:58 -07:00
Michael Vines
3900d09f6f
Employ rpc_port defaults
2020-01-30 20:57:58 -07:00
Michael Vines
81ba18eea6
Add --private-rpc flag
2020-01-30 20:57:58 -07:00
Michael Vines
c4faccc77f
getClusterNodes now excludes validators with a different shred version
2020-01-29 20:08:42 -07:00
carllin
4ffd7693d6
Add lock to make sure slot-based locktree calls are safe ( #7993 )
2020-01-28 13:45:41 -08:00
Greg Fitzgerald
3aabeb2b81
Rename bootstrap leader ( #7906 )
...
* Rename bootstrap leader to bootstrap validator
It's a normal validator as soon as other validators enter the
leader schedule.
* cargo fmt
* Fix build
Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
Tyera Eulberg
65f5885bce
sendTransaction rpc: expect transaction as base58 string ( #7913 )
2020-01-21 22:16:07 -07:00
Tyera Eulberg
7a132eabb4
Update JSON-RPC documentation ( #7915 )
...
* Streamline getBlockCommitment response
* Update json-rpc docs
2020-01-21 20:17:33 -07:00
Rob Walker
7e1b380f01
Move vote_state current credits into epoch_credits ( #7909 )
...
* Move vote_state current credits into epoch_credits
* fixups
* fixup
2020-01-21 19:08:40 -08:00
Michael Vines
93036bec01
Add minimumLedgerSlot RPC API
2020-01-21 14:05:26 -07:00
Jack May
663e98969d
Use a different error to test rpc response ( #7900 )
...
automerge
2020-01-21 12:42:23 -08:00
Tyera Eulberg
da165d6943
Fix Rpc inconsistencies ( #7826 )
...
* Update rpc account format: remove byte arrays
* Base58-encode pubkeys in getStoragePubkeysForSlot
* Update docs
2020-01-15 15:33:53 -07:00
Tyera Eulberg
6d3b8b6d7d
Remove tuples from JSON RPC responses ( #7806 )
...
* Remove RpcConfirmedBlock tuple
* Remove getRecentBlockhash tuple
* Remove getProgramAccounts tuple
* Remove tuple from get_signature_confirmation_status
* Collect Rpc response types
* Camel-case epoch schedule for rpc response
* Remove getBlockCommitment tuple
* Remove getStorageTurn tuple
* Update json-rpc docs
2020-01-15 00:25:45 -07:00
Greg Fitzgerald
b5dba77056
Rename blocktree to blockstore ( #7757 )
...
automerge
2020-01-13 13:13:52 -08:00