Commit Graph

184 Commits

Author SHA1 Message Date
Tyera Eulberg
a461d5f25f fix: update ConfirmedBlock handling to match solana upstream 2020-06-14 21:57:04 -07:00
Justin Starry
3c08e5b9c4 feat: add getConfirmedBlock api 2020-06-14 21:57:04 -07:00
Sunny Gleason
5212a98b83 feat: implement new response format for __WithCommitment() methods 2020-06-14 21:57:04 -07:00
Tyera Eulberg
890f6f4d9d fix: add getBlock Connection method 2020-06-14 21:57:04 -07:00
Justin Starry
3382548a79 fix: use the jsonrpc framework reconnect interval 2020-06-14 21:57:04 -07:00
Justin Starry
f3d9ab75e6 feat: add getVersion method 2020-06-14 21:57:04 -07:00
Tyera Eulberg
086eb6f8b8 fix: add getBlocksSince Connection method 2020-06-14 21:57:04 -07:00
Justin Starry
189807f5a5 feat: add commitment param to JSON RPC API requests (#549)
* feat: add commitment param to json rpc requests

* fix: tests and examples

* fix: docs

* fix: epoch info test

* fix: budget example

* fix: test timeout

* fix: remove MAX_COMMITMENT and RECENT_COMMITMENT types
2020-06-14 21:57:04 -07:00
Sunny Gleason
3f38e89886 feat: getEpochInfo rpc, yarn lint (#540) 2020-06-14 21:57:04 -07:00
Jack May
29aabcb195 fix: wait for airdrop (#538) 2020-06-14 21:57:04 -07:00
Sunny Gleason
67c9b50249 feat: get_epoch_schedule rpc (#536) 2020-06-14 21:57:04 -07:00
Michael Vines
c705ac01f5 fix: adapt tests to higher default transaction signature fee (#531) 2020-06-14 21:57:04 -07:00
Sunny Gleason
884a09d8f6 feat: add optional rootSlot parameter (#528) 2020-06-14 21:57:04 -07:00
Tyera Eulberg
7191159377 fix: update node exit rpc to match solana changes 2020-06-14 21:57:04 -07:00
Justin Starry
d4a2384a5e fix: graceful fallback when minimum balance request fails (#497) 2020-06-14 21:57:04 -07:00
Tyera Eulberg
4ae90c2944 fix: add api for getMinimumBalanceForRentExemption 2020-06-14 21:57:04 -07:00
Sunny Gleason
e031710ae0 fix: remove grant/grant_term from inflation (#489) 2020-06-14 21:57:04 -07:00
Sunny Gleason
0379615c76 feat: getInflation() RPC (needs better documentation pending book terms) (#473)
* feat: getInflation() RPC (needs better documentation pending book terms)

* feat: add test
2020-06-14 21:57:04 -07:00
Michael Vines
1b70081399 fix: add Account.rent_epoch field and rebuild bpf test fixtures (#466)
* fix: add Account.rent_epoch field

* fix: rebuild bpf test fixtures
2020-06-14 21:57:04 -07:00
Tyera Eulberg
a3bf378d0d fix: update from getEpochVoteAccounts to getVoteAccounts rpc 2020-06-14 21:57:04 -07:00
Justin Starry
6ac1dffa99 chore(deps-dev): bump eslint-plugin-jest from 22.7.2 to 22.15.0 2020-06-14 21:57:04 -07:00
Michael Vines
2eeaf668fa fix: add missing getSlot API 2020-06-14 21:57:04 -07:00
Michael Vines
118a5f0ece doc: commission is now a u8 (#390) 2020-06-14 21:57:04 -07:00
Tyera Eulberg
0e7c8cd01f fix: expose getProgramAccounts RPC method 2020-06-14 21:57:04 -07:00
Sunny Gleason
c14a44b8b4 doc: disambiguate sols vs. lamports in doco (#384)
* disambiguate sols vs. lamports in doco

* doc: disambiguate sols vs. lamports
2020-06-14 21:57:04 -07:00
Michael Vines
684605fd5c fix: add burnPercent field to FeeCalculator (#381) 2020-06-14 21:57:04 -07:00
Trent Nelson
034f31d3bc Expose getTotalSupply RPC method (#370) 2020-06-14 21:57:04 -07:00
Michael Vines
aa9f2f8730 fix: add {min,max}LamportsPerSignature fields 2020-06-14 21:57:04 -07:00
Michael Vines
58edbf5607 fix: retain support for 0.15 GetClusterNodes 2020-06-14 21:57:04 -07:00
Michael Vines
10e3a26338 feat: expose feeCalculator 2020-06-14 21:57:04 -07:00
Michael Vines
e23d2453d7 feat: add binding for getEpochVoteAccounts 2020-06-14 21:57:04 -07:00
Tyera Eulberg
53958a8b1e fix: Repair getRecentBlockhash bug in non-legacy formats 2020-06-14 21:57:04 -07:00
Michael Vines
4cf234618e fix: support v0.14 GetRecentBlockhash too 2020-06-14 21:57:04 -07:00
Michael Vines
a1ce705d15 fix: adapt to GetRecentBlockhash RPC API signature change 2020-06-14 21:57:04 -07:00
Michael Vines
48f0bcc2bf fix: pay transaction fees from system accounts 2020-06-14 21:57:04 -07:00
Michael Vines
456f34e95b fix: add fullnodeExit() 2020-06-14 21:57:04 -07:00
Michael Vines
2292b5910e doc: correct getClusterNodes() summary 2020-06-14 21:57:04 -07:00
Michael Vines
a90cbcee9e test: give more time 2020-06-14 21:57:04 -07:00
Michael Vines
a2cd9180b5 feat: add getSlotLeader()/getClusterNodes() 2020-06-14 21:57:04 -07:00
Tyera Eulberg
507fac06ee fix: Appease flow 2020-06-14 21:57:04 -07:00
Tyera Eulberg
7f72bbeba3 fix: Update signature status result type 2020-06-14 21:57:04 -07:00
Tyera Eulberg
f2b38bcc56 fix: Remove deprecated length field 2020-06-14 21:57:04 -07:00
Michael Vines
7469eb5732 fix: remove stray console.log 2020-06-14 21:57:04 -07:00
Michael Vines
6fe0e08a80 fix: rename userdata to data 2020-06-14 21:57:04 -07:00
Tyera Eulberg
f6afbe1a72 fix: Plumb program-based subscriptions 2020-06-14 21:57:04 -07:00
Michael Vines
be8821e0d0 fix: rename tokens to lamports 2020-06-14 21:57:04 -07:00
Michael Vines
f655c30159 fix: add timing constants to better set timeouts 2020-06-14 21:57:04 -07:00
Michael Vines
294dd4f4e7 fix: Rename lastId to blockhash 2020-06-14 21:57:04 -07:00
Michael Vines
5b9665098a fix: getConfirmationTime() was removed upstream 2020-06-14 21:57:04 -07:00
Michael Vines
6311cbf335 fix: retry harder to obtain a last_id 2020-06-14 21:57:04 -07:00