Commit Graph

64 Commits

Author SHA1 Message Date
Matt Johnstone b2cde35375
Merge pull request #40 from asymmetric-research/rpc-errors
RPC errors
2024-10-14 11:03:17 +02:00
Matt Johnstone a3c498da5e
Merge pull request #37 from asymmetric-research/fee-rewards
WIP: Fee rewards!!!
2024-10-14 11:01:55 +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 c65c347504
added fee rewards 2024-10-08 16:33:41 +02:00
Matt Johnstone ab227c7659
Update inflation reward error message
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2024-10-07 20:34:49 +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 325848dabf
added inflation rewards test 2024-10-07 12:41:06 +02:00
Matt Johnstone 172d15a309
added inflation rewards metric 2024-10-07 12:41:06 +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 db8373b81d
added leader-slot-addresses to SlotWatcher 2024-10-04 13:04:23 +02:00
Matt Johnstone 5c522d7b12
added documentation 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 70990df414
refactoring WatchSlots 2024-10-04 12:45:12 +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 40044946d2
added leader-slot-addresses warnings 2024-10-04 12:24:44 +02:00
Matt Johnstone 5e7789fd89
added configurable address list to track solana_leader_slots_by_epoch for 2024-10-03 11:24:23 +02:00
Matt Johnstone 0df883021a
fixed Collect 2024-10-01 22:07:53 +02:00
Matt Johnstone 5513723d12
added GetBalance tests 2024-10-01 21:38:28 +02:00
Matt Johnstone d2807364f6
added GetBalance to RPC client 2024-10-01 11:52:02 +02:00
Matt Johnstone 49cbd39baa
fixed assert.Nilf bug 2024-06-15 12:13:51 +02:00
Matt Johnstone f834359575
moved tests into exporter_test and slots_test 2024-06-15 12:04:07 +02:00
Matt Johnstone 3e9359969c
dried GetBlockProduction 2024-06-15 10:12:56 +02:00
Matt Johnstone 214b737081
implemented jeffs suggestions 2024-06-15 09:58:24 +02:00
Matt Johnstone fb5ceb82d7
reduced indentation (for jeff) 2024-06-15 09:58:24 +02:00
Matt Johnstone 206aa75eca
split out correct metric changes 2024-06-15 09:58:23 +02:00
Matt Johnstone e1edb64d09
added context to dynamicRPCClient.Run() 2024-06-15 09:58:23 +02:00
Matt Johnstone 14cbbde7e4
fixed dynamic/static test interference 2024-06-15 09:58:23 +02:00
Matt Johnstone b742be47ef
added dynamic unit tests 2024-06-15 09:58:23 +02:00
Matt Johnstone f5d604d4f1
added dynamic rpc client 2024-06-15 09:58:23 +02:00
Matt Johnstone aad48f64ed
removed print statement 2024-06-15 09:27:19 +02:00
Matt Johnstone 28fd5e15dd
added block production tests 2024-06-15 09:27:18 +02:00
Matt Johnstone f861046510
dried tests + made test name match metric name 2024-06-15 09:27:18 +02:00
Matt Johnstone 7912a035aa
add initial set to WatchSlots() 2024-06-15 09:27:18 +02:00
Matt Johnstone 286cbc53e8
added watch slots test 2024-06-15 09:27:18 +02:00
Matt Johnstone 815e8c14f9
added static tests for exporter.go 2024-06-15 09:27:14 +02:00
Matt Johnstone 89d209f188
added rpc.Provider interface 2024-06-11 22:23:10 +02:00
Matt Johnstone 05a5c6d710
reverted NewSolanaCollector name + more of Jeff's nits 2024-06-11 21:27:55 +02:00
Matt Johnstone 8601796d18
renamed rpc.RPCClient -> rpc.Client 2024-06-11 11:34:27 +02:00
Matt Johnstone 0dbc9f7954
renamed NewSolanaCollector -> newSolanaCollector 2024-06-11 11:00:35 +02:00
mcamou e32b8a2ecd PR comments 2024-06-06 18:34:40 +02:00
mcamou b8fcc7c170 One more fix 2024-06-04 16:56:00 +02:00
mcamou 7fc66653fa Another fix 2024-06-04 16:25:18 +02:00
mcamou 9de09fa830 Fix bug in epoch switchover 2024-06-04 16:00:58 +02:00
mcamou 84ae5798a7 Address PR comments 2024-06-04 12:24:54 +02:00
mcamou 70eafb273e Add the solana_leader_slots_by_epoch metric 2024-05-30 18:51:11 +02:00