Commit Graph

118 Commits

Author SHA1 Message Date
Slavomir 70ce94c209 Add RPC/getFeeCalculatorForBlockhash 2021-07-01 15:24:49 +02:00
Slavomir 49983db2dc Hashes: Use solana.Hash instead of solana.PublicKey 2021-07-01 15:24:34 +02:00
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 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 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
Julien Cassis fd950b41cc Added new instructions 2020-12-21 09:59:46 -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
billettc 4e3f16df71 GetSlot is no more returning a pointer 2020-12-09 09:21:23 -05:00
billettc e0f5cbae99 GetSlot not return a pointer 2020-12-09 09:19:04 -05:00
billettc c1302ccafd fix pub key json binding 2020-12-08 12:28:42 -05:00
billettc b78592564e fix account subscription missing data 2020-12-07 13:36:27 -05:00
Julien Cassis 026969ce35 cleaned up error handling 2020-11-26 20:06:13 -05:00
billettc 35b0380396 slnc `spl token register` working. 2020-11-26 12:51:11 -05:00
billettc 038648af29 wip register token. fail to send trx over rpc ... 2020-11-25 16:09:55 -05:00
billettc 520413a05c wip 2020-11-25 14:25:32 -05:00
billettc d7226cdc7b added ping message so ws client do not get disconnected from the server
added address public key in programResult
change some lock and unlock call timing
2020-11-24 08:43:37 -05:00
billettc 5fa02f1541 New text decoder
New decode use into get transactions
2020-11-20 14:24:07 -05:00
Julien Cassis 5a21265242 added more debug logs 2020-11-18 16:14:19 -05:00
Julien Cassis 6ca7856809 added return to error handler 2020-11-18 15:31:56 -05:00
Julien Cassis ec87d9570a move traceEnabled to logging.IsTraceEnabled 2020-11-16 13:39:07 -05:00
Julien Cassis b781f1bfc7 downgrade logger 2020-11-16 13:31:05 -05:00
billettc 90034de446 Merge branch 'master' of github.com:dfuse-io/solana-go 2020-11-16 09:44:28 -05:00
billettc fb91647ba7 set some log to debug 2020-11-16 09:44:25 -05:00
Julien Cassis e22f933858 Added dex instruction decoding 2020-11-13 12:55:14 -05:00
billettc 0a7c9bc30b remove most of the remaining struc ref 2020-11-13 09:21:00 -05:00
billettc c0ad8c7d66 Merge branch 'master' of github.com:dfuse-io/solana-go
# Conflicts:
#	go.sum
#	rpc/types.go
2020-11-12 17:59:45 -05:00
billettc 6a8456717b replace struc by dfuse bin. Some test are failing 2020-11-12 17:57:43 -05:00
Julien Cassis 37d477eadf Added parsed transaction support 2020-11-11 14:39:57 -05:00
billettc ef9111949e added decode func to slotSubscribe and fix the unsubscribe functionality 2020-11-11 10:24:58 -05:00
Julien Cassis 76687fa2c0 refactored ws 2020-11-09 16:14:52 -05:00
Julien Cassis 81f4290bc3 refactored ws connection 2020-11-09 16:00:13 -05:00
billettc d49de8ce54 refactor to by able to unsubscribe 2020-11-09 13:44:20 -05:00
billettc 56dfbad6cb skip test TestSystemInstructions 2020-11-09 13:32:48 -05:00
billettc 2240c5464c Merge branch 'master' of github.com:dfuse-io/solana-go 2020-11-09 13:10:27 -05:00
billettc b768a16047 some ws client refactoring 2020-11-09 13:10:17 -05:00
Alexandre Bourget 213c43e79e Added license ot files 2020-11-09 13:09:50 -05:00
Alexandre Bourget 85c240e786 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	cmd/slnc/cmd/serum_get_market.go
2020-11-09 13:00:06 -05:00
Alexandre Bourget 0002874950 Added hard-coded token mints.
Shuffle around the commands on `slnc`.
Better decoding, better reading of data.
Simplified API
2020-11-09 12:59:24 -05:00
billettc 23b2e05a93 Merge branch 'master' of github.com:dfuse-io/solana-go 2020-11-09 12:57:39 -05:00
billettc 177f411c27 replace the callback function by a chan. 2020-11-09 12:55:59 -05:00
billettc 4ee10af4f4 ws client is functional still need couple refactoring 2020-11-09 12:39:51 -05:00
Alexandre Bourget 438d441fa7 Fix get program accounts 2020-11-09 11:07:13 -05:00
Julien Cassis c7dac4508d Added rice box market 2020-11-09 10:44:50 -05:00
billettc 3f125ff9c0 fix ws response decoding 2020-11-09 09:57:03 -05:00
billettc 6d20a206b2 wip: working program subscription 2020-11-09 08:53:09 -05:00
Julien Cassis e0cb398213 Added uint128 support 2020-11-07 21:30:28 -05:00
Julien Cassis 889b7f66e9 cleaned up readme and spl mint 2020-11-06 20:03:49 -05:00
Julien Cassis fc10df5cb9 moves slnc cmds to solana-go 2020-11-06 16:31:18 -05:00
Julien Cassis 77cc3c9e7a Added order book iterator 2020-11-06 13:18:04 -05:00
Julien Cassis bd885c98ff added serum types 2020-11-06 11:47:26 -05:00
billettc 7604ae3075 move rpc type to rpc package 2020-11-06 11:38:43 -05:00
billettc 28f43ef6c1 replace new rpc client by alex one 2020-11-06 11:20:48 -05:00
billettc 4b1dd0f6be add rpc client and call to getAccountInfo 2020-11-06 10:40:28 -05:00