From a96fc7a942fb6f0a9da5b5bf9c84a98af42a24dc Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 26 Sep 2019 16:16:56 -0400 Subject: remove 1s limit from block generation; more API --- params/protocol_params.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 params/protocol_params.go (limited to 'params') diff --git a/params/protocol_params.go b/params/protocol_params.go new file mode 100644 index 0000000..c738450 --- /dev/null +++ b/params/protocol_params.go @@ -0,0 +1,23 @@ +// Copyright 2015 The go-ethereum Authors +// This file is part of the go-ethereum library. +// +// The go-ethereum library is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// The go-ethereum library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with the go-ethereum library. If not, see . + +package params + +//import "math/big" + +const ( + MaximumExtraDataSize uint64 = 64 // Maximum size extra data may be after Genesis. +) -- cgit v1.2.3-70-g09d2