Versions in this module Expand all Collapse all v0 v0.7.1 Sep 14, 2022 v0.7.0 Jul 8, 2022 Changes in this version + var ErrFieldLength = errors.New("field length error") + var ErrNoDeductionHeader = errors.New("no deduction header") + var ErrNoExchangeHeader = errors.New("no exchange header") + func MakeSettlementHeaders(exchangeRate, deduction *big.Int) p2p.Headers + func ParseDeductionHeader(receivedHeaders p2p.Headers) (*big.Int, error) + func ParseExchangeHeader(receivedHeaders p2p.Headers) (*big.Int, error) + func ParseSettlementResponseHeaders(receivedHeaders p2p.Headers) (exchange, deduction *big.Int, err error)