Commit Graph

308 Commits

Author SHA1 Message Date
Slavomir 07b008f14e Use sync.Pool for zstd encoders/decoders 2021-07-20 13:02:31 +02:00
Slavomir 513e297dca NewTransaction: use a slice instead of a map 2021-07-19 22:10:58 +02:00
Slavomir 3161dff6b5 Point to v0.3.2 2021-07-19 22:04:29 +02:00
Slavomir 517a7b96aa Use main branch for TODOs 2021-07-19 22:02:31 +02:00
Slavomir c863ceaa52 Use main branch for TODOs 2021-07-19 22:00:45 +02:00
Slavomir c6e3048063 Refactor and cleanup comments, parameters, methods 2021-07-19 21:57:25 +02:00
Slavomir e0176fa152 Fix README 2021-07-19 14:21:59 +02:00
Slavomir 3412ff2387 Rename workflow: Tests -> tests 2021-07-19 12:47:59 +02:00
Slavomir d30150d5b3 Rename Test to Tests 2021-07-19 12:29:53 +02:00
Slavomir 9bb105953c Fix README 2021-07-19 12:26:04 +02:00
Slavomir 91c5bf02f3 Link to releases 2021-07-19 12:23:55 +02:00
Slavomir 1aa643f1b3 Add release tag 2021-07-19 12:22:23 +02:00
Slavomir ebfa226346 Add badges 2021-07-19 12:17:49 +02:00
Slavomir e4f1c5195e Cleanup README 2021-07-19 11:57:18 +02:00
Slavomir 41ac1cd39d Better gopher 2021-07-19 11:53:54 +02:00
Slavomir 4da3ad8166 Use smaller gopher 2021-07-19 11:48:39 +02:00
Slavomir 0e9dfcdecc Add gopher 2021-07-19 11:42:35 +02:00
Slavomir 04a23a6b3d Don't use []uint8 as a slice of account idexes; use []uint16 instead 2021-07-19 11:28:55 +02:00
Slavomir dce6d39fba Add github test workflow 2021-07-19 11:17:28 +02:00
Slavomir d961b44ac4 Improve GetConfirmedSignaturesForAddress2 2021-07-15 14:37:37 +02:00
Slavomir f4fcaeb75c RPC: Improve GetConfirmedTransaction 2021-07-14 19:37:10 +02:00
Slavomir a1ab3ba4a4 Don't try to decode empty data 2021-07-14 19:36:29 +02:00
Slavomir 2a9d11782c Fix RPC URLs 2021-07-12 22:26:38 +02:00
Slavomir 90e947601a Retract v1.0.0 // Published accidentally. 2021-07-12 16:04:47 +02:00
Slavomir 7fbcc82f87 RPC: Refactor data methods 2021-07-12 16:00:27 +02:00
Slavomir 4add6ee371 Refactor Account data decoding/encoding 2021-07-11 23:49:42 +02:00
Slavomir 4a37555293 Fix tests 2021-07-11 19:10:06 +02:00
Slavomir 13636d3a55 Add TODOs 2021-07-11 18:08:29 +02:00
Slavomir 3d7eea9a78 Refactor websocket subscriptions 2021-07-11 18:03:56 +02:00
Slavomir b3a107beda Fix request and comments 2021-07-11 17:58:41 +02:00
Slavomir b5290cbfb8 Fix DataBytesOrJSON unmarshaling 2021-07-11 13:59:34 +02:00
Slavomir 6f8e49d78b Clean up go.mod 2021-07-10 23:23:14 +02:00
Slavomir 87aac3d6a0 Nil account data is not an error 2021-07-10 18:10:58 +02:00
Slavomir ec2eda79c5 Add more tests; refactor account data encoding/decoding 2021-07-10 17:51:19 +02:00
Slavomir ef6edbfabd Fix existing tests 2021-07-10 15:12:23 +02:00
Slavomir 3282b0f2c8 Use io.ReadFull 2021-07-10 14:57:22 +02:00
Slavomir 544f6d10e6 More tests and fixes 2021-07-10 14:44:20 +02:00
Slavomir 36a0805cfe Add TODOs to tests 2021-07-09 18:45:20 +02:00
Slavomir 0952b02f6f Remove duplicate test; rename tests 2021-07-09 18:30:07 +02:00
Slavomir 8a0f582db6 Use uint64 2021-07-09 17:56:15 +02:00
Slavomir 1979dbf4bf Add tests and improve API signatures 2021-07-09 17:36:53 +02:00
Slavomir 506f465695 Add tests for response parsing 2021-07-07 17:52:58 +02:00
Slavomir 5d59487bbd Add tests for response parsing 2021-07-07 17:42:23 +02:00
Slavomir 2e95c01d4c RPC: each method has its own file 2021-07-07 14:29:22 +02:00
Slavomir 85781927fb Add debug: NewWithCustomRPCClient 2021-07-06 22:31:39 +02:00
Slavomir b6c09dc745 Rename `github.com/dfuse-io/solana-go` to `github.com/gagliardetto/solana-go` 2021-07-06 18:18:26 +02:00
Slavomir c862096cfa Rename rpc/ws/method.go -> rpc/ws/methods.go 2021-07-02 19:20:51 +02:00
Slavomir d3c2c7ba9b Refactor rpc/ws 2021-07-02 17:43:08 +02:00
Slavomir 002b3ea730 Improve naming, comments 2021-07-02 15:42:26 +02:00
Slavomir 52d6398ba8 Refactor RPC/SimulateTransaction; add SimulateTransactionWithOpts 2021-07-02 15:30:57 +02:00