Convert Blockstore Rewards cf to protobuf (#12860)
* Add Blockstore protobuf cf type * Add Rewards message to proto and make generated pub * Convert Rewards cf to ProtobufColumn * Add bench * Adjust tags * Move solana proto definitions and conversion methods to new crate
This commit is contained in:
@@ -240,9 +240,7 @@ pub struct ConfirmedTransactionStatusWithSignature {
|
||||
pub struct Reward {
|
||||
pub pubkey: String,
|
||||
pub lamports: i64,
|
||||
#[serde(deserialize_with = "default_on_eof")]
|
||||
pub post_balance: u64, // Account balance in lamports after `lamports` was applied
|
||||
#[serde(default, deserialize_with = "default_on_eof")]
|
||||
pub reward_type: Option<RewardType>,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user