Add MaxTime field support from BIP0023 mutations.

This commit is contained in:
Dave Collins 2014-06-30 10:37:34 -05:00
parent e2e688e3d6
commit 2d32ed6ba7

View file

@ -115,6 +115,7 @@ type GetBlockTemplateResult struct {
Expires int64 `json:"expires,omitempty"` Expires int64 `json:"expires,omitempty"`
// Mutations from BIP 0023. // Mutations from BIP 0023.
MaxTime int64 `json:"maxtime,omitempty"`
MinTime int64 `json:"mintime,omitempty"` MinTime int64 `json:"mintime,omitempty"`
Mutable []string `json:"mutable,omitempty"` Mutable []string `json:"mutable,omitempty"`
NonceRange string `json:"noncerange,omitempty"` NonceRange string `json:"noncerange,omitempty"`