-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into v2.0-stable-merge
- Loading branch information
Showing
9 changed files
with
225 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use cfx_types::{SpaceMap, U256, U64}; | ||
use serde_derive::Serialize; | ||
|
||
#[derive(Default, Serialize)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct StatOnGasLoad { | ||
pub time_elapsed: U64, | ||
|
||
pub epoch_num: U64, | ||
pub total_block_num: U64, | ||
pub espace_block_num: U64, | ||
pub total_gas_limit: U256, | ||
pub espace_gas_limit: U256, | ||
|
||
pub skipped_tx_count: SpaceMap<U64>, | ||
pub confirmed_tx_count: SpaceMap<U64>, | ||
pub skipped_tx_gas_limit: SpaceMap<U256>, | ||
pub confirmed_tx_gas_limit: SpaceMap<U256>, | ||
pub tx_gas_charged: SpaceMap<U256>, | ||
} |
Oops, something went wrong.