comment out aggregated sig + make SSZ compile again

This commit is contained in:
mratsim 2018-11-12 09:46:16 +01:00
parent 7a226b0be6
commit dab75a76a2
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ type
# Alias
BLSPublicKey* = VerKey
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
Uint24* = range[0'u32 .. 0xFFFFFF'u32] # TODO: wrap-around
@ -96,7 +96,7 @@ type
attester_bitfield*: IntSet # Who is participating
justified_slot*: int64
justified_block_hash: Blake2_256_Digest
aggregate_sig*: BLSaggregateSig # The actual signature
# aggregate_sig*: BLSaggregateSig # The actual signature
ValidatorStatusCodes* {.pure.} = enum
PendingActivation = 0

View File

@ -9,7 +9,7 @@
# See https://github.com/ethereum/beacon_chain/issues/100
# 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 ###################################
func `+`[T](p: ptr T, offset: int): ptr T {.inline.}=