mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-18 17:37:33 +00:00
comment out aggregated sig + make SSZ compile again
This commit is contained in:
parent
7a226b0be6
commit
dab75a76a2
@ -28,7 +28,7 @@ type
|
|||||||
# Alias
|
# Alias
|
||||||
BLSPublicKey* = VerKey
|
BLSPublicKey* = VerKey
|
||||||
BLSsig* = Signature
|
BLSsig* = Signature
|
||||||
BLSaggregateSig* = AggregatedSignature
|
# BLSaggregateSig* = AggregatedSignature
|
||||||
Blake2_256_Digest* = Hash256 # TODO change to Blake2b-512[0 ..< 32] see https://github.com/status-im/nim-beacon-chain/issues/3
|
Blake2_256_Digest* = Hash256 # TODO change to Blake2b-512[0 ..< 32] see https://github.com/status-im/nim-beacon-chain/issues/3
|
||||||
Uint24* = range[0'u32 .. 0xFFFFFF'u32] # TODO: wrap-around
|
Uint24* = range[0'u32 .. 0xFFFFFF'u32] # TODO: wrap-around
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ type
|
|||||||
attester_bitfield*: IntSet # Who is participating
|
attester_bitfield*: IntSet # Who is participating
|
||||||
justified_slot*: int64
|
justified_slot*: int64
|
||||||
justified_block_hash: Blake2_256_Digest
|
justified_block_hash: Blake2_256_Digest
|
||||||
aggregate_sig*: BLSaggregateSig # The actual signature
|
# aggregate_sig*: BLSaggregateSig # The actual signature
|
||||||
|
|
||||||
ValidatorStatusCodes* {.pure.} = enum
|
ValidatorStatusCodes* {.pure.} = enum
|
||||||
PendingActivation = 0
|
PendingActivation = 0
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# See https://github.com/ethereum/beacon_chain/issues/100
|
# See https://github.com/ethereum/beacon_chain/issues/100
|
||||||
# and https://github.com/ethereum/beacon_chain/tree/master/ssz
|
# and https://github.com/ethereum/beacon_chain/tree/master/ssz
|
||||||
|
|
||||||
import ./datatypes, eth_common, endians, typetraits, options
|
import ./datatypes, eth_common, endians, typetraits, options, nimcrypto
|
||||||
|
|
||||||
# ################### Helper functions ###################################
|
# ################### Helper functions ###################################
|
||||||
func `+`[T](p: ptr T, offset: int): ptr T {.inline.}=
|
func `+`[T](p: ptr T, offset: int): ptr T {.inline.}=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user