nimbus-eth1/nimbus/p2p/clique.nim

44 lines
1.2 KiB
Nim

# 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
./clique/[clique_cfg,
clique_defs,
clique_desc,
clique_miner,
clique_signers,
clique_snapshot,
snapshot/snapshot_desc]
{.push raises: [Defect].}
export
clique_cfg,
clique_defs,
clique_desc,
clique_miner,
clique_signers,
clique_snapshot,
snapshot_desc.Snapshot
# ------------------------------------------------------------------------------
# End
# ------------------------------------------------------------------------------