Commit Graph

53 Commits

Author SHA1 Message Date
Justin Starry
09d1b7f39f fix: recent blockhash decoding for conf transactions 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
057b2861d3 fix: getConfirmedBlock ix programId parsing 2020-06-14 21:57:04 -07:00
Justin Starry
b9ade46c41 chore: prettier fixes 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
6a7115b8bd fix: allow Uint8Array and Array<number> where Buffer is accepted 2020-06-14 21:57:04 -07:00
Trent Nelson
cca9c5d922 fix: rename nonce instructions with VerbNoun scheme 2020-06-14 21:57:04 -07:00
Tyera Eulberg
fc007b02ae fix: update getConfirmedBlock json-rpc formatting 2020-06-14 21:57:04 -07:00
Tyera Eulberg
4a547b0057 fix: remove legacy code 2020-06-14 21:57:04 -07:00
Tyera Eulberg
aea0e83a40 fix: repair key handling in _getSignData and add Nonce live test 2020-06-14 21:57:04 -07:00
Tyera Eulberg
bd0a9348f4 fix: add Nonce transaction construction option 2020-06-14 21:57:04 -07:00
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
Tyera Eulberg
086eb6f8b8 fix: add getBlocksSince Connection method 2020-06-14 21:57:04 -07:00
Tyera Eulberg
d0c89f7fa3 fix: update accounts to readonly/writable 2020-06-14 21:57:04 -07:00
Tyera Eulberg
daba1a7856 fix: add tx instruction->transfer data functionality 2020-06-14 21:57:04 -07:00
Tyera Eulberg
fddf2e54e9 fix: enable serialization of unsigned transactions 2020-06-14 21:57:04 -07:00
Michael Vines
c6f828b06a chore: run pretty 2020-06-14 21:57:04 -07:00
Michael Vines
d000485f7c fix: increase PACKET_DATA_SIZE to match Solana v0.15.0 2020-06-14 21:57:04 -07:00
Tyera Eulberg
87c1becbef fix: Squash budget bugs 2020-06-14 21:57:04 -07:00
Tyera Eulberg
c99d8dd15c fix: Add preliminary handling for credit-only account designation 2020-06-14 21:57:04 -07:00
Tyera Eulberg
78ad376bcd fix: Appease flow 2020-06-14 21:57:04 -07:00
Tyera Eulberg
34cb08bd84 fix: Update transaction format; include numCreditOnlySignedAccounts and numCreditOnlyUnsignedAccounts bytes, remove programIds 2020-06-14 21:57:04 -07:00
Michael Vines
f7a02e54df fix: correctly count duplicate signing keys 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
Tyera Eulberg
efd0392706 BREAKING CHANGE: requires Solana version v0.13.0 or greater
feat: Update to current solana tx format
2020-06-14 21:57:04 -07:00
Michael Vines
6fe0e08a80 fix: rename userdata to data 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
564d09fdfe fix: remove unwanted u64 length from raw Transaction bytes, it's RPC API specific 2020-06-14 21:57:04 -07:00
Tyera Eulberg
79bc47a631 fix: Add Transaction method to parse from wire fmt; update Transaction.serialize 2020-06-14 21:57:04 -07:00
Michael Vines
62c1efc955 fix: add testnetChannelEndpoint() 2020-06-14 21:57:04 -07:00
Michael Vines
bfefb2403c chore: update eslint-plugin-jest 2020-06-14 21:57:04 -07:00
Michael Vines
cd4da00a68 fix: avoid packaging bpf-sdk binaries that the user downloads 2020-06-14 21:57:04 -07:00
Michael Vines
4acccb3976 fix: add flowtype for SignaturePubkeyPair 2020-06-14 21:57:04 -07:00
Michael Vines
0026b44531 feat: add support for partial Transaction signing 2020-06-14 21:57:04 -07:00
Michael Vines
aee383eaec refactor: add constant for max Transaction size 2020-06-14 21:57:04 -07:00
Michael Vines
b175a53f4b fix: default transaction fee is now 1 (was 0) 2020-06-14 21:57:04 -07:00
Michael Vines
fa7e2722d1 fix: support multiple Transaction signatures 2020-06-14 21:57:04 -07:00
Michael Vines
44047a8d63 fix: adapt transaction wire format for multiple signatures 2020-06-14 21:57:04 -07:00
Michael Vines
1d6abb17cf refactor: employ prettier 2020-06-14 21:57:04 -07:00
Michael Vines
f168cdfd70 fix: multiple transaction instructions are now supported 2020-06-14 21:57:04 -07:00
Michael Vines
b8d586c67e feat: add room in the API for Transactions with multiple Instructions 2020-06-14 21:57:04 -07:00
Michael Vines
3a5a67bd5e fix: update to post-v0.9 Transaction wire format 2020-06-14 21:57:04 -07:00
Michael Vines
17b73306fe refactor: use buffer-layout to clean up buffer encoding 2020-06-14 21:57:04 -07:00
Michael Vines
ca6965f8c2 feat: wrap public key in a class 2020-06-14 21:57:04 -07:00
Michael Vines
914c54e071 Docs 2020-06-14 21:57:04 -07:00
Michael Vines
d009e7e91b s/contract/program/ 2020-06-14 21:57:04 -07:00