From 2f69778b672cc13033798b536784eac4231688f2 Mon Sep 17 00:00:00 2001 From: Alexander Sporn Date: Tue, 5 Dec 2023 16:54:42 +0100 Subject: [PATCH 1/5] Added missing workerpools to hooks in INX --- components/inx/server_commitments.go | 3 ++- components/inx/server_utxo.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/inx/server_commitments.go b/components/inx/server_commitments.go index 1e8fc3961..fafb7445e 100644 --- a/components/inx/server_commitments.go +++ b/components/inx/server_commitments.go @@ -8,6 +8,7 @@ import ( "github.com/iotaledger/hive.go/ierrors" "github.com/iotaledger/hive.go/kvstore" + "github.com/iotaledger/hive.go/runtime/event" "github.com/iotaledger/hive.go/runtime/workerpool" inx "github.com/iotaledger/inx/go" "github.com/iotaledger/iota-core/pkg/model" @@ -142,7 +143,7 @@ func (s *Server) ListenToCommitments(req *inx.SlotRangeRequest, srv inx.INX_List case done: cancel() } - }).Unhook + }, event.WithWorkerPool(wp)).Unhook <-ctx.Done() unhook() diff --git a/components/inx/server_utxo.go b/components/inx/server_utxo.go index fd815e01a..8724f5f90 100644 --- a/components/inx/server_utxo.go +++ b/components/inx/server_utxo.go @@ -346,7 +346,7 @@ func (s *Server) ListenToLedgerUpdates(req *inx.SlotRangeRequest, srv inx.INX_Li case done: cancel() } - }).Unhook + }, event.WithWorkerPool(wp)).Unhook <-ctx.Done() unhook() From 018698c358482be3a68251de2cf8ced75f00dc04 Mon Sep 17 00:00:00 2001 From: Alexander Sporn Date: Tue, 5 Dec 2023 16:56:34 +0100 Subject: [PATCH 2/5] Reduce contention in Settings since the TypedValue already locks inside --- pkg/storage/permanent/settings.go | 40 +++++++------------------------ 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/pkg/storage/permanent/settings.go b/pkg/storage/permanent/settings.go index a9bf979b2..96c89497b 100644 --- a/pkg/storage/permanent/settings.go +++ b/pkg/storage/permanent/settings.go @@ -30,13 +30,14 @@ const ( ) type Settings struct { - mutex syncutils.RWMutex store kvstore.KVStore storeSnapshotImported *kvstore.TypedValue[bool] storeLatestCommitment *kvstore.TypedValue[*model.Commitment] storeLatestFinalizedSlot *kvstore.TypedValue[iotago.SlotIndex] storeLatestProcessedSlot *kvstore.TypedValue[iotago.SlotIndex] storeLatestIssuedValidationBlock *kvstore.TypedValue[*model.Block] + + mutex syncutils.RWMutex storeProtocolVersionEpochMapping *kvstore.TypedStore[iotago.Version, iotago.EpochIndex] storeFutureProtocolParameters *kvstore.TypedStore[iotago.Version, *types.Tuple[iotago.EpochIndex, iotago.Identifier]] storeProtocolParameters *kvstore.TypedStore[iotago.Version, iotago.ProtocolParameters] @@ -235,30 +236,18 @@ func (s *Settings) StoreFutureProtocolParametersHash(version iotago.Version, has } func (s *Settings) IsSnapshotImported() bool { - s.mutex.RLock() - defer s.mutex.RUnlock() - return lo.PanicOnErr(s.storeSnapshotImported.Has()) } func (s *Settings) SetSnapshotImported() (err error) { - s.mutex.Lock() - defer s.mutex.Unlock() - return s.storeSnapshotImported.Set(true) } func (s *Settings) LatestCommitment() *model.Commitment { - s.mutex.RLock() - defer s.mutex.RUnlock() - return s.latestCommitment() } func (s *Settings) SetLatestCommitment(latestCommitment *model.Commitment) (err error) { - s.mutex.Lock() - defer s.mutex.Unlock() - s.apiProvider.SetCommittedSlot(latestCommitment.Slot()) // Delete the old future protocol parameters if they exist. @@ -280,13 +269,6 @@ func (s *Settings) latestCommitment() *model.Commitment { return commitment } -func (s *Settings) LatestFinalizedSlot() iotago.SlotIndex { - s.mutex.RLock() - defer s.mutex.RUnlock() - - return s.latestFinalizedSlot() -} - func (s *Settings) SetLatestFinalizedSlot(slot iotago.SlotIndex) (err error) { s.mutex.Lock() defer s.mutex.Unlock() @@ -294,7 +276,7 @@ func (s *Settings) SetLatestFinalizedSlot(slot iotago.SlotIndex) (err error) { return s.storeLatestFinalizedSlot.Set(slot) } -func (s *Settings) latestFinalizedSlot() iotago.SlotIndex { +func (s *Settings) LatestFinalizedSlot() iotago.SlotIndex { latestFinalizedSlot, err := s.storeLatestFinalizedSlot.Get() if err != nil { if ierrors.Is(err, kvstore.ErrKeyNotFound) { @@ -307,22 +289,19 @@ func (s *Settings) latestFinalizedSlot() iotago.SlotIndex { } func (s *Settings) LatestStoredSlot() iotago.SlotIndex { - s.mutex.RLock() - defer s.mutex.RUnlock() - return read(s.storeLatestProcessedSlot) } func (s *Settings) SetLatestStoredSlot(slot iotago.SlotIndex) (err error) { - s.mutex.Lock() - defer s.mutex.Unlock() - return s.storeLatestProcessedSlot.Set(slot) } func (s *Settings) AdvanceLatestStoredSlot(slot iotago.SlotIndex) (err error) { - s.mutex.Lock() - defer s.mutex.Unlock() + // We don't need to advance the latest stored slot if it's already ahead of the given slot. + // We check this before Compute to avoid contention inside the TypedValue. + if s.LatestStoredSlot() >= slot { + return nil + } if _, err = s.storeLatestProcessedSlot.Compute(func(latestStoredSlot iotago.SlotIndex, _ bool) (newValue iotago.SlotIndex, err error) { if latestStoredSlot >= slot { @@ -338,9 +317,6 @@ func (s *Settings) AdvanceLatestStoredSlot(slot iotago.SlotIndex) (err error) { } func (s *Settings) LatestIssuedValidationBlock() *model.Block { - s.mutex.RLock() - defer s.mutex.RUnlock() - return read(s.storeLatestIssuedValidationBlock) } From 782544445a02081cf76b323f8073368e3643696f Mon Sep 17 00:00:00 2001 From: Piotr Macek <4007944+piotrm50@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:13:03 +0100 Subject: [PATCH 3/5] Remove lock for reading scheduler metrics. --- .../scheduler/drr/drrbuffer.go | 16 +++++++++------- .../scheduler/drr/scheduler.go | 19 ++----------------- .../scheduler/drr/validatorqueue.go | 10 +++++----- 3 files changed, 16 insertions(+), 29 deletions(-) diff --git a/pkg/protocol/engine/congestioncontrol/scheduler/drr/drrbuffer.go b/pkg/protocol/engine/congestioncontrol/scheduler/drr/drrbuffer.go index 40207e998..9bdafe155 100644 --- a/pkg/protocol/engine/congestioncontrol/scheduler/drr/drrbuffer.go +++ b/pkg/protocol/engine/congestioncontrol/scheduler/drr/drrbuffer.go @@ -5,6 +5,8 @@ import ( "math" "time" + "go.uber.org/atomic" + "github.com/iotaledger/hive.go/ds/shrinkingmap" "github.com/iotaledger/hive.go/lo" "github.com/iotaledger/iota-core/pkg/protocol/engine/blocks" @@ -19,7 +21,7 @@ type BufferQueue struct { activeIssuers *shrinkingmap.ShrinkingMap[iotago.AccountID, *ring.Ring] ring *ring.Ring // size is the number of blocks in the buffer. - size int + size atomic.Int64 tokenBucket float64 lastScheduleTime time.Time @@ -57,7 +59,7 @@ func (b *BufferQueue) Clear() { // Size returns the total number of blocks in BufferQueue. func (b *BufferQueue) Size() int { - return b.size + return int(b.size.Load()) } // IssuerQueue returns the queue for the corresponding issuer. @@ -125,7 +127,7 @@ func (b *BufferQueue) RemoveIssuerQueue(issuerID iotago.AccountID) { if !isIQ { panic("buffer contains elements that are not issuer queues") } - b.size -= issuerQueue.Size() + b.size.Sub(int64(issuerQueue.Size())) b.ringRemove(element) b.activeIssuers.Delete(issuerID) @@ -156,7 +158,7 @@ func (b *BufferQueue) Submit(blk *blocks.Block, issuerQueue *IssuerQueue, quantu return nil, false } - b.size++ + b.size.Inc() // if max buffer size exceeded, drop from tail of the longest mana-scaled queue if b.Size() > maxBuffer { @@ -180,7 +182,7 @@ func (b *BufferQueue) Unsubmit(block *blocks.Block) bool { return false } - b.size-- + b.size.Dec() return true } @@ -268,7 +270,7 @@ func (b *BufferQueue) PopFront() *blocks.Block { } - b.size-- + b.size.Dec() return block } @@ -298,7 +300,7 @@ func (b *BufferQueue) dropTail(quantumFunc func(iotago.AccountID) Deficit, maxBu maxIssuerID := b.longestQueueIssuerID(quantumFunc) if longestQueue := b.IssuerQueue(maxIssuerID); longestQueue != nil { if tail := longestQueue.RemoveTail(); tail != nil { - b.size-- + b.size.Dec() droppedBlocks = append(droppedBlocks, tail) } } diff --git a/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go b/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go index 3bc5ac351..cb9a1da1c 100644 --- a/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go +++ b/pkg/protocol/engine/congestioncontrol/scheduler/drr/scheduler.go @@ -171,25 +171,16 @@ func (s *Scheduler) Start() { // IssuerQueueBlockCount returns the number of blocks in the queue of the given issuer. func (s *Scheduler) IssuerQueueBlockCount(issuerID iotago.AccountID) int { - s.bufferMutex.RLock() - defer s.bufferMutex.RUnlock() - return s.basicBuffer.IssuerQueueBlockCount(issuerID) } // IssuerQueueWork returns the queue size of the given issuer in work units. func (s *Scheduler) IssuerQueueWork(issuerID iotago.AccountID) iotago.WorkScore { - s.bufferMutex.RLock() - defer s.bufferMutex.RUnlock() - return s.basicBuffer.IssuerQueueWork(issuerID) } // ValidatorQueueBlockCount returns the number of validation blocks in the validator queue of the given issuer. func (s *Scheduler) ValidatorQueueBlockCount(issuerID iotago.AccountID) int { - s.bufferMutex.RLock() - defer s.bufferMutex.RUnlock() - validatorQueue, exists := s.validatorBuffer.Get(issuerID) if !exists { return 0 @@ -198,18 +189,12 @@ func (s *Scheduler) ValidatorQueueBlockCount(issuerID iotago.AccountID) int { return validatorQueue.Size() } -// BufferSize returns the current buffer size of the Scheduler as block count. +// BasicBufferSize returns the current buffer size of the Scheduler as block count. func (s *Scheduler) BasicBufferSize() int { - s.bufferMutex.RLock() - defer s.bufferMutex.RUnlock() - return s.basicBuffer.Size() } func (s *Scheduler) ValidatorBufferSize() int { - s.bufferMutex.RLock() - defer s.bufferMutex.RUnlock() - return s.validatorBuffer.Size() } @@ -418,7 +403,7 @@ func (s *Scheduler) selectBlockToScheduleWithLocking() { s.validatorBuffer.buffer.ForEach(func(accountID iotago.AccountID, validatorQueue *ValidatorQueue) bool { if s.selectValidationBlockWithoutLocking(validatorQueue) { - s.validatorBuffer.size-- + s.validatorBuffer.size.Dec() } return true diff --git a/pkg/protocol/engine/congestioncontrol/scheduler/drr/validatorqueue.go b/pkg/protocol/engine/congestioncontrol/scheduler/drr/validatorqueue.go index 56542a0c8..f327ae556 100644 --- a/pkg/protocol/engine/congestioncontrol/scheduler/drr/validatorqueue.go +++ b/pkg/protocol/engine/congestioncontrol/scheduler/drr/validatorqueue.go @@ -176,7 +176,7 @@ func (q *ValidatorQueue) deductTokens(tokens float64) { type ValidatorBuffer struct { buffer *shrinkingmap.ShrinkingMap[iotago.AccountID, *ValidatorQueue] - size int + size atomic.Int64 } func NewValidatorBuffer() *ValidatorBuffer { @@ -190,7 +190,7 @@ func (b *ValidatorBuffer) Size() int { return 0 } - return b.size + return int(b.size.Load()) } func (b *ValidatorBuffer) Get(accountID iotago.AccountID) (*ValidatorQueue, bool) { @@ -208,10 +208,10 @@ func (b *ValidatorBuffer) Submit(block *blocks.Block, maxBuffer int) (*blocks.Bl } droppedBlock, submitted := validatorQueue.Submit(block, maxBuffer) if submitted { - b.size++ + b.size.Inc() } if droppedBlock != nil { - b.size-- + b.size.Dec() } return droppedBlock, submitted @@ -222,7 +222,7 @@ func (b *ValidatorBuffer) Delete(accountID iotago.AccountID) { if !exists { return } - b.size -= validatorQueue.Size() + b.size.Sub(int64(validatorQueue.Size())) b.buffer.Delete(accountID) } From 2a02fb80701342b456043588eb1df5f9964f3e59 Mon Sep 17 00:00:00 2001 From: Piotr Macek <4007944+piotrm50@users.noreply.github.com> Date: Wed, 6 Dec 2023 12:47:44 +0100 Subject: [PATCH 4/5] Fix DebugAPI commitment graph generation --- components/debugapi/commitment.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/components/debugapi/commitment.go b/components/debugapi/commitment.go index 4319459c4..815d5319a 100644 --- a/components/debugapi/commitment.go +++ b/components/debugapi/commitment.go @@ -95,9 +95,17 @@ func prepareCommitmentGraph(g *graphviz.Graphviz, rootCommitment *protocol.Commi } func createNode(graph *cgraph.Graph, commitment *protocol.Commitment) (*cgraph.Node, error) { - node, err := graph.Node(fmt.Sprintf("%d: %s", commitment.ID().Slot(), commitment.ID().String()[:8])) + node, err := graph.CreateNode(fmt.Sprintf("%d-%s", commitment.ID().Slot(), commitment.ID().Identifier().String()[:8])) if err != nil { - return nil, ierrors.Wrapf(err, "could not create node %s", commitment.ID().String()[:8]) + return nil, ierrors.Wrapf(err, "could not retrieve node %s", commitment.ID().Identifier().String()[:8]) + } + if node != nil { + return node, nil + } + + node, err = graph.CreateNode(fmt.Sprintf("%d-%s", commitment.ID().Slot(), commitment.ID().Identifier().String()[:8])) + if err != nil { + return nil, ierrors.Wrapf(err, "could not create node %s", commitment.ID().Identifier().String()[:8]) } return node, nil From 2228ee212034eb77ebec2ac479b15b2346c777af Mon Sep 17 00:00:00 2001 From: Piotr Macek <4007944+piotrm50@users.noreply.github.com> Date: Wed, 6 Dec 2023 13:32:14 +0100 Subject: [PATCH 5/5] Upgrade hive.go --- go.mod | 30 +++++++++--------- go.sum | 60 +++++++++++++++++------------------ tools/gendoc/go.mod | 30 +++++++++--------- tools/gendoc/go.sum | 60 +++++++++++++++++------------------ tools/genesis-snapshot/go.mod | 26 +++++++-------- tools/genesis-snapshot/go.sum | 52 +++++++++++++++--------------- 6 files changed, 129 insertions(+), 129 deletions(-) diff --git a/go.mod b/go.mod index 9bd6b2427..b6a14e74a 100644 --- a/go.mod +++ b/go.mod @@ -10,20 +10,20 @@ require ( github.com/google/uuid v1.4.0 github.com/gorilla/websocket v1.5.1 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 - github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 - github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 + github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231201114846-3bb5c3fd5665 github.com/iotaledger/iota.go/v4 v4.0.0-20231204142547-416c9a87403d @@ -140,7 +140,7 @@ require ( github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect + github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pokt-network/smt v0.6.1 // indirect diff --git a/go.sum b/go.sum index 7a31029ce..a891318f8 100644 --- a/go.sum +++ b/go.sum @@ -275,34 +275,34 @@ github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJ github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PTNgli6EbS4tV9qu3QAm/kBU3XaYZV2xdzys= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 h1:jxoBAPgC4I73pAwvEWI2IUCxiI1xN68IaFZ5WC1D3ek= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39 h1:B+SzeGOUyIROHfGjoYLJRPT/GL2u2X8pe3bS5avBbZc= -github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 h1:zv6hp2CsJikP2jdkOjngJmpUVjhC2UfiIFN6yGvo4jA= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 h1:qAIj5vpAojkrORpOflrUYJ6iFL4osUkyP6Vr7/WK9BI= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 h1:5lXV8tI2PlMWraa9eT5xGasNdiMaAYd1159mzXdX1xM= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 h1:axE2+FtJQpAQ40KerOISEzHndqv79h7zYs8NZ7r0jNQ= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 h1:KpHT3dYj+WoFnAzkW4EPluWHuhzErTree0+AF/KVBTU= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 h1:Gp2h+Els9cTVYYnYsHX3zLuixb0XggIj2okK570aKww= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 h1:Di2G2i/hGyhe3D8j/MsnZqnx1yJBiMdbXDIrtbWpe8g= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 h1:kYj16hPQ0iH+1srDaIj4wZCGH5qrhsFpHkLbh3Ob1Bs= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39 h1:m4b7gNQu1HI+LH1m0oAvuFnpp7/EC/iPGHK7ImWNk3w= -github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 h1:O6tJNVV544ts/DKIIfHQJNGXIPZgntR1DJ4e+jPR9rQ= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 h1:GPa5qfHm59jqY3pff0eCnt/mpWFm6fibVK/n/E+Pfyk= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 h1:gatLNIqLC/MAR5qlj+413/y0LmyfKC0QL2BKXLniD0M= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad h1:Sy6PPo5TWnWeZ3vdIf6NSvZ1RUf05IHY14oDvqD8rcY= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:okMn9dNDf6jn46o72P3e55XCQObLNkzujM2abNXqW8E= +github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad h1:v7dkbVLSsmzgOWT2vjvv1MdKQXvqFbvIkx8mvh6VK7g= +github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:hTHKGFbZnuiW8yEgDuuL7ZjQTCnl8bXyHLmj3LPa648= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad h1:4XL7IIvdsWHxSKQfU+sgq3H9egN54053LF9TwMfDcTg= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad h1:iNzb/Oy/nucIOXOzRcwSqqFsaeKwr2JZpZYSLp8xjlE= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad/go.mod h1:CO28KMA6Pp5LJPiigPQQ276zQofES+jMod08U5pyRFA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad h1:pUL2UZbF4S8FIV7uKo9p+IGfZ658K1VNorQ6rzDMRvs= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:7vHoF//1Pt3nu0l8nDIw7bEgv2GfbL3kSgjp7Rdqhd4= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad h1:adLrD6dOEkM5Xdg6AOPt9/HYqy/pQ5FrprDpW4/VqUU= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:NmZRIoxtL6iQdVK6n5W+JOx58K/0Yn8k7WuSvpKPQ+M= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad h1:WDl58zJKHfwbzHs+ZB8Jq3YNgVQE5Neu2NeaX3FZuyU= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad h1:XD4VvKVwDfsXVUWCIEXMzW3zkNdYTBqUPu+3Z7CwfZY= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:8t45SAcTjQfF+zcFERtSRKy16u/gSquTfOtoSdCeyq4= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad h1:qpCsjw+InLL824QPu3lY/osck4DhucBKhCs5/E8OH+A= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:ETXGXymFyNcUq2t4I9e7ZK18f9bxUWYat4pjZ9W0rWc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad h1:S46YvLM8TPjYTELNyeSeVIiqllR873lYxkEUvSqZtIc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Td3R6QmYw0svZI1GuZ/tN9s0VNaHassXSKLCc70aX9w= +github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad h1:fazCxogqOLDEPNDPWYDLTDpYmwgTJgIaC2Z6VN52S4M= +github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:hVaVODS+Uik0obf3SVEHFQNruUko/uqIgD/GKwhn49M= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad h1:HpupWK8iqFt+Sdogkh2/N8ojalmevYy+FzhjOuy7Y7E= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Z9NFsByMh1Kf98f3v3ifeZRycbS2db1hjswTQG1MxnE= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad h1:c8uwbBZDqpiCNN9/9Jji7Z4lL0GdVnORp8WMouiuknk= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad h1:VC3OgdSbyngY7/gxVj66fKd/nGmN6P0/myr348nx7vA= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221 h1:+ozrau44uPy2kYv2fuj2Wks8+VkXR62WB9zONOJgzdE= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221/go.mod h1:6cLX3gnhP0WL+Q+mf3/rIqfACe5fWKVR8luPXWh2xiY= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231201114846-3bb5c3fd5665 h1:XdhojOpZ0t0pJFyNO0zlBogSAUrhEI67eCpTC9H6sGM= @@ -521,8 +521,8 @@ github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAv github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 h1:+qIP3OMrT7SN5kLnTcVEISPOMB/97RyAKTg1UWA738E= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index a5ba98a30..bb96824a1 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/iotaledger/iota-core => ../../ require ( - github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39 + github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 ) @@ -56,19 +56,19 @@ require ( github.com/huin/goupnp v1.3.0 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 // indirect - github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad // indirect github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221 // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231201114846-3bb5c3fd5665 // indirect github.com/iotaledger/iota.go/v4 v4.0.0-20231204142547-416c9a87403d // indirect @@ -131,7 +131,7 @@ require ( github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect + github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pokt-network/smt v0.6.1 // indirect github.com/polydawn/refmt v0.89.0 // indirect diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index 09a38ec6e..b07f9c7c0 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -277,36 +277,36 @@ github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJ github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PTNgli6EbS4tV9qu3QAm/kBU3XaYZV2xdzys= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 h1:jxoBAPgC4I73pAwvEWI2IUCxiI1xN68IaFZ5WC1D3ek= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39 h1:B+SzeGOUyIROHfGjoYLJRPT/GL2u2X8pe3bS5avBbZc= -github.com/iotaledger/hive.go/app v0.0.0-20231205131244-472357435a39/go.mod h1:+riYmeLApkLlj4+EpuJpEJAsj/KGfD7cqLGy7oTsPOM= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad h1:Sy6PPo5TWnWeZ3vdIf6NSvZ1RUf05IHY14oDvqD8rcY= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:okMn9dNDf6jn46o72P3e55XCQObLNkzujM2abNXqW8E= +github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad h1:v7dkbVLSsmzgOWT2vjvv1MdKQXvqFbvIkx8mvh6VK7g= +github.com/iotaledger/hive.go/app v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:hTHKGFbZnuiW8yEgDuuL7ZjQTCnl8bXyHLmj3LPa648= github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 h1:4aVJTc0KS77uEw0Tny4r0n1ORwcbAQDECaCclgf/6lE= github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3/go.mod h1:TZeAqieDu+xDOZp2e9+S+8pZp1PrfgcwLUnxmd8IgLU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 h1:zv6hp2CsJikP2jdkOjngJmpUVjhC2UfiIFN6yGvo4jA= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 h1:qAIj5vpAojkrORpOflrUYJ6iFL4osUkyP6Vr7/WK9BI= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 h1:5lXV8tI2PlMWraa9eT5xGasNdiMaAYd1159mzXdX1xM= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 h1:axE2+FtJQpAQ40KerOISEzHndqv79h7zYs8NZ7r0jNQ= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 h1:KpHT3dYj+WoFnAzkW4EPluWHuhzErTree0+AF/KVBTU= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 h1:Gp2h+Els9cTVYYnYsHX3zLuixb0XggIj2okK570aKww= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 h1:Di2G2i/hGyhe3D8j/MsnZqnx1yJBiMdbXDIrtbWpe8g= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 h1:kYj16hPQ0iH+1srDaIj4wZCGH5qrhsFpHkLbh3Ob1Bs= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39 h1:m4b7gNQu1HI+LH1m0oAvuFnpp7/EC/iPGHK7ImWNk3w= -github.com/iotaledger/hive.go/logger v0.0.0-20231205131244-472357435a39/go.mod h1:w1psHM2MuKsen1WdsPKrpqElYH7ZOQ+YdQIgJZg4HTo= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 h1:O6tJNVV544ts/DKIIfHQJNGXIPZgntR1DJ4e+jPR9rQ= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 h1:GPa5qfHm59jqY3pff0eCnt/mpWFm6fibVK/n/E+Pfyk= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 h1:gatLNIqLC/MAR5qlj+413/y0LmyfKC0QL2BKXLniD0M= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad h1:4XL7IIvdsWHxSKQfU+sgq3H9egN54053LF9TwMfDcTg= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad h1:iNzb/Oy/nucIOXOzRcwSqqFsaeKwr2JZpZYSLp8xjlE= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad/go.mod h1:CO28KMA6Pp5LJPiigPQQ276zQofES+jMod08U5pyRFA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad h1:pUL2UZbF4S8FIV7uKo9p+IGfZ658K1VNorQ6rzDMRvs= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:7vHoF//1Pt3nu0l8nDIw7bEgv2GfbL3kSgjp7Rdqhd4= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad h1:adLrD6dOEkM5Xdg6AOPt9/HYqy/pQ5FrprDpW4/VqUU= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:NmZRIoxtL6iQdVK6n5W+JOx58K/0Yn8k7WuSvpKPQ+M= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad h1:WDl58zJKHfwbzHs+ZB8Jq3YNgVQE5Neu2NeaX3FZuyU= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad h1:XD4VvKVwDfsXVUWCIEXMzW3zkNdYTBqUPu+3Z7CwfZY= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:8t45SAcTjQfF+zcFERtSRKy16u/gSquTfOtoSdCeyq4= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad h1:qpCsjw+InLL824QPu3lY/osck4DhucBKhCs5/E8OH+A= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:ETXGXymFyNcUq2t4I9e7ZK18f9bxUWYat4pjZ9W0rWc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad h1:S46YvLM8TPjYTELNyeSeVIiqllR873lYxkEUvSqZtIc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Td3R6QmYw0svZI1GuZ/tN9s0VNaHassXSKLCc70aX9w= +github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad h1:fazCxogqOLDEPNDPWYDLTDpYmwgTJgIaC2Z6VN52S4M= +github.com/iotaledger/hive.go/logger v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:hVaVODS+Uik0obf3SVEHFQNruUko/uqIgD/GKwhn49M= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad h1:HpupWK8iqFt+Sdogkh2/N8ojalmevYy+FzhjOuy7Y7E= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Z9NFsByMh1Kf98f3v3ifeZRycbS2db1hjswTQG1MxnE= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad h1:c8uwbBZDqpiCNN9/9Jji7Z4lL0GdVnORp8WMouiuknk= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad h1:VC3OgdSbyngY7/gxVj66fKd/nGmN6P0/myr348nx7vA= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221 h1:+ozrau44uPy2kYv2fuj2Wks8+VkXR62WB9zONOJgzdE= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231201123347-1c44b3f24221/go.mod h1:6cLX3gnhP0WL+Q+mf3/rIqfACe5fWKVR8luPXWh2xiY= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231201114846-3bb5c3fd5665 h1:XdhojOpZ0t0pJFyNO0zlBogSAUrhEI67eCpTC9H6sGM= @@ -525,8 +525,8 @@ github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAv github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 h1:+qIP3OMrT7SN5kLnTcVEISPOMB/97RyAKTg1UWA738E= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/tools/genesis-snapshot/go.mod b/tools/genesis-snapshot/go.mod index 7d9bebabd..4611c5595 100644 --- a/tools/genesis-snapshot/go.mod +++ b/tools/genesis-snapshot/go.mod @@ -5,10 +5,10 @@ go 1.21 replace github.com/iotaledger/iota-core => ../../ require ( - github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 - github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 + github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad + github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota.go/v4 v4.0.0-20231204142547-416c9a87403d github.com/mr-tron/base58 v1.2.0 @@ -26,14 +26,14 @@ require ( github.com/holiman/uint256 v1.2.4 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 // indirect - github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect github.com/kr/text v0.2.0 // indirect @@ -50,7 +50,7 @@ require ( github.com/otiai10/copy v1.14.0 // indirect github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect + github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pokt-network/smt v0.6.1 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index ccad4de99..8ff9ca34a 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -28,30 +28,30 @@ github.com/iancoleman/orderedmap v0.3.0 h1:5cbR2grmZR/DiVt+VJopEhtVs9YGInGIxAoMJ github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJDkXXS7VoV7XGE= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7 h1:dTrD7X2PTNgli6EbS4tV9qu3QAm/kBU3XaYZV2xdzys= github.com/iotaledger/grocksdb v1.7.5-0.20230220105546-5162e18885c7/go.mod h1:ZRdPu684P0fQ1z8sXz4dj9H5LWHhz4a9oCtvjunkSrw= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39 h1:jxoBAPgC4I73pAwvEWI2IUCxiI1xN68IaFZ5WC1D3ek= -github.com/iotaledger/hive.go/ads v0.0.0-20231205131244-472357435a39/go.mod h1:gbUvr01B5ha530GnNm8K2OsHXOd2BtzBYOMxyTX3iDg= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39 h1:zv6hp2CsJikP2jdkOjngJmpUVjhC2UfiIFN6yGvo4jA= -github.com/iotaledger/hive.go/constraints v0.0.0-20231205131244-472357435a39/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39 h1:qAIj5vpAojkrORpOflrUYJ6iFL4osUkyP6Vr7/WK9BI= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231205131244-472357435a39/go.mod h1:CdixkrB7VdQzEDlVuwsxPtsiJL/WXrQgz3PELIqlLko= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39 h1:5lXV8tI2PlMWraa9eT5xGasNdiMaAYd1159mzXdX1xM= -github.com/iotaledger/hive.go/crypto v0.0.0-20231205131244-472357435a39/go.mod h1:OQ9EVTTQT1mkO/16BgwSIyQlAhEg+Cptud/yutevWsI= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39 h1:axE2+FtJQpAQ40KerOISEzHndqv79h7zYs8NZ7r0jNQ= -github.com/iotaledger/hive.go/ds v0.0.0-20231205131244-472357435a39/go.mod h1:JE8cbZSvzbB5TrwXibg6M0B7ck35YxF30ItHBzQRlgc= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39 h1:KpHT3dYj+WoFnAzkW4EPluWHuhzErTree0+AF/KVBTU= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231205131244-472357435a39/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39 h1:Gp2h+Els9cTVYYnYsHX3zLuixb0XggIj2okK570aKww= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231205131244-472357435a39/go.mod h1:ytfKoHr/nF8u0y0G4mamfG0yjFtJiJVk0kgjnPOtsSY= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39 h1:Di2G2i/hGyhe3D8j/MsnZqnx1yJBiMdbXDIrtbWpe8g= -github.com/iotaledger/hive.go/lo v0.0.0-20231205131244-472357435a39/go.mod h1:6Ee7i6b4tuTHuRYnPP8VUb0wr9XFI5qlqtnttBd9jRg= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39 h1:kYj16hPQ0iH+1srDaIj4wZCGH5qrhsFpHkLbh3Ob1Bs= -github.com/iotaledger/hive.go/log v0.0.0-20231205131244-472357435a39/go.mod h1:vzO4/wRkEJDEZb/9fD10oKU9k1bj4qLir2Uhl5U1FkM= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39 h1:O6tJNVV544ts/DKIIfHQJNGXIPZgntR1DJ4e+jPR9rQ= -github.com/iotaledger/hive.go/runtime v0.0.0-20231205131244-472357435a39/go.mod h1:DrZPvUvLarK8C2qb+3H2vdypp/MuhpQmB3iMJbDCr/Q= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39 h1:GPa5qfHm59jqY3pff0eCnt/mpWFm6fibVK/n/E+Pfyk= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231205131244-472357435a39/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39 h1:gatLNIqLC/MAR5qlj+413/y0LmyfKC0QL2BKXLniD0M= -github.com/iotaledger/hive.go/stringify v0.0.0-20231205131244-472357435a39/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad h1:Sy6PPo5TWnWeZ3vdIf6NSvZ1RUf05IHY14oDvqD8rcY= +github.com/iotaledger/hive.go/ads v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:okMn9dNDf6jn46o72P3e55XCQObLNkzujM2abNXqW8E= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad h1:4XL7IIvdsWHxSKQfU+sgq3H9egN54053LF9TwMfDcTg= +github.com/iotaledger/hive.go/constraints v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad h1:iNzb/Oy/nucIOXOzRcwSqqFsaeKwr2JZpZYSLp8xjlE= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231206114953-6a65a82e30ad/go.mod h1:CO28KMA6Pp5LJPiigPQQ276zQofES+jMod08U5pyRFA= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad h1:pUL2UZbF4S8FIV7uKo9p+IGfZ658K1VNorQ6rzDMRvs= +github.com/iotaledger/hive.go/crypto v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:7vHoF//1Pt3nu0l8nDIw7bEgv2GfbL3kSgjp7Rdqhd4= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad h1:adLrD6dOEkM5Xdg6AOPt9/HYqy/pQ5FrprDpW4/VqUU= +github.com/iotaledger/hive.go/ds v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:NmZRIoxtL6iQdVK6n5W+JOx58K/0Yn8k7WuSvpKPQ+M= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad h1:WDl58zJKHfwbzHs+ZB8Jq3YNgVQE5Neu2NeaX3FZuyU= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad h1:XD4VvKVwDfsXVUWCIEXMzW3zkNdYTBqUPu+3Z7CwfZY= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:8t45SAcTjQfF+zcFERtSRKy16u/gSquTfOtoSdCeyq4= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad h1:qpCsjw+InLL824QPu3lY/osck4DhucBKhCs5/E8OH+A= +github.com/iotaledger/hive.go/lo v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:ETXGXymFyNcUq2t4I9e7ZK18f9bxUWYat4pjZ9W0rWc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad h1:S46YvLM8TPjYTELNyeSeVIiqllR873lYxkEUvSqZtIc= +github.com/iotaledger/hive.go/log v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Td3R6QmYw0svZI1GuZ/tN9s0VNaHassXSKLCc70aX9w= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad h1:HpupWK8iqFt+Sdogkh2/N8ojalmevYy+FzhjOuy7Y7E= +github.com/iotaledger/hive.go/runtime v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:Z9NFsByMh1Kf98f3v3ifeZRycbS2db1hjswTQG1MxnE= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad h1:c8uwbBZDqpiCNN9/9Jji7Z4lL0GdVnORp8WMouiuknk= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231206114953-6a65a82e30ad/go.mod h1:FoH3T6yKlZJp8xm8K+zsQiibSynp32v21CpWx8xkek8= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad h1:VC3OgdSbyngY7/gxVj66fKd/nGmN6P0/myr348nx7vA= +github.com/iotaledger/hive.go/stringify v0.0.0-20231206114953-6a65a82e30ad/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota.go/v4 v4.0.0-20231204142547-416c9a87403d h1:MPklxa8jW4/EgDm/LEzf6orxjik7U+vMUW/ToGT1Zqg= github.com/iotaledger/iota.go/v4 v4.0.0-20231204142547-416c9a87403d/go.mod h1:lCk9rhP3B5pX9BKhzR+Jobq4xPd+GHlqgF4Ga+eQfWA= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= @@ -93,8 +93,8 @@ github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c/go.mod h1:1iCZ0433 github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5 h1:+qIP3OMrT7SN5kLnTcVEISPOMB/97RyAKTg1UWA738E= +github.com/petermattis/goid v0.0.0-20231126143041-f558c26febf5/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pokt-network/smt v0.6.1 h1:u5yTGNNND6edXv3vMQrAcjku1Ig4osehdu+EMYSXHUU=