-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from ElrondNetwork/feat/covalent
Feat/covalent
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package api | ||
|
||
import ( | ||
"time" | ||
|
||
"github.com/ElrondNetwork/elrond-go-core/data/transaction" | ||
) | ||
|
||
// Hyperblock contains all fully executed (both in source and in destination shards) transactions notarized in a given metablock | ||
type Hyperblock struct { | ||
Hash string `json:"hash"` | ||
PrevBlockHash string `json:"prevBlockHash"` | ||
StateRootHash string `json:"stateRootHash"` | ||
Nonce uint64 `json:"nonce"` | ||
Round uint64 `json:"round"` | ||
Epoch uint32 `json:"epoch"` | ||
NumTxs uint32 `json:"numTxs"` | ||
AccumulatedFees string `json:"accumulatedFees,omitempty"` | ||
DeveloperFees string `json:"developerFees,omitempty"` | ||
AccumulatedFeesInEpoch string `json:"accumulatedFeesInEpoch,omitempty"` | ||
DeveloperFeesInEpoch string `json:"developerFeesInEpoch,omitempty"` | ||
Timestamp time.Duration `json:"timestamp,omitempty"` | ||
EpochStartInfo *EpochStartInfo `json:"epochStartInfo,omitempty"` | ||
EpochStartShardsData []*EpochStartShardData `json:"epochStartShardsData,omitempty"` | ||
ShardBlocks []*NotarizedBlock `json:"shardBlocks"` | ||
Transactions []*transaction.ApiTransactionResult `json:"transactions"` | ||
Status string `json:"status,omitempty"` | ||
} |
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