func NewMempool(blockchain *Blockchain) *Mempool {
	m := &Mempool{
		AttestationMempool: newAttestationMempool(blockchain),
		blockchain:         blockchain,
	}

	blockchain.RegisterNotifee(m)

	return m
}
// NewMempool creates a new mempool.
NewMempool creates a new mempool.
// NewMempool creates a new mempool .
func NewMempool(blockchain *Blockchain) *Mempool {
	m := &Mempool{
		AttestationMempool: newAttestationMempool(blockchain),
		blockchain:         blockchain,
	}
	blockchain.RegisterNotifee(m)
	return m
}
func NewMempool ( blockchain * Blockchain ) * Mempool { m := & Mempool { AttestationMempool : newAttestationMempool ( blockchain ) , blockchain : blockchain , } blockchain . RegisterNotifee ( m ) return m }
NewMempool creates a new mempool.
NewMempool creates a new mempool .