2021-05-28 18:39:55 +01:00
|
|
|
# Nimbus
|
|
|
|
# Copyright (c) 2018 Status Research & Development GmbH
|
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except
|
|
|
|
# according to those terms.
|
|
|
|
|
|
|
|
##
|
|
|
|
## EIP-225 Clique PoA Consensus Protocol
|
|
|
|
## =====================================
|
|
|
|
##
|
|
|
|
## For details see
|
|
|
|
## `EIP-225 <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-225.md>`_
|
|
|
|
## and
|
|
|
|
## `go-ethereum <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-225.md>`_
|
|
|
|
##
|
|
|
|
|
|
|
|
import
|
2021-07-06 14:14:45 +01:00
|
|
|
./clique/[clique_cfg, clique_defs, clique_desc, clique_miner],
|
|
|
|
chronicles
|
2021-06-14 19:33:57 +01:00
|
|
|
|
|
|
|
{.push raises: [Defect].}
|
2021-05-28 18:39:55 +01:00
|
|
|
|
|
|
|
logScope:
|
|
|
|
topics = "clique PoA"
|
|
|
|
|
2021-07-06 14:14:45 +01:00
|
|
|
export
|
|
|
|
clique_cfg,
|
|
|
|
clique_defs,
|
|
|
|
clique_desc,
|
|
|
|
clique_miner.snapshot
|
2021-06-11 18:26:08 +01:00
|
|
|
|
2021-05-28 18:39:55 +01:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# End
|
|
|
|
# ------------------------------------------------------------------------------
|