Versions in this module Expand all Collapse all v1 v1.5.0 Jun 20, 2018 Changes in this version + const FailedOrderPrefix + const FailedRingPrefix + const OrderHashPrefix + const OwnerPrefix + const RingHashPrefix + const RinghashToUniqueIdPrefix + const Task_Balancer_Name + func AddFailedRingCache(uniqueId, txhash common.Hash, orderhashes []common.Hash) + func AddMinedRing(ringState *types.RingSubmitInfo) + func CacheRinghashToUniqueId(ringhash, uniqueId common.Hash) + func CachedMatchedRing(ringhash common.Hash) (bool, error) + func CachedRinghashes() ([]common.Hash, error) + func DealtAmount(orderhash common.Hash) (dealtAmountS, dealtAmountB *big.Rat, err error) + func FilledAmountS(owner, tokenS common.Address) (filledAmountS *big.Rat, err error) + func GetUniqueIdByRinghash(ringhash common.Hash) (common.Hash, error) + func OrderExecuteFailedCount(orderhash common.Hash) (int64, error) + func RemoveMinedRingAndReturnOrderhashes(ringhash common.Hash) ([]common.Hash, error) + func RingExecuteFailedCount(uniqueId common.Hash) (int64, error) + type CandidateRing struct + type CandidateRingList []CandidateRing + func (ringList CandidateRingList) Len() int + func (ringList CandidateRingList) Less(i, j int) bool + func (ringList CandidateRingList) Swap(i, j int) + type ClusterNode struct + type Market struct + AtoBOrders *OrdersState + BtoAOrders *OrdersState + TokenA common.Address + TokenB common.Address + func NewMarket(protocolAddress *loopringaccessor.ProtocolAddress, ...) *Market + func (market *Market) GenerateCandidateRing(orders ...*types.OrderState) (*CandidateRing, error) + type Markets []*Market + type NodeInterface interface + type OrderHashes []common.Hash + func (hashes OrderHashes) AddHash(hash1 common.Hash) + type OrderMatchedState struct + FilledAmountB *types.Rat + FilledAmountS *types.Rat + type OrdersState struct + OrderHashesExcludeNextRound OrderHashes + Orders map[common.Hash]*types.OrderState + type SingleNode struct + type TimingMatcher struct + func NewTimingMatcher(matcherOptions *config.TimingMatcher, submitter *miner.RingSubmitter, ...) *TimingMatcher + func (matcher *TimingMatcher) GetAccountAvailableAmount(address, tokenAddress, spender common.Address) (*big.Rat, error) + func (matcher *TimingMatcher) Start() + func (matcher *TimingMatcher) Stop()