From ec35d881613f5119c11ee997bc376f63be3198c9 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:56:08 +0200 Subject: [PATCH 01/17] Do not panic on not found parent in BlockDAG --- pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go b/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go index aa60beafa..e15e326c5 100644 --- a/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go +++ b/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go @@ -78,7 +78,7 @@ func (b *BlockDAG) setupBlock(block *blocks.Block) { block.ForEachParent(func(parent iotago.Parent) { parentBlock, exists := b.blockCache.Block(parent.ID) if !exists { - panic("cannot setup block without existing parent") + return } parentBlock.Solid().OnUpdateOnce(func(_, _ bool) { From e980875d64f7e0491b1504050c186fe5ece55d3c Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:56:25 +0200 Subject: [PATCH 02/17] Shutdown workers before components in Engine --- pkg/protocol/engine/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index f91f8bf94..32ff6f0e5 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -219,6 +219,7 @@ func (e *Engine) Shutdown() { if !e.WasStopped() { e.TriggerStopped() + e.Workers.Shutdown() e.BlockRequester.Shutdown() e.Attestations.Shutdown() e.SyncManager.Shutdown() @@ -237,7 +238,6 @@ func (e *Engine) Shutdown() { e.Scheduler.Shutdown() e.Retainer.Shutdown() e.Storage.Shutdown() - e.Workers.Shutdown() } } From f858770d10f4eeb1971128784ddeaee704e3088c Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:59:13 +0200 Subject: [PATCH 03/17] New Engine Shutdown order --- pkg/protocol/engine/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index 32ff6f0e5..10339a9c3 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -217,8 +217,6 @@ func New( func (e *Engine) Shutdown() { if !e.WasStopped() { - e.TriggerStopped() - e.Workers.Shutdown() e.BlockRequester.Shutdown() e.Attestations.Shutdown() @@ -238,6 +236,8 @@ func (e *Engine) Shutdown() { e.Scheduler.Shutdown() e.Retainer.Shutdown() e.Storage.Shutdown() + + e.TriggerStopped() } } From a5a042a693850dc103af36be43568de05f5ba351 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 15:47:32 +0200 Subject: [PATCH 04/17] Shutdown still not right --- pkg/protocol/engine/engine.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index 10339a9c3..7d0318137 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -217,7 +217,8 @@ func New( func (e *Engine) Shutdown() { if !e.WasStopped() { - e.Workers.Shutdown() + e.TriggerStopped() + e.BlockRequester.Shutdown() e.Attestations.Shutdown() e.SyncManager.Shutdown() @@ -235,9 +236,8 @@ func (e *Engine) Shutdown() { e.CommitmentFilter.Shutdown() e.Scheduler.Shutdown() e.Retainer.Shutdown() + e.Workers.Shutdown() e.Storage.Shutdown() - - e.TriggerStopped() } } From 32cc8a27e6709c64f99fbe0630cfa85b16999ff1 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 17:35:43 +0200 Subject: [PATCH 05/17] New rollback approach --- pkg/protocol/block_dispatcher.go | 1 + pkg/protocol/enginemanager/enginemanager.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/block_dispatcher.go b/pkg/protocol/block_dispatcher.go index b6014be6e..c51130037 100644 --- a/pkg/protocol/block_dispatcher.go +++ b/pkg/protocol/block_dispatcher.go @@ -246,6 +246,7 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment // As we already decided to switch and sync to this chain we should make sure that processing the blocks from the commitment // leads to the verified commitment. if targetEngine.Notarization.AcceptedBlocksCount(commitmentID.Slot()) > 0 { + b.protocol.MainEngineInstance().Shutdown() b.protocol.activeEngineMutex.Lock() newEngine, err := b.protocol.EngineManager.RollbackEngine(commitmentID.Slot() - 1) diff --git a/pkg/protocol/enginemanager/enginemanager.go b/pkg/protocol/enginemanager/enginemanager.go index a36b01175..cba0b3787 100644 --- a/pkg/protocol/enginemanager/enginemanager.go +++ b/pkg/protocol/enginemanager/enginemanager.go @@ -321,7 +321,6 @@ func (e *EngineManager) RollbackEngine(slot iotago.SlotIndex) (*engine.Engine, e } dir := e.activeInstance.Storage.Directory() - e.activeInstance.Shutdown() newStorage := storage.Create(dir, e.dbVersion, errorHandler, e.storageOptions...) From 6be122fd497dca81360fec7fb77fa29d9decc2a8 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:02:05 +0200 Subject: [PATCH 06/17] Revert "New rollback approach" This reverts commit 9f6164353f683de40cbf71dc0ca5df69cebfc82d. --- pkg/protocol/block_dispatcher.go | 1 - pkg/protocol/enginemanager/enginemanager.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/block_dispatcher.go b/pkg/protocol/block_dispatcher.go index c51130037..b6014be6e 100644 --- a/pkg/protocol/block_dispatcher.go +++ b/pkg/protocol/block_dispatcher.go @@ -246,7 +246,6 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment // As we already decided to switch and sync to this chain we should make sure that processing the blocks from the commitment // leads to the verified commitment. if targetEngine.Notarization.AcceptedBlocksCount(commitmentID.Slot()) > 0 { - b.protocol.MainEngineInstance().Shutdown() b.protocol.activeEngineMutex.Lock() newEngine, err := b.protocol.EngineManager.RollbackEngine(commitmentID.Slot() - 1) diff --git a/pkg/protocol/enginemanager/enginemanager.go b/pkg/protocol/enginemanager/enginemanager.go index cba0b3787..a36b01175 100644 --- a/pkg/protocol/enginemanager/enginemanager.go +++ b/pkg/protocol/enginemanager/enginemanager.go @@ -321,6 +321,7 @@ func (e *EngineManager) RollbackEngine(slot iotago.SlotIndex) (*engine.Engine, e } dir := e.activeInstance.Storage.Directory() + e.activeInstance.Shutdown() newStorage := storage.Create(dir, e.dbVersion, errorHandler, e.storageOptions...) From c0fab1770d0b46b3f4184c817effd4a7243659e2 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:03:05 +0200 Subject: [PATCH 07/17] Yet another approach --- pkg/protocol/block_dispatcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/protocol/block_dispatcher.go b/pkg/protocol/block_dispatcher.go index b6014be6e..578d7a76e 100644 --- a/pkg/protocol/block_dispatcher.go +++ b/pkg/protocol/block_dispatcher.go @@ -246,8 +246,6 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment // As we already decided to switch and sync to this chain we should make sure that processing the blocks from the commitment // leads to the verified commitment. if targetEngine.Notarization.AcceptedBlocksCount(commitmentID.Slot()) > 0 { - b.protocol.activeEngineMutex.Lock() - newEngine, err := b.protocol.EngineManager.RollbackEngine(commitmentID.Slot() - 1) if err != nil { return ierrors.Wrapf(err, "failed to rollback engine for slot %d", commitmentID.Slot()) @@ -263,6 +261,8 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment b.protocol.linkToEngine(newEngine) b.protocol.mainEngine.Shutdown() + + b.protocol.activeEngineMutex.Lock() b.protocol.mainEngine = newEngine targetEngine = newEngine b.protocol.activeEngineMutex.Unlock() From 6ce63886a8059e53945454e01e1fe44bbcab1eff Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:24:20 +0200 Subject: [PATCH 08/17] Prevent block dispatching on Shutdown engine --- pkg/protocol/block_dispatcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/block_dispatcher.go b/pkg/protocol/block_dispatcher.go index 578d7a76e..2118b1334 100644 --- a/pkg/protocol/block_dispatcher.go +++ b/pkg/protocol/block_dispatcher.go @@ -78,7 +78,7 @@ func (b *BlockDispatcher) Dispatch(block *model.Block, src peer.ID) error { matchingEngineFound := false for _, engine := range []*engine.Engine{b.protocol.MainEngineInstance(), b.protocol.CandidateEngineInstance()} { - if engine != nil && (engine.ChainID() == slotCommitment.Chain().ForkingPoint.ID() || engine.BlockRequester.HasTicker(block.ID())) { + if engine != nil && !engine.WasStopped() && (engine.ChainID() == slotCommitment.Chain().ForkingPoint.ID() || engine.BlockRequester.HasTicker(block.ID())) { if b.inSyncWindow(engine, block) { engine.ProcessBlockFromPeer(block, src) } else { From 75e0aa221cd78868c2209edb1643ec7381f1c4e4 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 19:21:39 +0200 Subject: [PATCH 09/17] Bump hive.go --- go.mod | 28 ++++++++-------- go.sum | 58 ++++++++++++++++----------------- tools/evil-spammer/go.mod | 28 ++++++++-------- tools/evil-spammer/go.sum | 56 ++++++++++++++++---------------- tools/gendoc/go.mod | 30 +++++++++--------- tools/gendoc/go.sum | 60 +++++++++++++++++------------------ tools/genesis-snapshot/go.mod | 26 +++++++-------- tools/genesis-snapshot/go.sum | 52 +++++++++++++++--------------- 8 files changed, 168 insertions(+), 170 deletions(-) diff --git a/go.mod b/go.mod index 76a675061..baf85ba1d 100644 --- a/go.mod +++ b/go.mod @@ -10,19 +10,19 @@ require ( github.com/google/uuid v1.3.1 github.com/gorilla/websocket v1.5.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/iotaledger/hive.go/ads v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af + github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 + github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 + github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a @@ -88,7 +88,7 @@ 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/log v0.0.0-20231010133617-cdbd5387e2af // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect github.com/ipfs/boxo v0.10.0 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect diff --git a/go.sum b/go.sum index 42d166a1e..e0dbab48b 100644 --- a/go.sum +++ b/go.sum @@ -277,40 +277,38 @@ 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-20231010133617-cdbd5387e2af h1:oKWvq1C5VBaQsNNLX4H1uaUofisgVQcVzeegySJqeKg= -github.com/iotaledger/hive.go/ads v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af h1:3LEssfuBlPFkb55yOZOjySUS2tNJVQp8e311JAe/b2M= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af h1:xfXaQ6QbDvk9eq7A2heOkdkJTPW2Fns18iMaFx06ssE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af h1:1pCoWeZS5/FWWNKBlJCboJfEGK3WYCXtWp77S7qQrc8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af h1:J30bA+JjEOZzW7bei55Tw7r8e0EZGgTsVzHBX83bY8Y= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af h1:yevMZ1A7Crafi6pLQz8tdVQJBB1XWUTc+Y78zcg1+Fs= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:ZrqsjIJS2QCgGp7Ki+l4hWJQgzfBObUCemb5Upwlx18= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af h1:GFYIbcmurif5sWfzOjfFKpzVtUsf6gCP5QBspXHHjEo= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af h1:OY1jOCQIdN5bhvMUJU3exx9QRVhpBmGGCYHg7gpZ0xc= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af h1:Td8RUNAWcxU9N8pKiIemaaf16QSHld8BhiGPYyiFVWA= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af h1:t5a+O3WDM7rK/jXDvBwwlKXK7JHCxP2jR9eh03RaIuo= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af h1:GX4aBNqZmdiRS3/wYOkLVOCQLmiBHBprSfntwSB8fys= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af h1:0QOowMPuOTihsjmd+RJnv6rU2SZeKYb29R4yCCElk24= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af h1:KuZ18zU7XR3qcKvmhrfG1PqNoSfp8I8ITKGdb2ORAvo= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af h1:2/8In9gw03NW1hL4qyXuFYFoWZScHmyZtYUG0kHPmo4= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 h1:nR8uTm1Htn2RQOT53RV2zdCIflpuF8N00Tv2FWYimY0= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811/go.mod h1:rmclNpXw5sKJDHU0e51Ar/9zL00P7Uu9hkfaM7vAAiE= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad h1:TRM9EkAole9fYY1vHEVQ6zCEOGuvCWq/bczZ98Al5Ec= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad/go.mod h1:plZ0+8yLdDWHedj3SfHUwQtIETD+lcS6M1iEAxcjzJ4= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1 h1:mz5E00q1U/LDiUi/wVAbwdhGNKX0dNThaO99Fsyjkgs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/boxo v0.10.0 h1:tdDAxq8jrsbRkYoF+5Rcqyeb91hgWe2hp7iLu7ORZLY= diff --git a/tools/evil-spammer/go.mod b/tools/evil-spammer/go.mod index 30cc8c60c..64cdb53dc 100644 --- a/tools/evil-spammer/go.mod +++ b/tools/evil-spammer/go.mod @@ -9,14 +9,14 @@ replace github.com/iotaledger/iota-core/tools/genesis-snapshot => ../genesis-sna require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/ethereum/go-ethereum v1.13.2 - github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af + github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 + github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota-core/tools/genesis-snapshot v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a @@ -38,12 +38,12 @@ require ( github.com/holiman/uint256 v1.2.3 // 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-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect diff --git a/tools/evil-spammer/go.sum b/tools/evil-spammer/go.sum index db0f63d48..64ad92498 100644 --- a/tools/evil-spammer/go.sum +++ b/tools/evil-spammer/go.sum @@ -171,34 +171,34 @@ 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-20231010133617-cdbd5387e2af h1:oKWvq1C5VBaQsNNLX4H1uaUofisgVQcVzeegySJqeKg= -github.com/iotaledger/hive.go/ads v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af h1:3LEssfuBlPFkb55yOZOjySUS2tNJVQp8e311JAe/b2M= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af h1:xfXaQ6QbDvk9eq7A2heOkdkJTPW2Fns18iMaFx06ssE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af h1:1pCoWeZS5/FWWNKBlJCboJfEGK3WYCXtWp77S7qQrc8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af h1:J30bA+JjEOZzW7bei55Tw7r8e0EZGgTsVzHBX83bY8Y= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af h1:yevMZ1A7Crafi6pLQz8tdVQJBB1XWUTc+Y78zcg1+Fs= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:ZrqsjIJS2QCgGp7Ki+l4hWJQgzfBObUCemb5Upwlx18= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af h1:GFYIbcmurif5sWfzOjfFKpzVtUsf6gCP5QBspXHHjEo= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af h1:OY1jOCQIdN5bhvMUJU3exx9QRVhpBmGGCYHg7gpZ0xc= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af h1:Td8RUNAWcxU9N8pKiIemaaf16QSHld8BhiGPYyiFVWA= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af h1:t5a+O3WDM7rK/jXDvBwwlKXK7JHCxP2jR9eh03RaIuo= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af h1:GX4aBNqZmdiRS3/wYOkLVOCQLmiBHBprSfntwSB8fys= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af h1:0QOowMPuOTihsjmd+RJnv6rU2SZeKYb29R4yCCElk24= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af h1:KuZ18zU7XR3qcKvmhrfG1PqNoSfp8I8ITKGdb2ORAvo= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af h1:2/8In9gw03NW1hL4qyXuFYFoWZScHmyZtYUG0kHPmo4= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index ff3ae99ba..23bce5da1 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-20231010133617-cdbd5387e2af + github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 ) @@ -58,22 +58,22 @@ 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-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // indirect github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1 // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a // indirect github.com/ipfs/boxo v0.10.0 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index 24fe10d0b..9d690ec40 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -279,42 +279,42 @@ 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-20231010133617-cdbd5387e2af h1:oKWvq1C5VBaQsNNLX4H1uaUofisgVQcVzeegySJqeKg= -github.com/iotaledger/hive.go/ads v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af h1:3LEssfuBlPFkb55yOZOjySUS2tNJVQp8e311JAe/b2M= -github.com/iotaledger/hive.go/app v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= +github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= 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-20231010133617-cdbd5387e2af h1:xfXaQ6QbDvk9eq7A2heOkdkJTPW2Fns18iMaFx06ssE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af h1:1pCoWeZS5/FWWNKBlJCboJfEGK3WYCXtWp77S7qQrc8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af h1:J30bA+JjEOZzW7bei55Tw7r8e0EZGgTsVzHBX83bY8Y= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af h1:yevMZ1A7Crafi6pLQz8tdVQJBB1XWUTc+Y78zcg1+Fs= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:ZrqsjIJS2QCgGp7Ki+l4hWJQgzfBObUCemb5Upwlx18= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af h1:GFYIbcmurif5sWfzOjfFKpzVtUsf6gCP5QBspXHHjEo= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af h1:OY1jOCQIdN5bhvMUJU3exx9QRVhpBmGGCYHg7gpZ0xc= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af h1:Td8RUNAWcxU9N8pKiIemaaf16QSHld8BhiGPYyiFVWA= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af h1:t5a+O3WDM7rK/jXDvBwwlKXK7JHCxP2jR9eh03RaIuo= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af h1:GX4aBNqZmdiRS3/wYOkLVOCQLmiBHBprSfntwSB8fys= -github.com/iotaledger/hive.go/logger v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af h1:0QOowMPuOTihsjmd+RJnv6rU2SZeKYb29R4yCCElk24= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af h1:KuZ18zU7XR3qcKvmhrfG1PqNoSfp8I8ITKGdb2ORAvo= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af h1:2/8In9gw03NW1hL4qyXuFYFoWZScHmyZtYUG0kHPmo4= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= +github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 h1:nR8uTm1Htn2RQOT53RV2zdCIflpuF8N00Tv2FWYimY0= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811/go.mod h1:rmclNpXw5sKJDHU0e51Ar/9zL00P7Uu9hkfaM7vAAiE= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad h1:TRM9EkAole9fYY1vHEVQ6zCEOGuvCWq/bczZ98Al5Ec= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad/go.mod h1:plZ0+8yLdDWHedj3SfHUwQtIETD+lcS6M1iEAxcjzJ4= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1 h1:mz5E00q1U/LDiUi/wVAbwdhGNKX0dNThaO99Fsyjkgs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= +github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= +github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/boxo v0.10.0 h1:tdDAxq8jrsbRkYoF+5Rcqyeb91hgWe2hp7iLu7ORZLY= github.com/ipfs/boxo v0.10.0/go.mod h1:Fg+BnfxZ0RPzR0nOodzdIq3A7KgoWAOWsEIImrIQdBM= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/tools/genesis-snapshot/go.mod b/tools/genesis-snapshot/go.mod index 121169d39..e12c90553 100644 --- a/tools/genesis-snapshot/go.mod +++ b/tools/genesis-snapshot/go.mod @@ -5,12 +5,12 @@ go 1.21 replace github.com/iotaledger/iota-core => ../../ require ( - github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af - github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af + github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 - github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1 + github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a github.com/mr-tron/base58 v1.2.0 github.com/spf13/pflag v1.0.5 golang.org/x/crypto v0.14.0 @@ -26,14 +26,14 @@ require ( github.com/holiman/uint256 v1.2.3 // 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-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // 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 diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index 33ae5c4a9..70a0c5ac9 100644 --- a/tools/genesis-snapshot/go.sum +++ b/tools/genesis-snapshot/go.sum @@ -28,32 +28,32 @@ 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-20231010133617-cdbd5387e2af h1:oKWvq1C5VBaQsNNLX4H1uaUofisgVQcVzeegySJqeKg= -github.com/iotaledger/hive.go/ads v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af h1:xfXaQ6QbDvk9eq7A2heOkdkJTPW2Fns18iMaFx06ssE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af h1:1pCoWeZS5/FWWNKBlJCboJfEGK3WYCXtWp77S7qQrc8= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231010133617-cdbd5387e2af/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af h1:J30bA+JjEOZzW7bei55Tw7r8e0EZGgTsVzHBX83bY8Y= -github.com/iotaledger/hive.go/crypto v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af h1:yevMZ1A7Crafi6pLQz8tdVQJBB1XWUTc+Y78zcg1+Fs= -github.com/iotaledger/hive.go/ds v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:ZrqsjIJS2QCgGp7Ki+l4hWJQgzfBObUCemb5Upwlx18= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af h1:GFYIbcmurif5sWfzOjfFKpzVtUsf6gCP5QBspXHHjEo= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af h1:OY1jOCQIdN5bhvMUJU3exx9QRVhpBmGGCYHg7gpZ0xc= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af h1:Td8RUNAWcxU9N8pKiIemaaf16QSHld8BhiGPYyiFVWA= -github.com/iotaledger/hive.go/lo v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af h1:t5a+O3WDM7rK/jXDvBwwlKXK7JHCxP2jR9eh03RaIuo= -github.com/iotaledger/hive.go/log v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af h1:0QOowMPuOTihsjmd+RJnv6rU2SZeKYb29R4yCCElk24= -github.com/iotaledger/hive.go/runtime v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af h1:KuZ18zU7XR3qcKvmhrfG1PqNoSfp8I8ITKGdb2ORAvo= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231010133617-cdbd5387e2af/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af h1:2/8In9gw03NW1hL4qyXuFYFoWZScHmyZtYUG0kHPmo4= -github.com/iotaledger/hive.go/stringify v0.0.0-20231010133617-cdbd5387e2af/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1 h1:mz5E00q1U/LDiUi/wVAbwdhGNKX0dNThaO99Fsyjkgs= -github.com/iotaledger/iota.go/v4 v4.0.0-20231011161154-7004432004e1/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= +github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= +github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= +github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= +github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= +github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= +github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= +github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= From 2278eb310387c225b196c18cc7232ac74343b415 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:54:06 +0200 Subject: [PATCH 10/17] New hive.go workerpool.Group --- go.mod | 28 +++++++++--------- go.sum | 56 +++++++++++++++++------------------ tools/evil-spammer/go.mod | 28 +++++++++--------- tools/evil-spammer/go.sum | 56 +++++++++++++++++------------------ tools/gendoc/go.mod | 28 +++++++++--------- tools/gendoc/go.sum | 56 +++++++++++++++++------------------ tools/genesis-snapshot/go.mod | 24 +++++++-------- tools/genesis-snapshot/go.sum | 48 +++++++++++++++--------------- 8 files changed, 162 insertions(+), 162 deletions(-) diff --git a/go.mod b/go.mod index baf85ba1d..d282ed1f0 100644 --- a/go.mod +++ b/go.mod @@ -10,19 +10,19 @@ require ( github.com/google/uuid v1.3.1 github.com/gorilla/websocket v1.5.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 - github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 - github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a @@ -88,7 +88,7 @@ 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/log v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e // indirect github.com/ipfs/boxo v0.10.0 // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/ipfs/go-datastore v0.6.0 // indirect diff --git a/go.sum b/go.sum index e0dbab48b..57f4dbedf 100644 --- a/go.sum +++ b/go.sum @@ -277,34 +277,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-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= -github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e h1:t6v4t5IKNzReLdifmtBlVhzkMg9+RHdctI7qC+f6M+E= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e h1:MK4+bsmS5WIsyLePSZZezrQUrsq0vNbscvBrwS5Y+/E= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e h1:SUBnGnbyUkMcWaEwb9a5jIBnvIMalsONqO7WLCAZ7P4= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e h1:Wi35ILUler+BDY+8Ked3UV5apOQMW8H4fo/NeHjH420= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e h1:eBDCTE79RyK+R8y0a+6bhNNH3a1DVcJcL/SI/pQCwkc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e h1:E3QnpUvyuWwbSAiaA6gcXuPL4lX9WkRpT2jysfx8wKY= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e h1:GoHNPc0yRhM/YXEyr76pCNERXFADkDLYGdjyL4pEVuI= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e h1:RGcm3I3v5U7gdXd+JHfs07MdXINS4SdFeqJiZTmX6Gg= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e h1:Twsk3P5hwGp7yQ9n4yjgojYjtilZloMIaM0/RCHVax4= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e h1:PqL9RpsW8d13L/sxm+Bt7JBh3mcZtxnbjeQh12BdZs8= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e h1:uiQrsFEKzOdVy2bfthh+FDugBeAYWH2PGr/QErVllFw= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e h1:HqX8Vd4kp6w5ZB5KnwqemfCLgfFXDt3oN/l2eawdY3o= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e h1:WBwBHIDQcav+L7TdDBqANb/3YSJ9NtKG9iWznIZskT0= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e h1:Tkp2ooVhNW+u2W4Y2vVauEIi1x7peyQee0tXfkGeEoM= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 h1:nR8uTm1Htn2RQOT53RV2zdCIflpuF8N00Tv2FWYimY0= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811/go.mod h1:rmclNpXw5sKJDHU0e51Ar/9zL00P7Uu9hkfaM7vAAiE= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad h1:TRM9EkAole9fYY1vHEVQ6zCEOGuvCWq/bczZ98Al5Ec= diff --git a/tools/evil-spammer/go.mod b/tools/evil-spammer/go.mod index 64cdb53dc..a97b5f58d 100644 --- a/tools/evil-spammer/go.mod +++ b/tools/evil-spammer/go.mod @@ -9,14 +9,14 @@ replace github.com/iotaledger/iota-core/tools/genesis-snapshot => ../genesis-sna require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/ethereum/go-ethereum v1.13.2 - github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 - github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota-core/tools/genesis-snapshot v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a @@ -38,12 +38,12 @@ require ( github.com/holiman/uint256 v1.2.3 // 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-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e // indirect github.com/ipfs/go-cid v0.4.1 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect diff --git a/tools/evil-spammer/go.sum b/tools/evil-spammer/go.sum index 64ad92498..bc6888844 100644 --- a/tools/evil-spammer/go.sum +++ b/tools/evil-spammer/go.sum @@ -171,34 +171,34 @@ 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-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= -github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e h1:t6v4t5IKNzReLdifmtBlVhzkMg9+RHdctI7qC+f6M+E= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e h1:MK4+bsmS5WIsyLePSZZezrQUrsq0vNbscvBrwS5Y+/E= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e h1:SUBnGnbyUkMcWaEwb9a5jIBnvIMalsONqO7WLCAZ7P4= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e h1:Wi35ILUler+BDY+8Ked3UV5apOQMW8H4fo/NeHjH420= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e h1:eBDCTE79RyK+R8y0a+6bhNNH3a1DVcJcL/SI/pQCwkc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e h1:E3QnpUvyuWwbSAiaA6gcXuPL4lX9WkRpT2jysfx8wKY= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e h1:GoHNPc0yRhM/YXEyr76pCNERXFADkDLYGdjyL4pEVuI= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e h1:RGcm3I3v5U7gdXd+JHfs07MdXINS4SdFeqJiZTmX6Gg= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e h1:Twsk3P5hwGp7yQ9n4yjgojYjtilZloMIaM0/RCHVax4= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e h1:PqL9RpsW8d13L/sxm+Bt7JBh3mcZtxnbjeQh12BdZs8= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e h1:uiQrsFEKzOdVy2bfthh+FDugBeAYWH2PGr/QErVllFw= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e h1:HqX8Vd4kp6w5ZB5KnwqemfCLgfFXDt3oN/l2eawdY3o= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e h1:WBwBHIDQcav+L7TdDBqANb/3YSJ9NtKG9iWznIZskT0= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e h1:Tkp2ooVhNW+u2W4Y2vVauEIi1x7peyQee0tXfkGeEoM= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index 23bce5da1..f3494dd42 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-20231017171701-92122d649415 + github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e github.com/iotaledger/hive.go/apputils v0.0.0-20230829152614-7afc7a4d89b3 github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 ) @@ -58,19 +58,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-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e // indirect github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 // indirect github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad // indirect github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a // indirect diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index 9d690ec40..7a519e148 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -279,36 +279,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-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= -github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415 h1:d8Pp03998JuTpEIAFXwhfkxzy9QyFS/ZGoned3xSTM0= -github.com/iotaledger/hive.go/app v0.0.0-20231017171701-92122d649415/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e h1:t6v4t5IKNzReLdifmtBlVhzkMg9+RHdctI7qC+f6M+E= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e h1:MK4+bsmS5WIsyLePSZZezrQUrsq0vNbscvBrwS5Y+/E= +github.com/iotaledger/hive.go/app v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:q2H/9TE6hvg6TKZI0YoxtbCdrf8O1sYBVjNT2Y3yAIU= 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-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415 h1:qX/ZZab6FFtu+AXXyvWEvK9DKfhOOfSskwjqGmUXJYc= -github.com/iotaledger/hive.go/logger v0.0.0-20231017171701-92122d649415/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e h1:SUBnGnbyUkMcWaEwb9a5jIBnvIMalsONqO7WLCAZ7P4= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e h1:Wi35ILUler+BDY+8Ked3UV5apOQMW8H4fo/NeHjH420= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e h1:eBDCTE79RyK+R8y0a+6bhNNH3a1DVcJcL/SI/pQCwkc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e h1:E3QnpUvyuWwbSAiaA6gcXuPL4lX9WkRpT2jysfx8wKY= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e h1:GoHNPc0yRhM/YXEyr76pCNERXFADkDLYGdjyL4pEVuI= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e h1:RGcm3I3v5U7gdXd+JHfs07MdXINS4SdFeqJiZTmX6Gg= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e h1:Twsk3P5hwGp7yQ9n4yjgojYjtilZloMIaM0/RCHVax4= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e h1:PqL9RpsW8d13L/sxm+Bt7JBh3mcZtxnbjeQh12BdZs8= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e h1:uiQrsFEKzOdVy2bfthh+FDugBeAYWH2PGr/QErVllFw= +github.com/iotaledger/hive.go/logger v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:sxqWRdZ1OOxwkxVczuGcW034Mpt2vFh5ebJHO++ZYeI= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e h1:HqX8Vd4kp6w5ZB5KnwqemfCLgfFXDt3oN/l2eawdY3o= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e h1:WBwBHIDQcav+L7TdDBqANb/3YSJ9NtKG9iWznIZskT0= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e h1:Tkp2ooVhNW+u2W4Y2vVauEIi1x7peyQee0tXfkGeEoM= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811 h1:nR8uTm1Htn2RQOT53RV2zdCIflpuF8N00Tv2FWYimY0= github.com/iotaledger/inx-app v1.0.0-rc.3.0.20231011161248-cf0bd6e08811/go.mod h1:rmclNpXw5sKJDHU0e51Ar/9zL00P7Uu9hkfaM7vAAiE= github.com/iotaledger/inx/go v1.0.0-rc.2.0.20231011154428-257141868dad h1:TRM9EkAole9fYY1vHEVQ6zCEOGuvCWq/bczZ98Al5Ec= diff --git a/tools/genesis-snapshot/go.mod b/tools/genesis-snapshot/go.mod index e12c90553..82385b468 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-20231017171701-92122d649415 - github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 - github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 + github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e + github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e github.com/iotaledger/iota-core v0.0.0-00010101000000-000000000000 github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a github.com/mr-tron/base58 v1.2.0 @@ -26,14 +26,14 @@ require ( github.com/holiman/uint256 v1.2.3 // 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-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 // indirect + github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e // 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 diff --git a/tools/genesis-snapshot/go.sum b/tools/genesis-snapshot/go.sum index 70a0c5ac9..eff909ef2 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-20231017171701-92122d649415 h1:sRINzrMdUHODZoJgP9mAG1T2aF87B1QnB2ovpB8HFOk= -github.com/iotaledger/hive.go/ads v0.0.0-20231017171701-92122d649415/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415 h1:xVMU6RxEH4Z2zjBeet5AOFzFL0/tPMqA+8U1U7O3NkE= -github.com/iotaledger/hive.go/constraints v0.0.0-20231017171701-92122d649415/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415 h1:iDdhyiqZxfSTaR0zxvenJAeP7cI2o4Qe7/XEtzZwq0w= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231017171701-92122d649415/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415 h1:J/r0sQD0x16AdRp93AUA+MmvQK1TswQEt0vj9+EcSEc= -github.com/iotaledger/hive.go/crypto v0.0.0-20231017171701-92122d649415/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415 h1:HMiIuy+ZaOwBUhlh29R2Lz+iZKV1d8D0G94ZXDboYnE= -github.com/iotaledger/hive.go/ds v0.0.0-20231017171701-92122d649415/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415 h1:T3rkFEjtFvgpnrHW6Tbm3ef7zgaodLb6g3CFL98q9JE= -github.com/iotaledger/hive.go/ierrors v0.0.0-20231017171701-92122d649415/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415 h1:nQ8I2IFcsst74fkR20/5RNJdUyBo8Sqe2G9ZzGm9gAk= -github.com/iotaledger/hive.go/kvstore v0.0.0-20231017171701-92122d649415/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415 h1:lbVL/Ad5lfUNfi0DZXq6E44U7K9w3IJNEYVSiaLWWbM= -github.com/iotaledger/hive.go/lo v0.0.0-20231017171701-92122d649415/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415 h1:RovMxlqYLRtft99I21gG6vBeiqfdiTSJA/KAez1yExA= -github.com/iotaledger/hive.go/log v0.0.0-20231017171701-92122d649415/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415 h1:IP2qFcUAyGyMdmznaHYrwLQJlOF0GC+Fa4LnCymwp3U= -github.com/iotaledger/hive.go/runtime v0.0.0-20231017171701-92122d649415/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415 h1:4zLaMPqM/+3x0tvpJFHfaT9KqH5SzLInde9UhaCkBL4= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231017171701-92122d649415/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415 h1:2yrWXuam1ioJb78cAdc2nFu9qnG8CAGVspPT1g8Ad7I= -github.com/iotaledger/hive.go/stringify v0.0.0-20231017171701-92122d649415/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e h1:t6v4t5IKNzReLdifmtBlVhzkMg9+RHdctI7qC+f6M+E= +github.com/iotaledger/hive.go/ads v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:IAWZ/5It5P8B41mWyJXJVcG0vuikVRaTFKQnr2D2q+c= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e h1:SUBnGnbyUkMcWaEwb9a5jIBnvIMalsONqO7WLCAZ7P4= +github.com/iotaledger/hive.go/constraints v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e h1:Wi35ILUler+BDY+8Ked3UV5apOQMW8H4fo/NeHjH420= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20231018114558-3d8598f4b26e/go.mod h1:jn3TNmiNRIiQm/rS4VD+7wFHI2+UXABHvCA3PbQxBqI= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e h1:eBDCTE79RyK+R8y0a+6bhNNH3a1DVcJcL/SI/pQCwkc= +github.com/iotaledger/hive.go/crypto v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:jP68na941d9uq7RtnA8aQ/FtIGRGz/51cU4uXrInQFU= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e h1:E3QnpUvyuWwbSAiaA6gcXuPL4lX9WkRpT2jysfx8wKY= +github.com/iotaledger/hive.go/ds v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:qyM/8bkZybh/rw1PSRtzRIg7V1dSX8Qw4S+KeVI3CuQ= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e h1:GoHNPc0yRhM/YXEyr76pCNERXFADkDLYGdjyL4pEVuI= +github.com/iotaledger/hive.go/ierrors v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e h1:RGcm3I3v5U7gdXd+JHfs07MdXINS4SdFeqJiZTmX6Gg= +github.com/iotaledger/hive.go/kvstore v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:DeP4JF4N995LteD0+/o7NsW1bO5IXURIJ27A69Ca5+Y= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e h1:Twsk3P5hwGp7yQ9n4yjgojYjtilZloMIaM0/RCHVax4= +github.com/iotaledger/hive.go/lo v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:4oKCdMEhHMLCudBz79kuvJmgSY/DhfVePNIyJhew/80= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e h1:PqL9RpsW8d13L/sxm+Bt7JBh3mcZtxnbjeQh12BdZs8= +github.com/iotaledger/hive.go/log v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:UF7PzlWdZ2H0Hkxrt4AgJmNVeMXUJzw4RwbHpib1DB0= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e h1:HqX8Vd4kp6w5ZB5KnwqemfCLgfFXDt3oN/l2eawdY3o= +github.com/iotaledger/hive.go/runtime v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:dJeQBt3UjsoRSm2yKiw80vDDgPBtIkun7N16ETmVhl4= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e h1:WBwBHIDQcav+L7TdDBqANb/3YSJ9NtKG9iWznIZskT0= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20231018114558-3d8598f4b26e/go.mod h1:IJgaaxbgKCsNat18jlJJEAxCY2oVYR3F30B+M4vJ89I= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e h1:Tkp2ooVhNW+u2W4Y2vVauEIi1x7peyQee0tXfkGeEoM= +github.com/iotaledger/hive.go/stringify v0.0.0-20231018114558-3d8598f4b26e/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a h1:S/n3ZTjnnl0IIMCx+S0pu5CZNArO6Z+omiXt6dDmPK4= github.com/iotaledger/iota.go/v4 v4.0.0-20231013092100-ad2a52b5ac9a/go.mod h1:XmgOVYZ7805zVEYPwhvqBDVa7XieXRgPrCEGZW35W8k= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= From 0687d55490f1be1784a1acb1311238bbbfbb4106 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:05:56 +0200 Subject: [PATCH 11/17] Handle shutdown engine in block dispatcher --- pkg/protocol/block_dispatcher.go | 6 +++--- pkg/protocol/engine/engine.go | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkg/protocol/block_dispatcher.go b/pkg/protocol/block_dispatcher.go index 2118b1334..545561b05 100644 --- a/pkg/protocol/block_dispatcher.go +++ b/pkg/protocol/block_dispatcher.go @@ -78,7 +78,7 @@ func (b *BlockDispatcher) Dispatch(block *model.Block, src peer.ID) error { matchingEngineFound := false for _, engine := range []*engine.Engine{b.protocol.MainEngineInstance(), b.protocol.CandidateEngineInstance()} { - if engine != nil && !engine.WasStopped() && (engine.ChainID() == slotCommitment.Chain().ForkingPoint.ID() || engine.BlockRequester.HasTicker(block.ID())) { + if engine != nil && !engine.WasShutdown() && (engine.ChainID() == slotCommitment.Chain().ForkingPoint.ID() || engine.BlockRequester.HasTicker(block.ID())) { if b.inSyncWindow(engine, block) { engine.ProcessBlockFromPeer(block, src) } else { @@ -246,6 +246,8 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment // As we already decided to switch and sync to this chain we should make sure that processing the blocks from the commitment // leads to the verified commitment. if targetEngine.Notarization.AcceptedBlocksCount(commitmentID.Slot()) > 0 { + b.protocol.activeEngineMutex.Lock() + newEngine, err := b.protocol.EngineManager.RollbackEngine(commitmentID.Slot() - 1) if err != nil { return ierrors.Wrapf(err, "failed to rollback engine for slot %d", commitmentID.Slot()) @@ -261,8 +263,6 @@ func (b *BlockDispatcher) processWarpSyncResponse(commitmentID iotago.Commitment b.protocol.linkToEngine(newEngine) b.protocol.mainEngine.Shutdown() - - b.protocol.activeEngineMutex.Lock() b.protocol.mainEngine = newEngine targetEngine = newEngine b.protocol.activeEngineMutex.Unlock() diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index 7d0318137..0928aa5cf 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -216,8 +216,8 @@ func New( } func (e *Engine) Shutdown() { - if !e.WasStopped() { - e.TriggerStopped() + if !e.WasShutdown() { + e.TriggerShutdown() e.BlockRequester.Shutdown() e.Attestations.Shutdown() @@ -238,6 +238,8 @@ func (e *Engine) Shutdown() { e.Retainer.Shutdown() e.Workers.Shutdown() e.Storage.Shutdown() + + e.TriggerStopped() } } From ba12bec832e314c03427e4cb72ade8945d0f5632 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:22:06 +0200 Subject: [PATCH 12/17] Shorten feature genesis time --- tools/genesis-snapshot/presets/presets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/genesis-snapshot/presets/presets.go b/tools/genesis-snapshot/presets/presets.go index 87b841d7b..4e76be0ce 100644 --- a/tools/genesis-snapshot/presets/presets.go +++ b/tools/genesis-snapshot/presets/presets.go @@ -150,7 +150,7 @@ var Feature = []options.Option[snapshotcreator.Options]{ iotago.NewV3ProtocolParameters( iotago.WithNetworkOptions("feature", "rms"), iotago.WithSupplyOptions(10_000_000_000, 100, 1, 10, 100, 100, 100), - iotago.WithTimeProviderOptions(1697406181, 10, 13), + iotago.WithTimeProviderOptions(1697631694, 10, 13), iotago.WithLivenessOptions(30, 30, 10, 20, 30), // increase/decrease threshold = fraction * slotDurationInSeconds * schedulerRate iotago.WithCongestionControlOptions(500, 500, 500, 800000, 500000, 100000, 1000, 100), From 36606c71e3074ce5d7919994b988a37184c2a1ce Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:36:15 +0200 Subject: [PATCH 13/17] Retainer should not stop engine's WorkerGroup --- pkg/retainer/retainer/retainer.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/retainer/retainer/retainer.go b/pkg/retainer/retainer/retainer.go index 02303485d..72bcd28e9 100644 --- a/pkg/retainer/retainer/retainer.go +++ b/pkg/retainer/retainer/retainer.go @@ -33,14 +33,14 @@ type Retainer struct { stakersResponses *shrinkingmap.ShrinkingMap[uint32, []*apimodels.ValidatorResponse] - workers *workerpool.Group + workerPool *workerpool.WorkerPool module.Module } -func New(workers *workerpool.Group, retainerFunc RetainerFunc, latestCommittedSlotFunc LatestCommittedSlotFunc, finalizedSlotFunc FinalizedSlotFunc, errorHandler func(error)) *Retainer { +func New(workersGroup *workerpool.Group, retainerFunc RetainerFunc, latestCommittedSlotFunc LatestCommittedSlotFunc, finalizedSlotFunc FinalizedSlotFunc, errorHandler func(error)) *Retainer { return &Retainer{ - workers: workers, + workerPool: workersGroup.CreatePool("Retainer", workerpool.WithWorkerCount(1)), store: retainerFunc, stakersResponses: shrinkingmap.New[uint32, []*apimodels.ValidatorResponse](), latestCommittedSlotFunc: latestCommittedSlotFunc, @@ -58,7 +58,7 @@ func NewProvider() module.Provider[*engine.Engine, retainer.Retainer] { e.Storage.Settings().LatestFinalizedSlot, e.ErrorHandler("retainer")) - asyncOpt := event.WithWorkerPool(r.workers.CreatePool("Retainer", workerpool.WithWorkerCount(1))) + asyncOpt := event.WithWorkerPool(r.workerPool) e.Events.BlockDAG.BlockAttached.Hook(func(b *blocks.Block) { if err := r.onBlockAttached(b.ID()); err != nil { @@ -138,7 +138,7 @@ func NewProvider() module.Provider[*engine.Engine, retainer.Retainer] { } func (r *Retainer) Shutdown() { - r.workers.Shutdown() + r.workerPool.Shutdown() } func (r *Retainer) BlockMetadata(blockID iotago.BlockID) (*retainer.BlockMetadata, error) { From d5017956cd8248134ff43b7ab0c63d1913e42853 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:52:50 +0200 Subject: [PATCH 14/17] Debug worker Group --- pkg/protocol/engine/engine.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index 0928aa5cf..4291959d4 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -5,6 +5,7 @@ import ( "io" "os" "path/filepath" + "time" "github.com/libp2p/go-libp2p/core/peer" @@ -236,6 +237,10 @@ func (e *Engine) Shutdown() { e.CommitmentFilter.Shutdown() e.Scheduler.Shutdown() e.Retainer.Shutdown() + go func() { + time.Sleep(5 * time.Second) + fmt.Println(e.Workers.String()) + }() e.Workers.Shutdown() e.Storage.Shutdown() From 4f9273ee6dceadc72c31865a95bf87fff09ea2d4 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 17:02:16 +0200 Subject: [PATCH 15/17] Clock workerpool was not shutdown --- pkg/protocol/engine/clock/blocktime/clock.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/protocol/engine/clock/blocktime/clock.go b/pkg/protocol/engine/clock/blocktime/clock.go index b82846434..bcc3e983c 100644 --- a/pkg/protocol/engine/clock/blocktime/clock.go +++ b/pkg/protocol/engine/clock/blocktime/clock.go @@ -24,6 +24,8 @@ type Clock struct { // confirmedTime contains a notion of time that is anchored to the latest confirmed block. confirmedTime *RelativeTime + workerPool *workerpool.WorkerPool + syncutils.RWMutex // Module embeds the required methods of the module.Interface. @@ -36,6 +38,7 @@ func NewProvider(opts ...options.Option[Clock]) module.Provider[*engine.Engine, return options.Apply(&Clock{ acceptedTime: NewRelativeTime(), confirmedTime: NewRelativeTime(), + workerPool: e.Workers.CreatePool("Clock", workerpool.WithWorkerCount(1)), }, opts, func(c *Clock) { e.HookConstructed(func() { latestCommitmentIndex := e.Storage.Settings().LatestCommitment().Slot() @@ -49,7 +52,7 @@ func NewProvider(opts ...options.Option[Clock]) module.Provider[*engine.Engine, e.Events.Clock.AcceptedTimeUpdated.LinkTo(c.acceptedTime.OnUpdated) e.Events.Clock.ConfirmedTimeUpdated.LinkTo(c.confirmedTime.OnUpdated) - asyncOpt := event.WithWorkerPool(e.Workers.CreatePool("Clock", workerpool.WithWorkerCount(1))) + asyncOpt := event.WithWorkerPool(c.workerPool) c.HookStopped(lo.Batch( e.Events.BlockGadget.BlockAccepted.Hook(func(block *blocks.Block) { c.advanceAccepted(block.IssuingTime()) @@ -96,6 +99,7 @@ func (c *Clock) Snapshot() *clock.Snapshot { } func (c *Clock) Shutdown() { + c.workerPool.Shutdown() c.TriggerStopped() } From b1dec62fa53ea3e87f5f78af5a99e29b2c93deea Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Wed, 18 Oct 2023 17:26:55 +0200 Subject: [PATCH 16/17] Cancel pending clock tasks --- pkg/protocol/engine/clock/blocktime/clock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/engine/clock/blocktime/clock.go b/pkg/protocol/engine/clock/blocktime/clock.go index bcc3e983c..e0141565a 100644 --- a/pkg/protocol/engine/clock/blocktime/clock.go +++ b/pkg/protocol/engine/clock/blocktime/clock.go @@ -38,7 +38,7 @@ func NewProvider(opts ...options.Option[Clock]) module.Provider[*engine.Engine, return options.Apply(&Clock{ acceptedTime: NewRelativeTime(), confirmedTime: NewRelativeTime(), - workerPool: e.Workers.CreatePool("Clock", workerpool.WithWorkerCount(1)), + workerPool: e.Workers.CreatePool("Clock", workerpool.WithWorkerCount(1), workerpool.WithCancelPendingTasksOnShutdown(true), workerpool.WithPanicOnSubmitAfterShutdown(true)), }, opts, func(c *Clock) { e.HookConstructed(func() { latestCommitmentIndex := e.Storage.Settings().LatestCommitment().Slot() From 6b41e5de237740db9d79e3a438803c543cf5a4c0 Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:02:27 +0200 Subject: [PATCH 17/17] Address review comments --- pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go | 3 ++- pkg/protocol/engine/engine.go | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go b/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go index c0dafec77..b368f1278 100644 --- a/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go +++ b/pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go @@ -41,7 +41,6 @@ type BlockDAG struct { func NewProvider(opts ...options.Option[BlockDAG]) module.Provider[*engine.Engine, blockdag.BlockDAG] { return module.Provide(func(e *engine.Engine) blockdag.BlockDAG { - b := New(e.Workers.CreateGroup("BlockDAG"), int(e.Storage.Settings().APIProvider().CommittedAPI().ProtocolParameters().MaxCommittableAge())*2, e.EvictionState, e.BlockCache, e.ErrorHandler("blockdag"), opts...) e.HookConstructed(func() { @@ -78,6 +77,8 @@ func (b *BlockDAG) setupBlock(block *blocks.Block) { block.ForEachParent(func(parent iotago.Parent) { parentBlock, exists := b.blockCache.Block(parent.ID) if !exists { + b.errorHandler(ierrors.Errorf("failed to setup block %s, parent %s is missing", block.ID(), parent.ID)) + return } diff --git a/pkg/protocol/engine/engine.go b/pkg/protocol/engine/engine.go index 5395eee36..6406d5b28 100644 --- a/pkg/protocol/engine/engine.go +++ b/pkg/protocol/engine/engine.go @@ -237,10 +237,6 @@ func (e *Engine) Shutdown() { e.CommitmentFilter.Shutdown() e.Scheduler.Shutdown() e.Retainer.Shutdown() - go func() { - time.Sleep(5 * time.Second) - fmt.Println(e.Workers.String()) - }() e.Workers.Shutdown() e.Storage.Shutdown()