mergify[bot]
f364956d15
Plumb transaction-level rewards (aka "rent debits") into the getTransaction RPC method (backport #17528 ) ( #17532 )
...
* Plumb transaction-level rewards (aka "rent debits") into the `getTransaction` RPC method
(cherry picked from commit 9541411c15 )
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-26 21:33:30 -07: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]
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]
c5ff373965
fixed getProgramAccounts fields list ( #17278 ) ( #17279 )
...
(cherry picked from commit 611628a402 )
Co-authored-by: Marcin Zawiejski <dragmz@gmail.com >
2021-05-17 14:46:59 +00:00
Tyera Eulberg
409ac4dcfa
Bump version to v1.6.10 ( #17250 )
2021-05-15 01:47:56 +00:00
Michael Vines
65e1b881f9
Bump version to v1.6.9
2021-05-08 06:28:08 +00:00
mergify[bot]
28b9e5b572
getBlockProduction now correctly reports block production ( #17116 )
...
(cherry picked from commit d6c076f1b6 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-08 04:19:39 +00:00
Michael Vines
524b380a71
Bump version to 1.6.8
2021-05-04 12:46:57 -07:00
mergify[bot]
c3dc23e84a
docs: fix copy-pasta breaking typo in getRecentBlockhash example ( #16962 )
...
(cherry picked from commit 3d98321b38 )
Co-authored-by: Trent Nelson <trent@solana.com >
2021-04-30 04:24:40 +00: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
mergify[bot]
0ecd1755a6
docs: getInflationReward rpc output fields should be in lower camel case ( #16802 ) ( #16805 )
...
(cherry picked from commit ec37a843a4 )
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-04-24 19:37:55 +00:00
mergify[bot]
9413051053
Clean up "APR" language around inflation rewards ( #16732 )
...
(cherry picked from commit b8b54567b1 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-04-22 03:29:52 +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
mergify[bot]
558a46f5d5
RPC: use finalized as default pubsub commitment level ( #16659 ) ( #16666 )
...
* RPC: use finalized as default pubsub commitment level
* update docs
* Fix tests
(cherry picked from commit a7e65c0034 )
Co-authored-by: Justin Starry <justin@solana.com >
2021-04-20 09:47:50 +00:00
Trent Nelson
4e94446fc3
Bump version to v1.6.7
2021-04-16 23:31:30 +00:00
Michael Vines
4ef3a679a4
Bump version to v1.6.6
2021-04-14 10:27:02 -07:00
mergify[bot]
a2857928a4
Rpc: introduce get_inflation_reward rpc call ( #16278 ) ( #16410 )
...
* feat: introduce get_inflation_reward rpc call
* fix: style suggestions
* fix: more style changes and match how other rpc functions are defined
* feat: get reward for a single epoch
* feat: default to the most recent epoch
* fix: don't factor out get_confirmed_block
* style: introduce from impl for RpcEncodingConfigWrapper
* style: bring commitment into variable
* feat: support multiple pubkeys for get_inflation_reward
* feat: add get_inflation_reward to rpc client
* feat: return rewards in order
* fix: rename pubkeys to addresses
* docs: introduce jsonrpc docs for get_inflation_reward
* style: early return in map (not sure which is more idiomatic)
* fix: call the rpc client function args addresses as well
* fix: style
* fix: filter out only addresses we care about
* style: make this more idiomatic
* fix: change rpc client epoch to optional and include some docs edits
* feat: filter out rent rewards in get_inflation_reward
* feat: add option epoch config param to get_inflation_reward
* feat: rpc client get_inflation_reward takes epoch instead of config and some filter staking and voting rewards
(cherry picked from commit e501fa5f0b )
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-04-07 02:26:45 +00:00
Tyera Eulberg
5da83c1491
Bump version to v1.6.5 ( #16361 )
2021-04-04 22:00:40 -06:00
sakridge
a788021181
Bump version to v1.6.4 ( #16345 )
2021-04-04 13:31:35 -07:00
Michael Vines
d3b50bc55b
Remove UNSTABLE warning from logsSubscribe
2021-04-02 12:54:20 -07:00
mergify[bot]
a0c4b4e5fc
Rpc: enable getConfirmedSignaturesForAddress2 to return confirmed (not yet finalized) data ( #16281 ) ( #16293 )
...
* Update blockstore method to allow return of unfinalized signature
* Support confirmed sigs in getConfirmedSignaturesForAddress2
* Add deprecated comments
* Update docs
* Enable confirmed transaction-history in cli
* Return real confirmation_status; fill in not-yet-finalized block time if possible
(cherry picked from commit da27acabcc )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-04-01 06:30:36 +00:00
mergify[bot]
2581db5748
docs: Reduce airdrop examples to 1 SOL ( #16241 )
...
(cherry picked from commit 2bcfbad653 )
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-30 21:52:42 +00:00
Trent Nelson
634959b3ab
Bump version to v1.6.3
2021-03-30 16:17:47 +00:00
Trent Nelson
03b21f2e9d
Bump version to v1.6.2
2021-03-30 00:06:01 -06:00
mergify[bot]
5c9f85f28d
Rpc: enable getConfirmedBlocks and getConfirmedBlocksWithLimit to return confirmed (not yet finalized) data ( #16161 ) ( #16198 )
...
* Add commitment config capabilities
* Use rpc limit if no end_slot provided
* Limit to actually finalized blocks
* Support confirmed blocks in getConfirmedBlocks and getConfirmedBlocksWithLimit
* Update docs
* Add client plumbing
* Rename config enum
(cherry picked from commit 60ed8e2892 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-29 19:53:17 +00:00
mergify[bot]
625773e5b8
Rpc: enable getConfirmedBlock and getConfirmedTransaction to return confirmed (not yet finalized) data (bp #16142 ) ( #16160 )
...
* Rpc: enable getConfirmedBlock and getConfirmedTransaction to return confirmed (not yet finalized) data (#16142 )
* Add Blockstore block and tx apis that allow unrooted responses
* Add TransactionStatusMessage, and send on bank freeze; also refactor TransactionStatusSender
* Track highest slot with tx-status writes complete
* Rename and unpub fn
* Add commitment to GetConfirmed input configs
* Support confirmed blocks in getConfirmedBlock
* Support confirmed txs in getConfirmedTransaction
* Update sigs-for-addr2 comment
* Enable confirmed block in cli
* Enable confirmed transaction in cli
* Review comments
* Rename blockstore method
(cherry picked from commit 433f1ead1c )
# Conflicts:
# core/src/replay_stage.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-03-27 04:51:53 +00:00
mergify[bot]
5f061dcea1
Support getBlockTime for unfinalized blocks ( #16103 ) ( #16110 )
...
(cherry picked from commit a8ef29df27 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-25 04:18:00 +00:00
mergify[bot]
c3c4991c44
rpc: add getSlotLeaders method ( #16057 ) ( #16079 )
...
(cherry picked from commit e7fd7d46cf )
Co-authored-by: Justin Starry <justin@solana.com >
2021-03-23 19:27:18 +00:00
mergify[bot]
3d5ff7968e
rpc: Add config options limiting getConfirmedBlock response data ( #15970 ) ( #15995 )
...
* Add new confirmed block struct
* Add RpcConfirmedBlockConfig options
* Configure block response based on new options
* Add client api, use in cli fetch_epoch_rewards
* Update docs
* Apply review suggestions
(cherry picked from commit aa54c468ea )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-18 19:33:01 +00:00
Michael Vines
be00246fb5
Bump version to v1.6.1
2021-03-15 14:47:58 -06:00
Tyera Eulberg
5b2da19c93
Rpc: support extended config for getConfirmedBlock ( #15827 )
...
* Add rpc confirmed-block config wrapper to support struct of extended config
* Update docs
* Make config wrapper generic and use in getConfirmedTransaction as well
* Update/clean confirmed-tx docs
2021-03-12 22:19:45 +00:00
Trent Nelson
c4ee1ab710
docs: deprecate lastvalidslot field of jsonrpc getfees
2021-03-11 08:38:18 +00:00
Trent Nelson
45190f6281
docs: stabilize spl token jsonrpc methods
2021-03-11 08:38:18 +00:00
Trent Nelson
3e6c7c4a3e
docs: add rust client api entry
2021-03-11 08:38:18 +00:00
Michael Vines
66b781eec3
Add 'unknown' health check state
2021-03-05 17:46:50 +00:00
Michael Vines
24ab84936e
Break up RPC API into three categories: minimal, full and admin
2021-03-04 16:39:44 -08:00
Tyera Eulberg
19ac79b5cc
Deprecate UiTokenAmount::ui_amount ( #15616 )
...
* Add TokenAmount::ui_amount_string
* Fixup solana-tokens
* Update docs
2021-03-02 22:51:41 -07:00
sakridge
1b59b163dd
Add max retransmit and shred insert slot ( #15475 )
2021-02-23 13:06:33 -08:00
Michael Vines
4b0114b991
Limit the number of getProgramAccounts filters
2021-02-23 18:43:22 +00:00
Michael Vines
65f1afe5e1
Limit getProgramAccounts memcpy filter string to 128 bytes
2021-02-23 18:43:22 +00:00
Tyera Eulberg
123de5de54
Update uiAmount type in docs ( #15471 )
2021-02-22 16:54:07 -07:00
Josh
760e163190
docs: getLargestAccounts caching notice ( #15293 )
2021-02-12 08:20:32 -08:00
Tyera Eulberg
da6753b8c0
Warp timestamp and extend max-allowable-drift for accommodate slow blocks ( #15204 )
...
* Remove timestamp_correction feature gating
* Remove timestamp_bounding feature gating
* Remove unused deprecated ledger code
* Remove unused deprecated unbounded-timestamp code
* Enable independent adjustment of fast/slow timestamp bounding
* Update timestamp bounds to 25% fast, 80% slow; warp timestamp
* Update bank hash test
* Add PR number to feature
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-02-09 15:49:00 -07:00
Ryo Onodera
85ffc8fa1c
Warn lastValidSlot with some terminology tweaks ( #15081 )
...
* Warn lastValidSlot with some terminology tweaks
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Restore previous arrangment of slot def. and tweak upon it
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-02-05 15:47:02 +09:00
Tyera Eulberg
2780214e71
Clean up some old commitment names ( #14994 )
2021-02-02 16:33:45 +00:00
Trent Nelson
52326d53be
docs: Fix mangled getConfirmedTransaction parameter list
2021-01-28 22:13:03 -07:00