Commit Graph

210 Commits

Author SHA1 Message Date
Slavomir 2b6f37bdbc Add RPC/getEpochSchedule 2021-07-01 14:34:33 +02:00
Slavomir 0764db71c7 Add RPC/getEpochInfo 2021-07-01 14:29:35 +02:00
Slavomir c5be85c9ac Add RPC/getClusterNodes 2021-07-01 13:43:10 +02:00
Slavomir bcfb3ee794 RPC/GetBlockTime: more comments 2021-07-01 13:33:54 +02:00
Slavomir 9d670a8a67 Add RPC/getBlockTime 2021-07-01 13:31:17 +02:00
Slavomir 3f3f7e87db Add RPC/getBlocksWithLimit 2021-07-01 13:27:39 +02:00
Slavomir 9f58c50f96 Add RPC/getBlocks 2021-07-01 13:18:42 +02:00
Slavomir 9bebc48cb4 Add RPC/getBlockCommitment 2021-07-01 13:04:36 +02:00
Slavomir 22ddab1305 Add RPC/getBlockProduction 2021-07-01 12:55:54 +02:00
Slavomir 5768c696fe Add RPC/getBlockHeight 2021-07-01 12:15:27 +02:00
Slavomir ebda52ff67 Run go mod tidy 2021-06-30 23:39:23 +02:00
Slavomir 170752e3c5 RPC: add getBlock 2021-06-30 23:35:30 +02:00
Slavomir f623a9117b RPC/getBalance: cleanup 2021-06-30 21:22:38 +02:00
Slavomir 781a627a0c RPC/getAccountInfo: make encoding and commitment optional 2021-06-30 21:14:04 +02:00
Slavomir b2078abb38 Comment BlockReward 2021-06-30 21:07:11 +02:00
Slavomir e23f38c674 RPC: Extend getAccountInfo; add GetAccountInfoWithOpts; add comments to Account 2021-06-30 21:06:50 +02:00
Slavomir 35442d1c5c Add and ignore rpc/debug-utils.go 2021-06-30 21:04:40 +02:00
Slavomir 7b5326e463 RPC: move deprecated methods into a dedicated file 2021-06-30 14:17:04 +02:00
Slavomir efad3e9472 Add doc comments to existing rpc methods 2021-06-30 14:12:35 +02:00
Slavomir f9a70e2b21 go mod tidy 2021-06-29 16:49:37 +02:00
Julien Cassis 12dfaa0b17 serum: export side 2021-02-18 09:42:56 -05:00
Julien Cassis 091447277e serum: added order helper function 2021-02-18 09:32:37 -05:00
Julien Cassis 3bc141743d Added GetOrder support for open orders 2021-02-18 09:03:36 -05:00
billettc f2f4f3d4b2 fix optional account in new order 2021-02-16 13:23:11 -05:00
Julien Cassis 176c084277 Bumped binary lib 2021-02-15 21:50:33 -05:00
Julien Cassis 7405c0c399 Fix order ID 2021-02-15 13:08:45 -05:00
Matthieu Vachon b9803f04ba Added more state types for Serum DEX v3 support 2021-02-09 11:55:06 -05:00
Matthieu Vachon 09bfb86b98 Added support for Serum DEX v3 instructions 2021-02-08 17:45:37 -05:00
Matthieu Vachon d15a17d86f Disable failing tests, remove playground code 2021-02-08 17:08:37 -05:00
Julien Cassis be9990a714 Add serum math helper, and cleaned up test 2021-01-26 18:43:42 -05:00
Julien Cassis a56b6892bb bumped binary, fix uint128 Little endian decoded 2021-01-25 18:45:46 -05:00
Julien Cassis 38880c3785 serum: added custom decoder for request queue and event queue 2021-01-22 13:41:28 -05:00
billettc 000b72b169 Refactor instruction that was not complying to AccountsSettable 2021-01-22 07:48:34 -05:00
Julien Cassis 2fb4cfbfd6 Merge branch 'new-decode-interface' 2021-01-21 18:50:36 -05:00
Julien Cassis 282082e39e Fix request queue read offset 2021-01-21 14:20:12 -05:00
Julien Cassis c74839cba4 added RequestFlag helpers 2021-01-21 12:22:38 -05:00
Julien Cassis 5f131587b6 Fixed and cleaned up tests! 2021-01-20 13:42:10 -05:00
Alexandre Bourget 890b7817e8 Rework the decode interface. 2021-01-20 13:21:09 -05:00
Julien Cassis 57bebed0da added clarification comment 2021-01-19 14:02:42 -05:00
billettc cf6b272245 wip `bin:"sliceoffsetof` on event queue events list 2021-01-19 14:02:02 -05:00
billettc 040197a631 Added string func to EventFlag 2021-01-19 08:53:17 -05:00
Julien Cassis cf5d0cb965 standard serum instruction side 2020-12-21 11:51:15 -05:00
Julien Cassis 2f318c9fcc Added event fill helper 2020-12-21 11:25:43 -05:00
Julien Cassis 75188a766b added sides 2020-12-21 10:20:32 -05:00
Julien Cassis fd950b41cc Added new instructions 2020-12-21 09:59:46 -05:00
Matthieu Vachon ffd9fc2e14 Added PublicKeyFromBytes and improved Equals (a fixed size slice on Go called an array can be compared with ==) 2020-12-18 14:58:49 -05:00
Julien Cassis 50f5fc54dd fix request type 2020-12-16 21:16:08 -05:00
Julien Cassis 3a46cefc5f Added serum request flag 2020-12-16 21:06:21 -05:00
Julien Cassis 4718a0c39b Added Account flag decoding support 2020-12-16 17:54:18 -05:00
Matthieu Vachon 2c248b4b00 Refactoring around Transaction, fixed all tests, skip WS tests for now 2020-12-16 15:34:07 -05:00