Commit Graph

374 Commits

Author SHA1 Message Date
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
Justin Starry
6f363e5221 feat: use new getSignatureStatuses endpoint and naming 2020-06-14 21:57:04 -07:00
Justin Starry
057b2861d3 fix: getConfirmedBlock ix programId parsing 2020-06-14 21:57:04 -07:00
Justin Starry
aeedd3867f feat: rename testnet util methods 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
Justin Starry
402c160ae9 feat: use crypto-hash instead of hasha 2020-06-14 21:57:04 -07:00
Michael Vines
65113d3669 fix: update devnet urls 2020-06-14 21:57:04 -07:00
Trent Nelson
890e21c451 fix: update NonceAccount to upstream changes 2020-06-14 21:57:04 -07:00
Justin Starry
6ed2bad9d0 feat: add API for decoding system instructions 2020-06-14 21:57:04 -07:00
Tyera Eulberg
d9a271742f feat: add transaction signature verification 2020-06-14 21:57:04 -07:00
Justin Starry
aba7e14f3a feat: add API for decoding stake instructions 2020-06-14 21:57:04 -07:00
Tyera Eulberg
d417c7499a fix: update feeCalculator layout 2020-06-14 21:57:04 -07:00
Tyera Eulberg
825a43fecc fix: add test coverage and fixup getters 2020-06-14 21:57:04 -07:00
Justin Starry
0cdf532419 feat: expose instruction types and refactor 2020-06-14 21:57:04 -07:00
Michael Vines
7d69cad81b fix: rename testnet.solana.com to devnet.solana.com 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
8cf98ec4e2 chore: prettier fixes 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