449 Commits

Author SHA1 Message Date
Trent Nelson
19813b0ab2 fix: align web3 stake split instruction constuction with rust 2020-07-10 15:29:48 -06:00
Trent Nelson
a8b1d71ae6 fix: inconsistent tx message compilation accounting 2020-07-10 15:29:48 -06:00
Trent Nelson
3e3241125f fix: serializing an unsigned tx should throw 2020-07-10 15:29:48 -06:00
Jack May
0579581f8c
feat: getProgramAddress takes bytes rather than strings (#10837) 2020-06-29 17:05:05 -07: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
Jack May
a29e088169 feat: add createProgramAddress 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
Jack May
f02e73cd5e fix: remove return value from load, unnecessary 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
5f0b182a3b fix: overly strict key length check when decoding stake instructions 2020-06-14 21:57:04 -07:00
Justin Starry
2116e2b181 fix: key length check when decoding instructions 2020-06-14 21:57:04 -07:00
Justin Starry
a112d9cedf fix: add type def for NonceAccount.fromAccountData 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
c584fbdf39 feat: add support for more system instructions 2020-06-14 21:57:04 -07:00
Justin Starry
09d1b7f39f fix: recent blockhash decoding for conf transactions 2020-06-14 21:57:04 -07:00
Justin Starry
c5802bcbb6 feat: allow passing seed to createNonceAccount 2020-06-14 21:57:04 -07:00
Justin Starry
14a41bc47b feat: expose transaction message publicly 2020-06-14 21:57:04 -07:00
Trent Nelson
7e642d5456 fix: rename signData to serializeMessage() 2020-06-14 21:57:04 -07:00
Trent Nelson
8142aa6c1d feat: allow external signatures on Transactions
Adds a helper for adding externally created signature/pubkey pairs
to `Transactions`
2020-06-14 21:57:04 -07:00
Trent Nelson
7d3781e19f feat: expose Transaction._getSignData() as Transaction.signData 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
Justin Starry
e6fb146809 feat: specify program account when using bpf loader 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
cd6b48a403 fix: adjust status retry algorithm 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
Trent Nelson
d081b55e40 fix: declare system program id in base58 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
ae10f1ecab fix: properly export SYSTEM_INSTRUCTION_LAYOUTS 2020-06-14 21:57:04 -07:00
Justin Starry
5e1a26ce2e fix: properly export NONCE_ACCOUNT_LENGTH 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