Commit Graph

63 Commits

Author SHA1 Message Date
Matt Johnstone 0d3fa3d88b
removed usage code (for later) 2024-11-08 14:57:14 +02:00
Matt Johnstone f7cf3c26e6
fixed fee bug 2024-11-08 14:52:47 +02:00
Matt Johnstone d2c2ff2165
minor readme update + jeffs nits 2024-11-05 20:56:16 +02:00
Matt Johnstone 95657c9f60
renamed solana_exporter -> solana-exporter 2024-10-31 22:35:14 +02:00
Matt Johnstone 7d194b72b9
solved sorting issue in getVoteAccounts test 2024-10-29 14:20:48 +02:00
Matt Johnstone d06edc078e
refactored WatchSlots_Dynamic test 2024-10-29 14:20:44 +02:00
Matt Johnstone fa71eeb20b
big mock server test refactor 2024-10-29 14:19:44 +02:00
Matt Johnstone dda909aecc
added mock server + rpc tests 2024-10-29 14:18:22 +02:00
Matt Johnstone 36a11a9b23
made logger init automatically 2024-10-29 14:18:22 +02:00
Matt Johnstone 43a02d763b
added mock rpc server 2024-10-29 14:18:22 +02:00
Matt Johnstone 6406fb9e28
removed identity label 2024-10-27 13:04:45 +02:00
Matt Johnstone 6fa9afb6aa
counted block size by vote vs non-vote tx 2024-10-26 14:20:09 +02:00
Matt Johnstone c9fabdecd4
added configurable log levels 2024-10-25 12:06:36 +02:00
Matt Johnstone 888d065acf
added iso format for log ts 2024-10-25 10:38:15 +02:00
Matt Johnstone 1bbaa29acb
replaced klog -> zap in rpc 2024-10-25 10:10:21 +02:00
Matt Johnstone 0cc0f1d5c2
standardised metric naming 2024-10-24 12:09:32 +02:00
l.subbotin 6794ebc881
Moved blockHeight to slots.go. 2024-10-23 23:48:37 +02:00
l.subbotin 6eaeb91be2
Added solana_minimum_ledger_slot, solana_first_available_block, solana_block_height metrics. 2024-10-22 21:26:43 +02:00
l.subbotin f410d9893d
Introduced additional identity label to metrics. 2024-10-22 21:26:37 +02:00
Matt Johnstone 76755da9f3
added health check to Collect() 2024-10-18 16:57:44 +02:00
Matt Johnstone 8cc29309fa
merged getHealth.go -> client.go 2024-10-18 11:28:22 +02:00
l.subbotin 0a0782bb25
Added support for getHealth method, introducing solana_is_healthy, solana_num_slots_behind
(after refactoring)
2024-10-18 11:17:07 +02:00
Matt Johnstone 7be0a718f7
Merge pull request #44 from asymmetric-research/error-update
Added rpc error data
2024-10-17 19:20:32 +02:00
Matt Johnstone f8c6f582cf
added block size monitoring 2024-10-15 17:50:04 +02:00
Matt Johnstone 7bfab5fae3
added config object 2024-10-15 12:30:53 +02:00
Matt Johnstone 5ea95f245f
added rpc error data 2024-10-14 17:20:34 +02:00
Matt Johnstone bc96a3ee11
rpc error code constants 2024-10-14 11:01:24 +02:00
Matt Johnstone 4f2c927054
added rpcerror handling to fee reward fetching 2024-10-08 18:10:34 +02:00
Matt Johnstone dd6f72c822
refactored getResponse to pure function 2024-10-08 17:16:10 +02:00
Matt Johnstone 328074ea6f
working on fee rewards 2024-10-07 16:55:24 +02:00
Matt Johnstone 05411bc684
standardised commitments 2024-10-07 15:05:24 +02:00
Matt Johnstone 7db68af818
added GetBlock 2024-10-07 14:49:37 +02:00
Matt Johnstone b3d33313b0
added GetLeaderSchedule + rpc documentation linking to offical methods 2024-10-07 14:06:46 +02:00
Matt Johnstone 68a3a29280
working on inflation rewards 2024-10-07 12:41:06 +02:00
Matt Johnstone 789f8ac792
added GetInflationReward 2024-10-07 12:41:06 +02:00
Matt Johnstone bf217cfc22
implemented jeffs nits 2024-10-06 16:58:15 +02:00
Matt Johnstone 64332b368b
added json to contextualResult 2024-10-04 12:56:35 +02:00
Matt Johnstone 8e4f5e8d6f
refactored WatchSlots() to SlotWatcher 2024-10-04 12:56:33 +02:00
Matt Johnstone ced08197cf
refactored GetVoteAccounts 2024-10-04 12:38:22 +02:00
Matt Johnstone ab386801b1
refactored GetBlockProduction 2024-10-04 12:38:20 +02:00
Matt Johnstone 0df883021a
fixed Collect 2024-10-01 22:07:53 +02:00
Matt Johnstone d2807364f6
added GetBalance to RPC client 2024-10-01 11:52:02 +02:00
Matt Johnstone 81845a0b7d
removed rpc integration tests 2024-06-15 11:43:16 +02:00
Matt Johnstone 3e9359969c
dried GetBlockProduction 2024-06-15 10:12:56 +02:00
Matt Johnstone 264b9463f4
dried simple rpc methods 2024-06-15 10:12:56 +02:00
Matt Johnstone b95da597b2
added rpc client tests 2024-06-15 10:01:22 +02:00
Matt Johnstone b742be47ef
added dynamic unit tests 2024-06-15 09:58:23 +02:00
Matt Johnstone 815e8c14f9
added static tests for exporter.go 2024-06-15 09:27:14 +02:00
Matt Johnstone 33fb8a47fc
added Provider godoc 2024-06-12 11:26:49 +02:00
Matt Johnstone 89d209f188
added rpc.Provider interface 2024-06-11 22:23:10 +02:00