You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://jira.hyperledger.org/browse/FAB-1523
This changeset adds new data types for Metadata and for
LastConfiguration which is the second field of the block metadata.
The Metadata type is intended to accomodate the other metadata fields as
well, but is currently only utilized for the LastConfiguration.
This changeset also populates the LastConfiguration field of the block
metadata with this new data structure.
Change-Id: I36e72f4c27b67dd7455aae2f423b4b14e54f9413
Signed-off-by: Jason Yellick <[email protected]>
// Handler provides a hook which allows other pieces of code to participate in config proposals
@@ -52,6 +52,9 @@ type Manager interface {
52
52
53
53
// ChainID retrieves the chain ID associated with this manager
54
54
ChainID() string
55
+
56
+
// Sequence returns the current sequence number of the configuration
57
+
Sequence() uint64
55
58
}
56
59
57
60
// DefaultModificationPolicyID is the ID of the policy used when no other policy can be resolved, for instance when attempting to create a new config item
0 commit comments