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
9c8be34906
docs: 'builtins' -> 'runtime facilities'
2021-03-11 08:38:18 +00:00
Trent Nelson
0e452c8d91
docs: rename 'deployed programs' section to 'on-chain programs'
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
Jack May
b53cb8eb2d
Deprecate Instruction::new ( #15695 )
2021-03-04 05:46:48 +00: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
Jack May
30012818a1
update cpi docs ( #15494 )
2021-02-23 12:37:50 -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
Jon Cinque
3ac7e09de6
docs: Remove references to "create_address_with_seed" ( #15339 )
2021-02-17 14:25:02 +01:00
Austin Abell
17a328bc6f
Fix typo in account docs ( #15349 )
2021-02-16 09:58:33 -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
Jack May
d0118a5c42
Add program deployment docs ( #15075 )
2021-02-04 01:30:50 -08:00
Tyera Eulberg
2780214e71
Clean up some old commitment names ( #14994 )
2021-02-02 16:33:45 +00:00
Justin Starry
3eea88a3a8
Update transactions.md
2021-02-02 22:42:59 +08:00
Trent Nelson
52326d53be
docs: Fix mangled getConfirmedTransaction
parameter list
2021-01-28 22:13:03 -07:00
Josh
6b8e710988
RPC documentation updates for token deltas / blockTimes in getConfirmedSignatures2/getConfirmedTransaction ( #14871 )
...
* docs: add token balances response info
* docs: add blockTime to getConfirmedSignatures and getConfirmedTransaction
* docs: update example responses
* fix: remove space
2021-01-27 16:15:37 -08:00
Tyera Eulberg
ffa5c7dcc8
Deprecate commitment variants ( #14797 )
...
* Deprecate commitment variants
* Add new CommitmentConfig builders
* Add helpers to avoid allowing deprecated variants
* Remove deprecated transaction-status code
* Include new commitment variants in runtime commitment; allow deprecated as long as old variants persist
* Remove deprecated banks code
* Remove deprecated variants in core; allow deprecated in rpc/rpc-subscriptions for now
* Heavier hand with rpc/rpc-subscription commitment
* Remove deprecated variants from local-cluster
* Remove deprecated variants from various tools
* Remove deprecated variants from validator
* Update docs
* Remove deprecated client code
* Add new variants to cli; remove deprecated variants as possible
* Don't send new commitment variants to old clusters
* Retain deprecated method in test_validator_saves_tower
* Fix clippy matches! suggestion for BPF solana-sdk legacy compile test
* Refactor node version check to handle commitment variants and transaction encoding
* Hide deprecated variants from cli help
* Add cli App comments
2021-01-26 19:23:07 +00:00
Ryo Onodera
60611ae8a0
Add security best practice sections ( #14798 )
2021-01-25 15:36:11 -08:00
Ryo Onodera
1d87091d51
Improve documentation of sendTransaction ( #14770 )
...
* Improve documentation of sendTransaction
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Word wrap and improve terminology
* Tweak
* Oops
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-23 09:51:25 +00:00
Michael Vines
5d9dc609b1
Rename RpcNodeUnhealthy error to NodeUnhealthy, generalize getHealth
RPC error object for the future
2021-01-18 19:57:25 -08:00
Michael Vines
4003f86f04
Add getSnapshotSlot
RPC method
2021-01-16 19:31:21 +00:00
Michael Vines
dacb95083d
Add getHealth
RPC method
2021-01-16 10:10:48 -08:00
Tyera Eulberg
9a89689ad3
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods ( #14430 )
...
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
2021-01-15 16:05:05 +00:00
Ryo Onodera
974eb6e1ef
Fix pre-merge old name in the docs ( #14425 )
2021-01-05 02:41:24 +00:00
Jon Cinque
a41b5137f6
docs: Use "msg!" instead of "info!" ( #14411 )
...
* docs: Use "msg!" instead of "info!"
* Update docs/src/developing/deployed-programs/developing-rust.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix typo / format
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-04 20:49:09 +01:00
Michael Vines
1e977ac025
Bump version to v1.6.0
2020-12-15 18:28:04 +00:00
Jack May
03fc031611
Update serialization docs
2020-12-15 08:53:51 -08:00
Yihau Chen
deaa27fbdb
fix the typo in developing-rust.md ( #14098 )
2020-12-13 17:21:17 -08:00
Michael Vines
5237da4e01
spelling
2020-12-12 22:36:10 -08:00
Jack May
dca579851c
Cannot change owner if account is executable ( #13977 )
2020-12-07 11:37:07 -08:00
Tyera Eulberg
6ae4d2e5cb
Fix logsSubscribe ( #13996 )
2020-12-07 19:00:52 +00:00
Michael Vines
d18b417346
Update examples to use Tokenkeg
2020-11-26 18:26:57 -08:00
Michael Vines
4ef2da0ff0
Add solana logs
command
2020-11-25 11:44:41 -08:00
Michael Vines
215ddecaa5
Add base64+zstd encoding for RPC account data
2020-11-25 02:03:23 +00:00