Example account data as a Pod
#[derive(Clone, Copy, Pod, Zeroable)]
#[repr(C)]
pub struct ImmaPod{
pub pubkey: PodPubkey,
pub boolean: PodBool,
pub number: PodU64,
pub somebytes: [u8;256],
}
Example account data as a Pod
#[derive(Clone, Copy, Pod, Zeroable)]
#[repr(C)]
pub struct ImmaPod{
pub pubkey: PodPubkey,
pub boolean: PodBool,
pub number: PodU64,
pub somebytes: [u8;256],
}
12NG4Y7LGq8VQgtDZxn82ok4eGUEqmhzKh3wZtsakjLN | |
1wTHJ3bdwdZvHKwhUz6L358VrS9K5261HLWYXn5mA6n | |
2C26iHJcU5dqJJQ6NME3Lq583RT1Js9QDtgfmzknRajc | |
2CGskjnksG9YwAFMJkPDwsKx1iRAXJSzfpAxyoWzGj6M | |
2EiUD4EMnv7sJxZfzb1Zc8Cbi2z9SG9Amd3qEcg59wZg | |
2X5JSTLN9m2wm3ejCxfWRNMieuC2VMtaMWSoqLPbC4Pq | |
2Yb45xqzeS6kZbBcfo3mRSExnptPshxqTnyA3WW5oaLs | |
2ZuLSKq6t5nqRLp3GqtRSttu7FE9if2nrMegHLnp5skK | |
2bvUqyatpaDLn9ch9BxNYRwg5SFpq3rDfWJKfohC9iD4 | |
2cLXV7SvBA5yKHQxvrqDk2x1JYyqaitTW1iKyMmPRsfk |
sol@asteroids:~$ ./solana-ledger-tool -l ledger slot 50438184 | |
[2020-12-02T07:15:21.796378852Z INFO solana_ledger_tool] solana-ledger-tool 1.4.14 (src:devbuild; feat:569138916) | |
[2020-12-02T07:15:21.796963392Z INFO solana_ledger::blockstore] Maximum open file descriptors: 500000 | |
[2020-12-02T07:15:21.796973391Z INFO solana_ledger::blockstore] Opening database at "/home/sol/ledger/rocksdb" | |
[2020-12-02T07:15:27.876712658Z INFO solana_ledger::blockstore] "/home/sol/ledger/rocksdb" open took 6.1s | |
Slot 50438184 | |
Slot Meta SlotMeta { slot: 50438184, consumed: 2211, received: 2211, first_shred_timestamp: 1606874662614, last_index: 2210, parent_slot: 50438183, next_slots: [50438185], is_connected: false, completed_data_indexes: [0, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1 |
From 2f4e116592e39d9597a5abcf7b628b62a4d6c59f Mon Sep 17 00:00:00 2001 | |
From: Michael Vines <[email protected]> | |
Date: Mon, 28 Sep 2020 11:47:38 -0700 | |
Subject: [PATCH] wip | |
--- | |
sdk/src/pubkey.rs | 34 +++++++++++++++++++--------------- | |
1 file changed, 19 insertions(+), 15 deletions(-) | |
diff --git a/sdk/src/pubkey.rs b/sdk/src/pubkey.rs |
message | |
[2020-06-16T19:57:16.323248004Z INFO solana_metrics::metrics] datapoint: poh-service ticks=128i hashes=1599872i elapsed_ms=590i | |
[2020-06-16T19:57:16.351748355Z INFO solana_metrics::metrics] datapoint: cluster_info_stats entrypoint=0i entrypoint2=0i push_vote_read=0i vote_process_push=0i get_votes=2979i get_accounts_hash=0i all_tvu_peers=0i tvu_peers=664i new_push_requests_num=703i | |
[2020-06-16T19:57:16.351768982Z INFO solana_metrics::metrics] datapoint: cluster_info_stats2 retransmit_peers=0i repair_peers=871i new_push_requests=1453i new_push_requests2=0i purge=36600i process_pull_resp=8231i filter_pull_resp=2279i process_pull_resp_count=13i pull_response_fail_insert=114i pull_response_fail_timeout=149i pull_response_success=173i process_pull_resp_timeout=149i push_response_count=3i | |
[2020-06-16T19:57:16.351783404Z INFO solana_metrics::metrics] datapoint: cluster_info_stats4 skip_push_message_shred_version=0i skip_pull_response_shred_version=0i skip_pull_shred_version=0i push_message_count=131i push |
[ | |
{ | |
"lamports": 1339762034824719, | |
"pubkey": "3qVBmVAcnjiaiQb45gCR6FY7kxcuBEBG9Up87n8uyhK7" | |
}, | |
{ | |
"lamports": 1365135336727742, | |
"pubkey": "Ft7UA1oJ9sDvJuyUWDRHtJgrgdgXZwdpBmQXjKDccZxb" | |
}, | |
{ |
use solana_ledger::shred::*; | |
use solana_sdk::signature::Signature; | |
let slot4401270_leader_identity_pubkey = &"Ev8D9dwYdfebkdLgAjwiJtCkqS882Uvrit5qN6NTeHMy" | |
.parse::<Pubkey>() | |
.unwrap(); | |
let shreds = [ | |
// Good shred 6 | |
[ |
From 9f0b2ad5076ee0ee12a6244225bac680ea1a18f1 Mon Sep 17 00:00:00 2001 | |
From: Michael Vines <[email protected]> | |
Date: Thu, 5 Mar 2020 15:28:09 -0700 | |
Subject: [PATCH] FeeCalculator snapshot rewrite | |
--- | |
ledger/src/snapshot_utils.rs | 6 ++++++ | |
runtime/src/bank.rs | 5 +++-- | |
sdk/src/fee_calculator.rs | 32 +++++++++++++++++++++++--------- | |
3 files changed, 32 insertions(+), 11 deletions(-) |
--- | |
CxzwTvRCvSNCAYhciargRq1wSSUHWt64cPU7feSSWZLz: | |
- lamports: 27714720 | |
- owner: 'Vote111111111111111111111111111111111111111' | |
- executable: false | |
- data: '3C5PKbZCiS6FMo3cx7hrnQCb6S3tLN27mx9Ywow9EMQuQW4TeJPcX3afz1rrG83ofgWuj1NymvLwyWckdQS1Br9wyqtum957dFXsD9GDQF2s3Mk4kVbrC3fcaDuB8awUKq4Tmi9MYfKm1TvNaPwfpL7AjkgszzYrLRaUhx8FNZzgLRCf4En4gEN34w24XgonMqYdq96dHc6G7CAhcY9cXm3Y1fw1Vbm3EfrDmp2riWtg2zjSDJa8reuWEwXoWbgXRxucoNF8ERFSeuNXaec8TAeHse3saXk28yCtxMRnXdCHeQjLMZ23QiPV8jCDg5gYxEEMrApPwWKVpNGj617XWCfL4n5N1SoUJ6YqybEuW3MGLBHvMA1xv7ajV4MoN5Yorv785aheqgigRYMKkZZnuH2Aakgvqwe2LfpprXuxGDkKmmZzQcgpBxm9T9wGMcxLtfwH6pyaRySTUTk8r6V4AazVbW7Sgzf2HAGgPB9HYwAcgTx7GHFgYLtBaMLoLV8XLPht33Qfp2NV5fEDNVNnYVx8UdEgLePrh9djM3JAHwLRJPSkbZXuGCE69DkDqtW7svk4AXfizo12WMsrdJNdqdTHmii28yC78sr6zF4k1LeoTtQJXFyfSMy6t8jvPsmuaCm7QYNqs5Ey6kRi15fVQzXKKVJYf7s8BKnQFTDYeDH9wGnP7KFarPgMLx5sibwVYyS6XDuAwjmjoAhVKTPqpx98SNK6ufheibAo7w25J6Ki42YVNmF7h7ChQEQWifSDMmmd3LVRzxBhkxJqp94wS9qPYtionfyh7ct1WQFni7US7xShd8TRbfYRDgLGxk3MarzBu1jMbRACBtPYJefvNPmjUhYsE |
[2020-01-29T00:08:56.186968315Z INFO solana_core::replay_stage] vote bank: Some(1031280) reset bank: 1031280 | |
[2020-01-29T00:08:56.187006657Z INFO solana_core::replay_stage] new fork:1031281 parent:1031280 (leader) root:1031271 | |
[2020-01-29T00:08:56.416855574Z INFO solana_core::poh_recorder] poh_record: max_tick_height 66002048 reached, clearing working_bank 1031281 | |
[2020-01-29T00:08:56.417832835Z INFO solana_runtime::bank] bank frozen: 1031281 hash: iABt4wQH4iddkMqnCr6kJcyh5q716FFHMqzjGXF7czp accounts_delta: BankHash bb93496ad824018014b78831c37987c2a7bf5ef316a67873e3c609c5c8ba8f4d signature_count: 2 last_blockhash: 2cZfuGbAiVmusF2qZdc3hRJgGczun1pu6NUdy5iooLLo | |
[2020-01-29T00:08:56.417873592Z INFO solana_runtime::bank] accounts hash slot: 1031281 stats: BankHashStats { num_removed_accounts: 2, num_added_accounts: 0, num_lamports_stored: 1015298080, total_data_len: 2070, num_executable_accounts: 0 } | |
[2020-01-29T00:08:56.417945006Z INFO solana_metrics::metrics] datapoint: replay-slot-stats slot=1031281i fetc |