Commit 1dba080f authored by Matt Joiner's avatar Matt Joiner
Browse files

Move to anacrolix/stm

parent fafcb97d
......@@ -8,8 +8,8 @@ import (
"github.com/anacrolix/missinggo/v2/conntrack"
"github.com/anacrolix/missinggo/v2/iter"
"github.com/lukechampine/stm"
"github.com/lukechampine/stm/stmutil"
"github.com/anacrolix/stm"
"github.com/anacrolix/stm/stmutil"
"github.com/willf/bloom"
"github.com/anacrolix/dht/v2/krpc"
......
package dht
import (
"github.com/lukechampine/stm/rate"
"github.com/anacrolix/stm/rate"
)
var defaultSendLimiter = rate.NewLimiter(25, 25)
......@@ -4,7 +4,8 @@ require (
github.com/anacrolix/envpprof v1.0.1
github.com/anacrolix/log v0.3.1-0.20190913000754-831e4ffe0174
github.com/anacrolix/missinggo v1.2.1
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191101011458-82a06684e1c9
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191103010835-12360f38ced0
github.com/anacrolix/stm v0.1.0
github.com/anacrolix/sync v0.2.0
github.com/anacrolix/tagflag v1.0.1
github.com/anacrolix/torrent v1.7.1
......@@ -19,5 +20,3 @@ require (
)
go 1.13
replace github.com/lukechampine/stm => github.com/anacrolix/stm v0.0.0-20191102104501-9bf56d22767b
......@@ -40,12 +40,16 @@ github.com/anacrolix/missinggo/v2 v2.2.0 h1:JUZh/gF/F4hXejj6I71wuO92MQDwQdLM3yRg
github.com/anacrolix/missinggo/v2 v2.2.0/go.mod h1:o0jgJoYOyaoYQ4E2ZMISVa9c88BbUBVQQW4QeRkNCGY=
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191101011458-82a06684e1c9 h1:UHbhazB778Q10vLLC+QxTVxouI/vQ30S5dsFh0McZpo=
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191101011458-82a06684e1c9/go.mod h1:exO54zGN3NlmbfgJ3DlmyddQFSwfQbjHVT+7w8mHDew=
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191103010835-12360f38ced0 h1:CKpmXohN3580GQj5mmIZgY8Dzc1qtqm81kukK7YlwJg=
github.com/anacrolix/missinggo/v2 v2.2.1-0.20191103010835-12360f38ced0/go.mod h1:ZzG3/cc3t+5zcYWAgYrJW0MBsSwNwOkTlNquBbP51Bc=
github.com/anacrolix/mmsg v0.0.0-20180515031531-a4a3ba1fc8bb/go.mod h1:x2/ErsYUmT77kezS63+wzZp8E3byYB0gzirM/WMBLfw=
github.com/anacrolix/mmsg v1.0.0/go.mod h1:x8kRaJY/dCrY9Al0PEcj1mb/uFHwP6GCJ9fLl4thEPc=
github.com/anacrolix/stm v0.0.0-20191031052127-d04075d6f23e h1:YeX6qcKZDpQaJN0M2nssJzKBoPpIA88Wgc+iK7F4QKY=
github.com/anacrolix/stm v0.0.0-20191031052127-d04075d6f23e/go.mod h1:wTLsd5FC9rts7GkMpsPGk64CIuea+03yaLAp19Jmlg8=
github.com/anacrolix/stm v0.0.0-20191102104501-9bf56d22767b h1:R7jT5ClYKNAB7E4x3Tj07FXNtm0GF9OzUfQ1uQjxaEY=
github.com/anacrolix/stm v0.0.0-20191102104501-9bf56d22767b/go.mod h1:+LgX5tLMH/MmapICSjBO4LY1iIMSuySbhHlquq5cjEs=
github.com/anacrolix/stm v0.1.0 h1:B/Kt3e4+0uqJoLcNZFW69cCBASok6WxX9CEhz9PqIPM=
github.com/anacrolix/stm v0.1.0/go.mod h1:ZKz7e7ERWvP0KgL7WXfRjBXHNRhlVRlbBQecqFtPq+A=
github.com/anacrolix/sync v0.0.0-20171108081538-eee974e4f8c1/go.mod h1:+u91KiUuf0lyILI6x3n/XrW7iFROCZCG+TjgK8nW52w=
github.com/anacrolix/sync v0.0.0-20180611022320-3c4cb11f5a01 h1:14t4kCoWXaUXrHErRD0bLMNolOE50nyPA0gO8+J3hP8=
github.com/anacrolix/sync v0.0.0-20180611022320-3c4cb11f5a01/go.mod h1:+u91KiUuf0lyILI6x3n/XrW7iFROCZCG+TjgK8nW52w=
......
......@@ -6,7 +6,7 @@ import (
"net"
"github.com/anacrolix/missinggo/v2"
"github.com/lukechampine/stm/stmutil"
"github.com/anacrolix/stm/stmutil"
"github.com/anacrolix/dht/v2/krpc"
)
......
......@@ -20,7 +20,7 @@ import (
"github.com/anacrolix/torrent/metainfo"
"github.com/pkg/errors"
"github.com/lukechampine/stm"
"github.com/anacrolix/stm"
"github.com/anacrolix/dht/v2/krpc"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment