mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 11:56:46 +01:00
Add Sync stats, and report them in DebugAPI
This commit is contained in:
@@ -163,3 +163,9 @@ type RollupVariables struct {
|
||||
WithdrawalDelay uint64 `json:"withdrawalDelay" meddler:"withdrawal_delay" validate:"required"`
|
||||
Buckets [RollupConstNumBuckets]Bucket `json:"buckets" meddler:"buckets,json"`
|
||||
}
|
||||
|
||||
// Copy returns a deep copy of the Variables
|
||||
func (v *RollupVariables) Copy() *RollupVariables {
|
||||
vCpy := *v
|
||||
return &vCpy
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user