Michael Vines
771e1e3a71
Add get_confirmed_block()/get_confirmed_blocks()
...
(cherry picked from commit 05664d150b )
2019-12-19 00:01:04 -07:00
Michael Vines
c12ea7a112
Add support for multiple params
...
(cherry picked from commit fcda972cec )
2019-12-19 00:01:04 -07:00
mergify[bot]
5fbe5aa22d
Speed up getLeaderSchedule RPC call by reducing pubkey duplication ( #7556 )
...
automerge
2019-12-18 15:45:20 -08:00
mergify[bot]
8a879a52ef
GetLeaderSchedule can now return a schedule for arbitrary epochs ( #7545 )
...
automerge
2019-12-17 23:15:04 -08:00
mergify[bot]
ebf644ddef
Add uptime column to show-validators ( #7441 ) ( #7445 )
...
automerge
2019-12-12 08:27:50 -08:00
mergify[bot]
1b65f9189e
Add special handling for snapshot root slot in get_confirmed_block (bp #7430 ) ( #7434 )
...
automerge
2019-12-11 14:44:42 -08:00
mergify[bot]
17db734783
Improve error handling when the user mixes up gossip (8001) and RPC (8899) ports ( #7158 ) ( #7184 )
...
automerge
2019-12-02 11:52:57 -08:00
mergify[bot]
96df4c772f
Add getBlockTime rpc api ( #7130 ) ( #7140 )
...
automerge
2019-11-26 00:10:59 -08:00
Tyera Eulberg
0f66e5e49b
Add getConfirmedBlock test to rpc ( #7120 )
...
automerge
2019-11-25 11:08:03 -08:00
Michael Vines
d5beb8a9e4
cli: Add --confirmed option to a couple commands, also add --no-header ( #7112 )
...
* Add --confirmed option to get-slot, get-epoch-info, get-transaction-count
* Add --no-header option
2019-11-24 17:34:18 -07:00
Tyera Eulberg
ea656b1a3f
Add parent slot to getConfirmedBlock ( #7038 )
...
* Add parent slot to getConfirmedBlock
* Fix bad text-replace
* Use camelCase in getConfirmedBlock
2019-11-19 09:39:55 -07:00
Tyera Eulberg
e0a2bb9d86
Legitimately map transactions to statuses in blocktree ( #7011 )
...
* Refactor rocksdb TransactionStatus to store/return struct; hook up map_transactions_to_statuses
* Cleanup use statements
2019-11-18 09:12:42 -07:00
Tyera Eulberg
3bc8d78801
Add ConfirmedBlock struct, and rework Blocktree apis to include block… ( #7004 )
...
* Add RpcConfirmedBlock struct, and rework Blocktree apis to include blockhash info and dummy tx statuses
* Remove unused lifetime
2019-11-17 20:17:15 -07:00
Michael Vines
f116cdeed9
Add validator catchup command ( #6922 )
2019-11-13 15:58:14 -07:00
Sunny Gleason
e2fb9ac829
feat: remove unwraps from client code, fixes #6915 ( #6927 )
2019-11-13 14:41:54 -07:00
Michael Vines
fcc2874591
Remove/address some TODOs ( #6923 )
2019-11-13 09:43:15 -07:00
Michael Vines
86faa3f995
Properly type RpcClient::get_version() ( #6919 )
2019-11-12 22:01:04 -07:00
Ryo Onodera
3faeb7fa79
Rename solana-netutil to solana-net-utils for consistency ( #6895 )
...
* sed -i -e 's/netutil/net_utils/g' $(git grep --files-with-matches netutil :**.rs)
* sed -i -e 's/netutil/net-utils/g' $(git grep --files-with-matches netutil)
* git mv netutil/ net-utils
* Tweak a bit
* Fix rustfmt & clippy
2019-11-12 13:37:13 -07:00
Sunny Gleason
5903339c17
feat: return bank/block info with block-related results ( #6716 )
2019-11-12 14:49:41 -05:00
Justin Starry
9807f47d4e
Rename genesis block to genesis config ( #6816 )
2019-11-08 23:56:57 -05:00
Sunny Gleason
a684984f8b
feat: add confirm_transaction, add rpc client test ( #6778 )
2019-11-06 22:08:03 -05:00
Tyera Eulberg
b3a75a60a4
Use rooted bank by default in rpc bank selection ( #6759 )
...
* Name anonymous parameters for clarity
* Add CommitmentConfig to select bank for rpc
* Add commitment information to jsonrpc docs
* Update send_and_confirm retries as per commitment defaults
* Pass CommitmentConfig into client requests; also various 'use' cleanup
* Use _with_commitment methods to speed local_cluster tests
* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests
* Restore solana ping speed
* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
Michael Vines
50a17fc00b
Use Slot and Epoch type aliases instead of raw u64 ( #6693 )
...
automerge
2019-11-02 00:38:30 -07:00
Rob Walker
b4119c454a
credit_only credits forwarding ( #6509 )
...
* credit_only_credits_forwarding
* whack transfer_now()
* fixup
* bench should retry the airdrop TX
* fixup
* try to make bench-exchange a bit more robust, informative
2019-10-23 22:01:22 -07:00
Sunny Gleason
0b2d4f32fa
feat: get epoch schedule rpc, update cli ( #6500 )
2019-10-22 16:41:18 -04:00
Rob Walker
e2c316d2d0
system_instruction_processor updates ( #6448 )
...
* zero lamport account creation
* whack create_user_account, take 2
* target->to
* ..
* ..
* update chacha golden
* update chacha golden
* ..
* ..
2019-10-19 18:23:27 -07:00
Michael Vines
88bb55ffd2
Add get_vote_accounts() to RPC client
2019-10-14 20:38:51 -07:00
Greg Fitzgerald
322fcea6e5
More fullnode to validator renaming ( #6337 )
2019-10-11 13:30:52 -06:00
sakridge
baf4e767e1
Increase number of transaction send retries. ( #6273 )
2019-10-08 13:04:27 -07:00
Michael Vines
13fc518268
Clippy work towards rust 1.38 ( #6219 )
2019-10-02 18:04:18 -07:00
Parth
2c8c2029d8
cli: enforce rent-exemption balance for stake, vote and program accounts in cli ( #6118 )
...
* require minimum balance for stake, vote and program accounts
2019-10-01 01:14:49 +05:30
Rob Walker
4f4618441c
split wallet staking commands ( #6168 )
...
* split wallet staking commands
* elide real home
* unit->UNIT for usage
* unit->UNIT, don't try to run SUBCOMMANDS: ;)
* more fixup
* fixups
* actually check
* shellcheck
* preserve #6158 after rebase
* fixup
* test
* too hard
* remove test
2019-09-29 21:18:15 -07:00
Michael Vines
d50aef8404
Add get-epoch-info command ( #6161 )
...
automerge
2019-09-27 22:00:30 -07:00
Michael Vines
16e3ba86d5
get_new_blockhash() now retries longer (5s instead of 2s) ( #6143 )
2019-09-27 10:36:38 -07:00
Parth
67d07254c2
Add rent estimation rpc ( #6109 )
...
* server side new rpc endpoint
* client side rpc
* take data_len as usize
Co-Authored-By: Tyera Eulberg <teulberg@gmail.com >
* add test and documentation
2019-09-26 23:27:13 +05:30
Tyera Eulberg
3562774f8b
Reduce poll sleep ( #6068 )
...
* Reduce sleep in poll_for_signature_confirmations
* Unignore test_repairman_catchup
2019-09-24 17:01:18 -06:00
Tyera Eulberg
7babfd00c1
Revert back to reqwest, using rustls feature ( #6041 )
...
* Revert back to reqwest, using rustls feature
* Cargo.lock and crate-features
* Ignore test
2019-09-24 14:10:59 -06:00
Michael Vines
67d7375ab9
Add more descriptive error on a stuck blockhash ( #6010 )
...
automerge
2019-09-20 15:50:43 -07:00
Jack May
e8d88f3237
Split SDK's timing.rs ( #5823 )
2019-09-06 14:30:56 -07:00
Michael Vines
1f9fde5f7b
ThinClient internal name grooming ( #5800 )
2019-09-06 09:07:40 -07:00
Tyera Eulberg
b19d9a50d3
Transition to ureq http client ( #5777 )
...
* Transition to ureq http client
* Remove unwrap
2019-09-04 12:11:44 -07:00
Sunny Gleason
34ab25a88b
feat: getInflation() endpoint ( #5681 )
2019-08-27 18:17:03 -04:00
Michael Vines
e2d6f01ad3
solana-validator now verifies its genesis blockhash against the cluster entrypoint ( #5589 )
2019-08-21 18:16:40 -07:00
Rob Walker
93ae98812b
change DEFAULT_NUM_TICKS_PER_SECOND to DEFAULT_TICKS_PER_SECOND ( #5559 )
2019-08-19 23:22:56 -07:00
Tyera Eulberg
8d105042ea
Update getEpochVoteAccounts to getVoteAccounts ( #5543 )
...
* Rework getEpochVoteAccounts into getVoteAccounts
* Update client apis
* Update docs
* Review comments
2019-08-16 17:02:19 -06:00
Greg Fitzgerald
471bc73a23
Fix Rust 1.37.0 compiler warnings ( #5530 )
...
Looks like most usages of trait objects should have introduced
a type variable instead.
2019-08-15 14:00:09 -06:00
Tyera Eulberg
4ae48b56f3
Add cluster-version subcommand to return entrypoint versions ( #5464 )
2019-08-08 11:13:06 -06:00
Tyera Eulberg
5ab4975c44
Improve validator-info CLI ( #5121 )
...
* Fix index OOB panic
* Handle 'get' empty validator-info responses properly
* Improve 'get' argument flow
* Improve arg help text
* Improve 'publish' argument flow
* Update book doc
2019-07-16 09:22:55 -06:00
Tyera Eulberg
2c8d6f87e6
Add validator-info CLI ( #4970 )
...
* Add validator-info CLI
* Add GetProgramAccounts method to solana-client
* Update validator-info args, and add get subcommand
* Update ValidatorInfo lengths
* Add account filter for get --all
* Update testnet participation doc to reflect validator-info
* Flesh out tests
* Review comments
2019-07-11 12:38:52 -06:00
Sagar Dhawan
35ec7a5156
Decouple turns from segments in PoRep ( #5004 )
...
* Decouple Segments from Turns in Storage
* Get replicator local cluster tests running in a reasonable amount of time
* Fix unused imports
* Document new RPC APIs
* Check for exit while polling
2019-07-10 13:33:29 -07:00