Include post balance information for rewards (#12598)

* Include post balance information for rewards

* Add post-balance to stored Reward struct

* Handle extended Reward in bigtable

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
Tyera Eulberg
2020-09-30 17:57:06 -06:00
committed by GitHub
parent 18074555fe
commit c31a34fbcb
7 changed files with 74 additions and 13 deletions

View File

@ -87,6 +87,8 @@ pub struct Reward {
pub pubkey: std::string::String,
#[prost(int64, tag = "2")]
pub lamports: i64,
#[prost(uint64, tag = "3")]
pub post_balance: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UnixTimestamp {