Skip to content

Commit

Permalink
New hive.go workerpool.Group
Browse files Browse the repository at this point in the history
  • Loading branch information
karimodm committed Oct 18, 2023
1 parent 75e0aa2 commit 2278eb3
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 162 deletions.
28 changes: 14 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
56 changes: 28 additions & 28 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
28 changes: 14 additions & 14 deletions tools/evil-spammer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit 2278eb3

Please sign in to comment.