Skip to content

Instantly share code, notes, and snippets.

Slot 246464020 root?: true
SlotMeta { slot: 246464020, consumed: 766, received: 766, first_shred_timestamp: 1707213172718, last_index: Some(765), parent_slot: Some(246464015), next_slots: [246464021], connected_flags: ConnectedFlags(CONNECTED | PARENT_CONNECTED), completed_data_indexes: {35, 71, 112, 149, 194, 231, 285, 330, 366, 416, 461, 508, 561, 614, 663, 703, 728, 764, 765} } is_full: true
Transactions: 1635, hashes: 4000000, block_hash: 8v83mYjKX4kcPciq713Nq8YnqnuoaB2PY1TiQ22FDKPA
Programs:
Vote111111111111111111111111111111111111111 : 1247
ComputeBudget111111111111111111111111111111 : 595
FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH: 427
PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY : 166
11111111111111111111111111111111 : 86
GDDMwNyyx8uB6zrqwBFHjLLG3TBYk2F8Az4yrQC5RzMp: 67
[2024-02-06T14:07:25.287908551Z INFO solana_ledger_tool] solana-ledger-tool 1.17.20 (src:09e0300b; feat:3580551090, client:SolanaLabs)
[2024-02-06T14:07:25.287957133Z INFO solana_core::system_monitor_service] Starting SystemMonitorService
[2024-02-06T14:07:25.288461146Z INFO solana_ledger_tool] genesis hash: 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d
[2024-02-06T14:07:25.288499238Z INFO solana_ledger::blockstore] Maximum open file descriptors: 1000000
[2024-02-06T14:07:25.288502113Z INFO solana_ledger::blockstore] Opening database at "/mnt/nvme1n1/ledger-feb-6-2024/rocksdb"
[2024-02-06T14:07:25.290912753Z INFO solana_ledger::blockstore_db] Opening Rocks with secondary (read only) access at: "/mnt/nvme1n1/ledger-feb-6-2024/rocksdb/solana-secondary"
[2024-02-06T14:07:25.290926859Z INFO solana_ledger::blockstore_db] This secondary access could temporarily degrade other accesses, such as by solana-validator
[2024-02-06T14:07:25.308808909Z INFO solana_ledger::blockstore_db] Rocks's automatic compactions
@sakridge
sakridge / gist:8d58301704c415c4820638aa117a8203
Created February 6, 2024 13:30
unrooted-slots feb2 outage
Slot 246464040 root?: false
SlotMeta { slot: 246464040, consumed: 0, received: 0, first_shred_timestamp: 0, last_index: None, parent_slot: None, next_slots: [246464041], connected_flags: ConnectedFlags(0x0), completed_data_indexes: {} } is_full: false
Transactions: 0, hashes: 0, block_hash: 11111111111111111111111111111111
Programs:
Slot 246464041 root?: false
SlotMeta { slot: 246464041, consumed: 743, received: 743, first_shred_timestamp: 1707220458987, last_index: Some(742), parent_slot: Some(246464040), next_slots: [246464042], connected_flags: ConnectedFlags(0x0), completed_data_indexes: {29, 65, 105, 155, 194, 230, 269, 313, 349, 395, 431, 482, 518, 570, 625, 660, 695, 730, 742} } is_full: true
Transactions: 1627, hashes: 800000, block_hash: FyFFuwbeN1LAgvqjctrQdgYYZzNbLbKmyS1nHHkXUhYq
Programs:
Vote111111111111111111111111111111111111111 : 1288
ComputeBudget111111111111111111111111111111 : 575
Slot 246464035 root?: true
SlotMeta { slot: 246464035, consumed: 29, received: 29, first_shred_timestamp: 1707213178488, last_index: Some(28), parent_slot: Some(246464034), next_slots: [246464036], connected_flags: ConnectedFlags(CONNECTED | PARENT_CONNECTED), completed_data_indexes: {22, 23, 24, 25, 26, 27, 28} } is_full: true
Entry 0 - num_hashes: 10881, hash: DvDzqrY6MVecNU4wnkTd34GH7eZWsi8aZXN461TxNRWV, transactions: 14
Transaction 0
Version: legacy
Recent Blockhash: D6Z9QKD54hyQpPsdZYH7rvMR8bNaM8hMzVDDajECFBoW
Signature 0: 3F4q4ePeuxRbDkJRNWQnofstQPvJKD9vrX2GUTGH2s284CsX3Hm56t6Ay8ZbR96MBZgCxDQ5NPyqUYeCWf2a6MfZ
Account 0: srw- D5H4rwivkWWTgJsTzB83JW977BRAEXHcG9Ap3EEE2TtA (fee payer)
Account 1: -rw- BiUtUB3x5BstspkenkWJTYBrC9sPE91ieJqrW76KSieP
Account 2: -r-x Vote111111111111111111111111111111111111111
@sakridge
sakridge / gist:494715c0c71e2c795bd925796cfaa23c
Last active September 20, 2022 17:17
private p2p network
getConfirmedBlock
getTokenAccountBalance
getAccountInfo
getProgramAccounts ┌────────────────────┐ ┌──────────────────┐
getAccount │ │ │ │
getBlock │ │ │ │
getAccount │ │ │ │
getBockTime │ │ │ SQL/kafka/DB │
┌──────►│ Geyser api │ │ │
│ │ adapter ├─────►│ │
getConfirmedBlock
getTokenAccountBalance
getAccountInfo
getProgramAccounts ┌────────────────────┐ ┌────────────────────────────────┐
getAccount │ │ │ │
getBlock │ │ │ │
getAccount │ │ │ │
getBockTime │ │ │ SQL/kafka/DB │
┌──────►│ SQL/kafka api │ │ │
│ │ adapter ├─────►│ │
688vLxT7Gsb4YX9YotViUauLC5aYbnjm1SQtaEQUKitf
7RUobwC33EbHaWWR2sbdaJhT8x8PpgUoAbJQYrQqrSgQ
J6zWiwZBuMreGBkKQ6eqkbdESgp7BjhjcHBdBfYMZ64a
GFZ3w5CU4Byjjo6BrQxVsiq9mumADrR58vH2TT2KxmFC
CxkCs6KjydWBdMcpffxrYAiZtXpkjBW7V2Xy7JkgmxVL
4Ge8T8WeH1fnv5SijRzPfC38jWnuBhiKe8iE9fsXbqLi
5cNEV9dx5Puuwp2GSZsUwUchCGfxchcxS6rNuD6yNGEh
A4Kh17xLBZmd3Kazu9aa2iEVa2hiMy4VTB7NfMAtmeac
HKu753Hd2F1nWLPvcNZHX6RAGSXkg6AtywiVvRqDXxcP
2CGskjnksG9YwAFMJkPDwsKx1iRAXJSzfpAxyoWzGj6M
FobjnCwQyc8iPtY8keBkHTMExFeDMziFEuaPDBNFWpdm, 144871250, 65542956294907, 0.0525404
Ge97QfuPHxT3hLVuej8dVR4BnNcQDc9U4SQkek5FKmtB, 144871249, 52593200815208, 0.0421597
7odF9faZtwCEATzPFjyFHCYQAgNdBxGzB5znqEVJzbVE, 144871249, 44992919054896, 0.0360671
NYhCWaPgyNe5Jm7oJzvd3U9gHRwmsSnnqoFxVL3Lfxq, 144871249, 29992971275067, 0.0240429
AjTrfjYY2SiTC5pLJXwNXpcP8q549YQ9VrPAxzjqjUaW, 144871249, 29993957577787, 0.0240437
EgLL4omqVVxgSCU7bAUP2XkiP5ER28j44D1BnvRSRrQp, 144871249, 29992979406587, 0.0240429
EMy77LFicKbtye9u2T4u7E5sAgPJFKpM6wLsmTAF2vbU, 144871249, 30103592705219, 0.0241316
6AsFiC2nani6FjHJ6UBGbqhhQc5iFrjHGcbUUHHXrVk2, 144871249, 29350947210880, 0.0235283
6ZHmHdYmKXyyCYNrbsx2d233H59ZL34Yryxqk5QvkKKX, 144871249, 29992979406587, 0.0240429
5DsrdX4xPok2YNHUEtQsRuyAkDcdSBPXM74ezfRgy8Vm, 144871249, 29822988833848, 0.0239066
@sakridge
sakridge / vote states
Created August 11, 2022 18:20
vote states
CY7gjryUPV6Pwbsn4aArkMBL7HSaRHB8sPZUvhw558Tm last vote slot: 35552668 stake: 1000000 % of stake: 0.0000000008016181445055191
J8vEDKnhxiAoMvduPbPydMWKHvVsJdgczrPqQUSRo3XD last vote slot: 46808718 stake: 1770940744320 % of stake: 0.001419618233491021
DmbaqhM39Uocffrfxi5HvXHZnkJhhkpC97wyoEpK1GDm last vote slot: 48001070 stake: 10995434240 % of stake: 0.000008814139593501252
76zcLjudqQoEKTvzy66d5udGzbhXRib5fvj4TA77UoFS last vote slot: 50438113 stake: 997717120 % of stake: 0.0000007997881464757903
DTYKyyUMB79FTJ7Ux84xekWP5yECkWG2WPFY6F5Gxva last vote slot: 50438114 stake: 497997717120 % of stake: 0.00039920400596571876
7WNCkbJTyjYXEuzBMa8nYhybaunf5xHYFGcn53SxUSmh last vote slot: 50438114 stake: 498997717120 % of stake: 0.00040000562411022427
vot33MHDqT6nSwubGzqtc6m16ChcUywxV7tNULF19Vu last vote slot: 51699331 stake: 4997717120 % of stake: 0.000004006260724497866
BrnegSsEA4zdMFPEoznzrwz5ka98PU9SjcF71YGkbM1q last vote slot: 51856699 stake: 94988302720 % of stake: 0.00007614434697613495
6Z3gtuwZyR5RVQMYMsRthngSPsXz2J
Summary of Programs:
Vote111111111111111111111111111111111111111 : 547783
JUP2jxvXaqu7NQY1GmNF4m1vodw12LVXYxbFL2uJvfo : 90754
mv3ekLzLbnVPNxjSKvqBpU3ZeZXPQdEC3bp5MDEBG68 : 64683
8EW7FMgPUf3Ux7JbtaYvSXct3yZGWALYGdxFvC4bf8zm: 41462
7T5zyFsWSCqXYhrowHqY6jcUvwZkPJ3xiEu5mgzU7VWt: 21434
9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin: 20232
9723cqpsBZN1sAP9QH9FoQBD93wgxRVqyfk7XPiEUU6k: 17800
So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo : 17771
FcfzrnurPFXwxbx332wScnD5P86DwhpLpBbQsnr6LcH5: 10048