Commit Graph

151 Commits

Author SHA1 Message Date
mergify[bot]
e4bd382472 Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768) (#12789)
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli

(cherry picked from commit c5c8da1ac0)

# Conflicts:
#	Cargo.lock
#	runtime/src/bank.rs
#	transaction-status/Cargo.toml

* fix: surface full block rewards type

(cherry picked from commit 1b16790325)

* resolve conflicts

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-10-10 06:25:10 +00:00
Justin Starry
5a69c66877 feat: add token methods (#11303) 2020-07-31 12:33:54 +08:00
Michael Vines
3b87780f21 fix: getEpochInfo RPC endpoint now includes the current block height 2020-07-21 17:24:07 -07:00
Justin Starry
d0e139ffff feat: add getLeaderSchedule api 2020-07-18 13:23:29 +08:00
Michael Vines
427d0ff0b5 fix: ignore unknown fields in more RPC responses 2020-07-11 03:39:49 +00:00
Justin Starry
f31f66a7c3 fix: avoid double spend in sendAndConfirmTransaction 2020-06-19 15:25:41 +08:00
Justin Starry
229ff05fe9 fix: improve send and confirm options ergonomics 2020-06-18 15:54:15 +08:00
Justin Starry
ad0e71d357 feat: make Transaction.populate method public and tweak MessageArgs 2020-06-14 21:57:04 -07:00
Justin Starry
22a63fe93c fix: fix blockhash cache reuse 2020-06-14 21:57:04 -07:00
Justin Starry
24bb060292 feat: remove commitment option from requestAirdrop 2020-06-14 21:57:04 -07:00
Justin Starry
e622bb12b3 feat: add getFeeCalculatorForBlockhash method 2020-06-14 21:57:04 -07:00
Justin Starry
8f03677801 feat: remove getInflation in favor of getInflationGovernor 2020-06-14 21:57:04 -07:00
Justin Starry
8547ae43ce feat: add skipPreflight option 2020-06-14 21:57:04 -07:00
Tyera Eulberg
e2e4b47103 feat: add singleGossip commitment level 2020-06-14 21:57:04 -07:00
Justin Starry
925c225885 feat: add support for getFirstAvailableBlock method 2020-06-14 21:57:04 -07:00
Justin Starry
1b8fe71230 feat: add getLargestAccounts rpc api 2020-06-14 21:57:04 -07:00
Justin Starry
9c677c7d3d feat: add support for getSupply RPC method 2020-06-14 21:57:04 -07:00
Justin Starry
722adb66c2 feat: add commitment param to subscription apis 2020-06-14 21:57:04 -07:00
Justin Starry
7f9a2e477f fix: fix getEpochInfo type definition 2020-06-14 21:57:04 -07:00
Justin Starry
6558e05fd0 feat: add minimumLedgerSlot api 2020-06-14 21:57:04 -07:00
Justin Starry
839e93480c feat: update transaction confirming apis 2020-06-14 21:57:04 -07:00
Justin Starry
3b71ec1ff6 feat: add root and single commitment levels 2020-06-14 21:57:04 -07:00
Justin Starry
4b613a4574 feat: add getBlockTime method 2020-06-14 21:57:04 -07:00
Justin Starry
02a278b3b2 fix: add version to ContactInfo 2020-06-14 21:57:04 -07:00
Justin Starry
62251a8bc2 chore: split out meta type 2020-06-14 21:57:04 -07:00
Justin Starry
ae53742e1a feat: add getConfirmedTransaction and getConfirmedSignaturesForAddress 2020-06-14 21:57:04 -07:00
Michael Vines
3a1c582df5 fix: connection url can upgrade to a websocket if no port is supplied 2020-06-14 21:57:04 -07:00
Jack May
96e5099d33 fix: feedback 2020-06-14 21:57:04 -07:00
Jack May
ca02d593aa fix: improve error messaging 2020-06-14 21:57:04 -07:00
Justin Starry
4409a05564 fix: reset subscriptions on ws close 2020-06-14 21:57:04 -07:00
Justin Starry
3a2fe7fdbc feat: update getSignatureStatus methods 2020-06-14 21:57:04 -07:00
Justin Starry
7989c10b7a feat: return null when account info not found 2020-06-14 21:57:04 -07:00
Justin Starry
01f9a2ee4c chore: add test for failed transaction 2020-06-14 21:57:04 -07:00
Justin Starry
b0316f82b5 feat: add err field to status results 2020-06-14 21:57:04 -07:00
Justin Starry
6f363e5221 feat: use new getSignatureStatuses endpoint and naming 2020-06-14 21:57:04 -07:00
Justin Starry
ed2a0c7acb chore: improve EpochSchedule docs 2020-06-14 21:57:04 -07:00
Justin Starry
7184fd79f6 chore: fix broken doc links 2020-06-14 21:57:04 -07:00
Justin Starry
a2c6c991b8 feat: add root subscription api 2020-06-14 21:57:04 -07:00
Justin Starry
a571e3dc65 feat: update getSignatureStatus api 2020-06-14 21:57:04 -07:00
Justin Starry
b9ade46c41 chore: prettier fixes 2020-06-14 21:57:04 -07:00
Justin Starry
be53ab5aa4 feat: add context to pubsub notification callbacks 2020-06-14 21:57:04 -07:00
Justin Starry
1c31e527e2 feat: update getSignatureStatus 2020-06-14 21:57:04 -07:00
Tyera Eulberg
d417c7499a fix: update feeCalculator layout 2020-06-14 21:57:04 -07:00
Justin Starry
830c55d07b chore: fix up docs 2020-06-14 21:57:04 -07:00
Justin Starry
6a7115b8bd fix: allow Uint8Array and Array<number> where Buffer is accepted 2020-06-14 21:57:04 -07:00
Justin Starry
de4f20a569 fix: add rewards to getConfirmedBlock api 2020-06-14 21:57:04 -07:00
Justin Starry
d483f7e904 fix: race condition in rpc unsubscribe 2020-06-14 21:57:04 -07:00
Justin Starry
e8ca68043a fix: race condition in rpc websocket subscriptions 2020-06-14 21:57:04 -07:00
Justin Starry
740b7a3b23 feat: add onSignature pub sub api 2020-06-14 21:57:04 -07:00
Justin Starry
4017bd6bfa fix: broken rpc slot change subscription 2020-06-14 21:57:04 -07:00