Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768) (#12790)

* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli

(cherry picked from commit c5c8da1ac0)

# Conflicts:
#	Cargo.lock
#	transaction-status/Cargo.toml

* fix: surface full block rewards type

(cherry picked from commit 1b16790325)

* resolve conflicts

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-10 06:11:42 +00:00
committed by GitHub
parent e999823b4b
commit 3fef98fd1e
14 changed files with 243 additions and 75 deletions

View File

@@ -222,6 +222,7 @@ impl From<StoredConfirmedBlockReward> for Reward {
pubkey,
lamports,
post_balance: 0,
reward_type: None,
}
}
}