Optimizing blockchain reactor.

Should be paired with https://github.com/tendermint/iavl/pull/65.
This commit is contained in:
Jae Kwon
2018-06-21 01:57:35 -07:00
parent f62d6651e3
commit 8128627f08
8 changed files with 102 additions and 96 deletions

View File

@ -9,7 +9,7 @@ import (
// Canonical json is amino's json for structs with fields in alphabetical order
// TimeFormat is used for generating the sigs
const TimeFormat = "2006-01-02T15:04:05.000Z"
const TimeFormat = time.RFC3339Nano
type CanonicalJSONBlockID struct {
Hash cmn.HexBytes `json:"hash,omitempty"`