Coder Social home page Coder Social logo

sia-ant-farm's People

Contributors

acejam avatar avahowell avatar chrisschinnerl avatar fuffenz avatar hashbender avatar lukechampine avatar mtlynch avatar rmcdaniel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sia-ant-farm's Issues

Make shutdown cross platform

currently the ants are shut down using a signal that does not work on Windows. We need a cross platform solution

No sia-ant executable, only sia-antfarm

Hi!
Acording to the instructions in the README file, I've downloaded and compiled the project, both in windows and linux and in none of them i get the sia-ant.exe / sia-ant executable, only sia-antfarm.exe / sia-antfarm.

Is it correct?

Thanks in advance.

ants should be closed cleanly

Clean shutdown should also happen quickly. Currently we will define it as 5 minutes, but as the shutdown code gets better we'll tighten that, eventually it'll ideally be under 15 seconds.

Running with Docker?

I've been trying to get this to work inside a local Docker container. From what I can tell, it's simply using v1.3.3 of Sia. I've had to fork this project and modify the URLs and imports to use GitLab.com references. However, I have received various stack traces. When running locally directly on macOS though, everything works just fine.

Once I get this working, I plan to release a public image for it - allowing others to easily bootstrap a local Sia testnet for easy application development.

Are there any encoding or environment variables that need to be set in order to run multiple instances of Sia properly? (via Ant Farm)

root@c02f61fb8726:/antfarm-data# cat ant992478254/sia-output.log
Sia Daemon v1.3.3
WARN: compiled without build commit or version. To compile correctly, please use the makefile
Loading...
(0/7) Loading siad...
(1/7) Loading gateway...
(2/7) Loading consensus...
(3/7) Loading transaction pool...
(4/7) Loading wallet...
(5/7) Loading miner...
(6/7) Loading host...
(7/7) Loading renter...
Finished loading in 0.0467124 seconds
unexpected fault address 0x7fd1d1d22935
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7fd1d1d22935 pc=0x45c017]

goroutine 1242 [running]:
runtime.throw(0xaac297, 0x5)
	/usr/lib/go-1.10/src/runtime/panic.go:619 +0x81 fp=0xc4205050b8 sp=0xc420505098 pc=0x42c2a1
runtime.sigpanic()
	/usr/lib/go-1.10/src/runtime/signal_unix.go:395 +0x211 fp=0xc420505108 sp=0xc4205050b8 pc=0x441901
runtime.memmove(0xc42030ae28, 0x7fd1d1d22935, 0x20)
	/usr/lib/go-1.10/src/runtime/memmove_amd64.s:178 +0x147 fp=0xc420505110 sp=0xc420505108 pc=0x45c017
golang.org/x/crypto/blake2b.(*digest).Write(0xc42030ad80, 0x7fd1d1d22935, 0x20, 0x1cb, 0xc420308210, 0x20, 0x0)
	/go/src/golang.org/x/crypto/blake2b/blake2b.go:219 +0x92 fp=0xc420505178 sp=0xc420505110 pc=0x54a362
gitlab.com/NebulousLabs/Sia/encoding.(*Encoder).Write(0xc420308210, 0x7fd1d1d22935, 0x20, 0x1cb, 0x1, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/marshal.go:76 +0x6f fp=0xc4205051c8 sp=0xc420505178 pc=0x5524ef
gitlab.com/NebulousLabs/Sia/encoding.(*Encoder).WritePrefixedBytes(0xc420308210, 0x7fd1d1d22935, 0x20, 0x1cb, 0x45678abe198d8d32, 0x7fd1d1eba000)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/marshal.go:119 +0x61 fp=0xc420505210 sp=0xc4205051c8 pc=0x552881
gitlab.com/NebulousLabs/Sia/types.Transaction.marshalSiaNoSignatures(0xf33348, 0x0, 0x0, 0xf33348, 0x0, 0x0, 0xf33348, 0x0, 0x0, 0xf33348, ...)
	/go/src/gitlab.com/NebulousLabs/Sia/types/encoding.go:750 +0x63f fp=0xc420505370 sp=0xc420505210 pc=0x57362f
gitlab.com/NebulousLabs/Sia/types.Transaction.ID(0xf33348, 0x0, 0x0, 0xf33348, 0x0, 0x0, 0xf33348, 0x0, 0x0, 0xf33348, ...)
	/go/src/gitlab.com/NebulousLabs/Sia/types/transactions.go:158 +0xd7 fp=0xc420505498 sp=0xc420505370 pc=0x579667
gitlab.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).ProcessConsensusChange(0xc420246160, 0xf61ebf5c62fc6515, 0x2e6d2e1d76b55c70, 0x71d2fe859f75d0a7, 0xe869d931417ba756, 0xc4204a0600, 0xf, 0x10, 0xc4204a0c00, 0x10, ...)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/transactionpool/update.go:346 +0x1c7a fp=0xc420507010 sp=0xc420505498 pc=0x8f984a
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).updateSubscribers(0xc420196780, 0xc420522200, 0xf, 0x10, 0xc420522400, 0x10, 0x10)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/subscribe.go:121 +0x17d fp=0xc4205072b0 sp=0xc420507010 pc=0x7982ed
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedAcceptBlocks(0xc420196780, 0xc420182a80, 0x1a, 0x1a, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/accept.go:308 +0x588 fp=0xc4205074d0 sp=0xc4205072b0 pc=0x786c18
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks(0xc420196780, 0xb5cf00, 0xc42033c1c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:225 +0x4d5 fp=0xc420507da8 sp=0xc4205074d0 pc=0x799c65
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks(0xc420196780, 0xb5cf00, 0xc42033c1c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:259 +0x17a fp=0xc420507e00 sp=0xc420507da8 pc=0x799ffa
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).(gitlab.com/NebulousLabs/Sia/modules/consensus.threadedReceiveBlocks)-fm(0xb5cf00, 0xc42033c1c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/consensusset.go:179 +0x3e fp=0xc420507e38 sp=0xc420507e00 pc=0x7a565e
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc420098136, 0xe, 0xab6728, 0xa, 0xc420260030, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab fp=0xc420507f08 sp=0xc420507e38 pc=0x82c64b
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).callInitRPCs.func1(0xc4200f8580, 0xc420098136, 0xe, 0xab6728, 0xa, 0xc420260030)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:84 +0xe5 fp=0xc420507fb0 sp=0xc420507f08 pc=0x830605
runtime.goexit()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420507fb8 sp=0xc420507fb0 pc=0x45b661
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).callInitRPCs
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:78 +0xd8

goroutine 1 [select, 1 minutes]:
main.startDaemon.func3(0xc420086300, 0xc4202afce0, 0xc4200ca0f0, 0x26, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:203 +0xcd
main.startDaemon(0x0, 0x0, 0x7fff9dca0ee0, 0xe, 0x7fff9dca0efa, 0xe, 0x7fff9dca0f15, 0xe, 0x0, 0x7fff9dca0e94, ...)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:210 +0x4e9
main.startDaemonCmd(0xc420103b80, 0xc4200cc660, 0x0, 0x6)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:236 +0x162
github.com/spf13/cobra.(*Command).execute(0xc420103b80, 0xc4200a4010, 0x6, 0x6, 0xc420103b80, 0xc4200a4010)
	/go/src/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/spf13/cobra.(*Command).ExecuteC(0xc420103b80, 0xad9788, 0x3b, 0xc4200c3a40)
	/go/src/github.com/spf13/cobra/command.go:852 +0x30a
github.com/spf13/cobra.(*Command).Execute(0xc420103b80, 0xf156c0, 0xac0375)
	/go/src/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/main.go:174 +0x6fe

goroutine 19 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
	/usr/lib/go-1.10/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
	/usr/lib/go-1.10/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/usr/lib/go-1.10/src/os/signal/signal_unix.go:28 +0x41

goroutine 20 [chan receive, 1 minutes]:
main.startDaemon.func1(0xc4200cc720)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:171 +0x38
created by main.startDaemon
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:170 +0x186

goroutine 21 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7fd1d1e5efc0, 0x72, 0x0)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420092318, 0x72, 0xc42006a000, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420092318, 0xffffffffffffff00, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc420092300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc420092300, 0x401cf7, 0xc4200c3ca0, 0x9e68e0)
	/usr/lib/go-1.10/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42009e0d8, 0x457db0, 0xc42004eea0, 0xc42004eea8)
	/usr/lib/go-1.10/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42009e0d8, 0xae96d8, 0xc4200c3c20, 0xb59d60, 0xc4201bc090)
	/usr/lib/go-1.10/src/net/tcpsock.go:259 +0x49
net/http.(*Server).Serve(0xc4200971e0, 0xb591a0, 0xc42009e0d8, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/server.go:2770 +0x1a5
main.(*Server).Serve(0xc4200ca0f0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/server.go:608 +0x44
main.startDaemon.func2(0xc420086300, 0xc4200ca0f0)
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:186 +0x2b
created by main.startDaemon
	/go/src/gitlab.com/NebulousLabs/Sia/cmd/siad/daemon.go:185 +0x2a2

goroutine 22 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedSaveLoop(0xc4200f8580)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/persist.go:57 +0x10b
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:260 +0x577

goroutine 23 [select]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentListen(0xc4200f8580, 0xc4200863c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:129 +0x185
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:312 +0xa70

goroutine 24 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedSleep(0xc4200f8580, 0x2540be400, 0x1)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:164 +0xf5
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentPeerManager(0xc4200f8580, 0xc420086420)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:88 +0x756
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:319 +0xb12

goroutine 25 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc4201ec180, 0xc4200242a8, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc42033cf40, 0xc4200242a8, 0x8, 0x8, 0x8, 0x9c19a0, 0xc4201ec201, 0xc4200242a8)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc42033cf40, 0xc4200242a8, 0x8, 0x8, 0x8, 0xc42033d100, 0x20)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc42033cf40, 0x532, 0x410688, 0xa032e0, 0xa53f80, 0x0, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc42033cf40, 0x99d920, 0xc42033d100, 0x532, 0x0, 0xf152e0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).requestNodes(0xc4200f8580, 0xb5cf00, 0xc42033cf40, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/nodes.go:171 +0x108
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).(gitlab.com/NebulousLabs/Sia/modules/gateway.requestNodes)-fm(0xb5cf00, 0xc42033cf40, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:246 +0x3e
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc42035e8e6, 0xe, 0xab673c, 0xa, 0xc4201f4e70, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodeManager(0xc4200f8580, 0xc420086480)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/nodes.go:316 +0x301
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:326 +0xbbd

goroutine 26 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodePurger(0xc4200f8580, 0xc4200864e0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/nodes.go:227 +0x1ae
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:333 +0xc68

goroutine 1196 [semacquire]:
sync.runtime_SemacquireMutex(0xc420196954, 0x0)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420196950)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
gitlab.com/NebulousLabs/demotemutex.(*DemoteMutex).Lock(0xc420196950)
	/go/src/gitlab.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x2d
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedAcceptBlocks(0xc420196780, 0xc4203ec180, 0x2, 0x2, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/accept.go:223 +0x67
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks(0xc420196780, 0xb5cf00, 0xc420138740, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:225 +0x4d5
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks(0xc420196780, 0xb5cf00, 0xc420138740, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:259 +0x17a
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).(gitlab.com/NebulousLabs/Sia/modules/consensus.threadedReceiveBlocks)-fm(0xb5cf00, 0xc420138740, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/consensusset.go:179 +0x3e
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xab6728, 0xa, 0xc420260030, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).callInitRPCs.func1(0xc4200f8580, 0xc4202440d6, 0xe, 0xab6728, 0xa, 0xc420260030)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:84 +0xe5
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).callInitRPCs
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:78 +0xd8

goroutine 28 [chan receive]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers(0xc4200f8580, 0xc42022a060, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:81 +0x464
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname(0xc4200f8580, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:69 +0x21b
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedLearnHostname(0xc4200f8580)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:93 +0xa0
created by gitlab.com/NebulousLabs/Sia/modules/gateway.New
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:337 +0xcc4

goroutine 30 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname.func1(0x0, 0xc420194570, 0xc4200f8580, 0xb59d20, 0xc4200ccae0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:52 +0x12e
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:51 +0xdd

goroutine 1194 [select]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedSleep(0xc4200f8580, 0x3b9aca00, 0xc4200f8580)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:164 +0xf5
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer(0xc4200f8580, 0xc4202fe0c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:181 +0x2c9
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).addPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x96

goroutine 1228 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0xc420304b40)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0x11d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x1b7

goroutine 407 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname.func1(0xc420026600, 0xc4202600f0, 0xc4200f8580, 0xb59d20, 0xc4201c49c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:52 +0x12e
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:51 +0xdd

goroutine 6 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).threadedRegularSync(0xc420246160)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/transactionpool/persist.go:28 +0x181
created by gitlab.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).initPersist
	/go/src/gitlab.com/NebulousLabs/Sia/modules/transactionpool/persist.go:123 +0x3a1

goroutine 7 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/wallet.(*Wallet).threadedDBUpdate(0xc42027a000)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/wallet/database.go:79 +0x143
created by gitlab.com/NebulousLabs/Sia/modules/wallet.(*Wallet).initPersist
	/go/src/gitlab.com/NebulousLabs/Sia/modules/wallet/persist.go:169 +0x536

goroutine 8 [select]:
gitlab.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).threadedSyncLoop(0xc420247828, 0xc4200266c0, 0xc420026720)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:290 +0x14f
created by gitlab.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).spawnSyncLoop
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:245 +0xed

goroutine 9 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/host/contractmanager.(*ContractManager).threadedFolderRecheck(0xc420247760)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/contractmanager/storagefolder.go:295 +0x3fd
created by gitlab.com/NebulousLabs/Sia/modules/host/contractmanager.newContractManager
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/contractmanager/contractmanager.go:213 +0x675

goroutine 1210 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc42006c240, 0xc4204a40c8, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc4202c63c0, 0xc4204a40c8, 0x8, 0x8, 0x8, 0x9c19a0, 0x453eab9601, 0xc4204a40c8)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc4202c63c0, 0xc4204a40c8, 0x8, 0x8, 0x8, 0xc420194390, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc4202c63c0, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc4202c63c0, 0x9ae1a0, 0xc420194390, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc4202c63c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc420098136, 0xe, 0xab650c, 0xa, 0xc4202c60a0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc420098136, 0xe, 0xab650c, 0xa, 0xc4202c60a0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 11 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7fd1d1e5ec80, 0x72, 0x0)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420020798, 0x72, 0xc4201c2100, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420020798, 0xffffffffffffff00, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc420020780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc420020780, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42000e648, 0x42adb9, 0x8, 0xc4200a2800)
	/usr/lib/go-1.10/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42000e648, 0xae9ac0, 0xc420026900, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/tcpsock.go:259 +0x49
gitlab.com/NebulousLabs/Sia/modules/host.(*Host).threadedListen(0xc42029cb00, 0xc420026900)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:317 +0x7c
created by gitlab.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:239 +0x26a

goroutine 1252 [select]:
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks.func1(0xc420196780, 0xc4200267e0, 0xb5cf00, 0xc42033c1c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:148 +0xdd
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:147 +0x130

goroutine 12 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).threadedSaveLoop(0xc420247b80)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/hostdb/persist.go:86 +0xf5
created by gitlab.com/NebulousLabs/Sia/modules/renter/hostdb.NewCustomHostDB
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:139 +0x405

goroutine 13 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).threadedScan(0xc420247b80)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:473 +0xb9a
created by gitlab.com/NebulousLabs/Sia/modules/renter/hostdb.NewCustomHostDB
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:183 +0x6f7

goroutine 32 [IO wait]:
internal/poll.runtime_pollWait(0x7fd1d1e5eae0, 0x72, 0xc4201f0ba0)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420092618, 0x72, 0xffffffffffffff00, 0xb55320, 0xdfe770)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420092618, 0xc42032a000, 0x1000, 0x1000)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420092600, 0xc42032a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420092600, 0xc42032a000, 0x1000, 0x1000, 0xc4201f0cb0, 0x753bca, 0xc4203100f8)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42009e140, 0xc42032a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
net/http.(*connReader).Read(0xc4203100f0, 0xc42032a000, 0x1000, 0x1000, 0xbecd6fcb4f28c3c8, 0x610bf4fe05, 0xf152e0)
	/usr/lib/go-1.10/src/net/http/server.go:764 +0xf8
bufio.(*Reader).fill(0xc4200ccfc0)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4200ccfc0, 0x4, 0x610bf4fe05, 0xf152e0, 0x0, 0x0, 0xf152e0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*conn).serve(0xc4200c3c20, 0xb59ca0, 0xc4200a29c0)
	/usr/lib/go-1.10/src/net/http/server.go:1855 +0x7c3
created by net/http.(*Server).Serve
	/usr/lib/go-1.10/src/net/http/server.go:2795 +0x27b

goroutine 15 [sleep, 1 minutes]:
time.Sleep(0xdf8475800)
	/usr/lib/go-1.10/src/runtime/time.go:102 +0x166
gitlab.com/NebulousLabs/Sia/sync.(*RWMutex).threadedDeadlockFinder(0xc4202fe380)
	/go/src/gitlab.com/NebulousLabs/Sia/sync/lock.go:78 +0x387
created by gitlab.com/NebulousLabs/Sia/sync.New
	/go/src/gitlab.com/NebulousLabs/Sia/sync/lock.go:47 +0x8a

goroutine 16 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedDownloadLoop(0xc42026ad80)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/downloadheap.go:213 +0x2c4
created by gitlab.com/NebulousLabs/Sia/modules/renter.NewCustomRenter
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/renter.go:536 +0x4e6

goroutine 66 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedUploadLoop(0xc42026ad80)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/uploadheap.go:385 +0x27f
created by gitlab.com/NebulousLabs/Sia/modules/renter.NewCustomRenter
	/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/renter.go:537 +0x508

goroutine 67 [select, 1 minutes, locked to thread]:
runtime.gopark(0xae9d00, 0x0, 0xaaecec, 0x6, 0x18, 0x1)
	/usr/lib/go-1.10/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc4202fd750, 0xc420026cc0)
	/usr/lib/go-1.10/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
	/usr/lib/go-1.10/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1

goroutine 1237 [IO wait]:
internal/poll.runtime_pollWait(0x7fd1d1e5ee20, 0x72, 0xc4202f5c48)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420092198, 0x72, 0xffffffffffffff00, 0xb55320, 0xdfe770)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420092198, 0xc420408000, 0x8, 0x10008)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420092180, 0xc420408000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420092180, 0xc420408000, 0x8, 0x10008, 0xc420092180, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e008, 0xc420408000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
io.ReadAtLeast(0x7fd1d1dc6110, 0xc42000e008, 0xc420408000, 0x8, 0x10008, 0x8, 0xa863e0, 0x0, 0x7fd1d1dc6110)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1dc6110, 0xc42000e008, 0xc420408000, 0x8, 0x10008, 0x0, 0xf152e0, 0x7b734c)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).readFrame(0xc42019a1b0, 0xc420408000, 0x10008, 0x10008, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x156
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc42019a1b0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xfa
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x173

goroutine 1230 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer.func1(0xc420087500, 0xc4200f8580, 0xc420087560, 0xc4204578c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x10b
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x112

goroutine 1227 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0xc420304b40)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x19d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x195

goroutine 1193 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0xc4201e6090)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0x11d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x1b7

goroutine 1238 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0xc42019a1b0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x19d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x195

goroutine 1199 [select]:
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks.func1(0xc420196780, 0xc4202981e0, 0xb5cf00, 0xc420138740)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:148 +0xdd
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:147 +0x130

goroutine 1209 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc42006c180, 0xc4204a40a0, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc4202c6260, 0xc4204a40a0, 0x8, 0x8, 0x8, 0x9c19a0, 0x453ea90e01, 0xc4204a40a0)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc4202c6260, 0xc4204a40a0, 0x8, 0x8, 0x8, 0xc420194380, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc4202c6260, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc4202c6260, 0x9ae1a0, 0xc420194380, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc4202c6260, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc42035e8e6, 0xe, 0xab650c, 0xa, 0xc4202c6080, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc42035e8e6, 0xe, 0xab650c, 0xa, 0xc4202c6080, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 406 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/host.(*Host).threadedTrackConnectabilityStatus(0xc42029cb00, 0xc42022a300)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:147 +0x3ed
created by gitlab.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking.func2
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:232 +0x291

goroutine 1192 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0xc4201e6090)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x19d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x195

goroutine 1239 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0xc42019a1b0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0x11d
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x1b7

goroutine 1251 [select]:
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks.func1(0xc420196780, 0xc420026780, 0xb5cf00, 0xc42033c1c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:248 +0xdd
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:247 +0x107

goroutine 1226 [IO wait]:
internal/poll.runtime_pollWait(0x7fd1d1e5ed50, 0x72, 0xc4204e9448)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420208998, 0x72, 0xffffffffffffff00, 0xb55320, 0xdfe770)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420208998, 0xc42036c000, 0x8, 0x10008)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420208980, 0xc42036c000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420208980, 0xc42036c000, 0x8, 0x10008, 0xc420208980, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc4200da070, 0xc42036c000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
io.ReadAtLeast(0x7fd1d1dc6110, 0xc4200da070, 0xc42036c000, 0x8, 0x10008, 0x8, 0xa863e0, 0x0, 0x7fd1d1dc6110)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1dc6110, 0xc4200da070, 0xc42036c000, 0x8, 0x10008, 0x0, 0xf152e0, 0x7b734c)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).readFrame(0xc420304b40, 0xc42036c000, 0x10008, 0x10008, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x156
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc420304b40)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xfa
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x173

goroutine 1208 [select]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer.func1(0xc420086120, 0xc4200f8580, 0xc420086180, 0xc4203343c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x10b
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x112

goroutine 1198 [select]:
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks.func1(0xc420196780, 0xc420298180, 0xb5cf00, 0xc420138740)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:248 +0xdd
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedReceiveBlocks
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:247 +0x107

goroutine 1211 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc42006c0c0, 0xc4204a4038, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc4202c6100, 0xc4204a4038, 0x8, 0x8, 0x8, 0x9c19a0, 0x453ea60101, 0xc4204a4038)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc4202c6100, 0xc4204a4038, 0x8, 0x8, 0x8, 0xc420194370, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc4202c6100, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc4202c6100, 0x9ae1a0, 0xc420194370, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc4202c6100, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xab650c, 0xa, 0xc4202c60c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xab650c, 0xa, 0xc4202c60c0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 1269 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc4201ec240, 0xc420024330, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc42033d160, 0xc420024330, 0x8, 0x8, 0x8, 0x9c19a0, 0x453be00b01, 0xc420024330)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc42033d160, 0xc420024330, 0x8, 0x8, 0x8, 0xc420260130, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc42033d160, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc42033d160, 0x9ae1a0, 0xc420260130, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc42033d160, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc420098136, 0xe, 0xab650c, 0xa, 0xc420139a40, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc420098136, 0xe, 0xab650c, 0xa, 0xc420139a40, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 1229 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).AcceptStream(0xc420304b40, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x222
gitlab.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0xc420304b40, 0xc4201aa6c8, 0x457db0, 0xc4201aa708, 0xc4201aa710)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x2b
gitlab.com/NebulousLabs/Sia/modules/gateway.(*peer).accept(0xc4204578c0, 0xae8f68, 0xc420087500, 0xc4200f8580, 0xc420087560)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x38
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer(0xc4200f8580, 0xc4204578c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0x123
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).addPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x96

goroutine 405 [select, 1 minutes]:
gitlab.com/NebulousLabs/Sia/modules/host.(*Host).threadedTrackWorkingStatus(0xc42029cb00, 0xc42022a2a0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:83 +0x2b7
created by gitlab.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking.func2
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:226 +0x1fa

goroutine 404 [chan receive]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers(0xc4200f8580, 0xc4200263c0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:81 +0x464
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedLearnHostname(0xc4200f8580, 0xc420026600, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/upnp.go:69 +0x21b
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).DiscoverAddress(0xc4200f8580, 0xc420026600, 0x1, 0x1, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/gateway.go:195 +0x35
gitlab.com/NebulousLabs/Sia/modules/host.(*Host).managedLearnHostname(0xc42029cb00)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/upnp.go:42 +0x181
gitlab.com/NebulousLabs/Sia/modules/host.(*Host).threadedUpdateHostname(0xc42029cb00, 0xc42022a240)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:37 +0x6d
created by gitlab.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking.func2
	/go/src/gitlab.com/NebulousLabs/Sia/modules/host/network.go:220 +0x163

goroutine 1267 [semacquire]:
sync.runtime_Semacquire(0xc42038625c)
	/usr/lib/go-1.10/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc420386250)
	/usr/lib/go-1.10/src/sync/waitgroup.go:129 +0x72
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedRPCRelayHeader.func2.1(0xc420386250, 0xc420196780)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:410 +0x2b
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedRPCRelayHeader.func2
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:409 +0x49

goroutine 1266 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc4201e4240, 0xc42009cc70, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc4201e8fe0, 0xc42009cc70, 0x8, 0x8, 0x8, 0x9c19a0, 0xc4201e9101, 0xc42009cc70)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc4201e8fe0, 0xc42009cc70, 0x8, 0x8, 0x8, 0xc4201e3440, 0x60)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc4201e8fe0, 0x1e8480, 0x410688, 0xa032e0, 0xa53f80, 0x0, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc4201e8fe0, 0xa47c20, 0xc4201e3440, 0x1e8480, 0x0, 0xc4201e42f8)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlock.func1(0xb5cf00, 0xc4201e8fe0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:526 +0x16d
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xaafe61, 0x7, 0xc420436c00, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xaafe61, 0x7, 0xc420436c00, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedRPCRelayHeader.func5(0xc420386250, 0xc420196780, 0xb5cf00, 0xc4201395a0, 0xc420242000, 0xc4200500a0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:459 +0x140
created by gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedRPCRelayHeader
	/go/src/gitlab.com/NebulousLabs/Sia/modules/consensus/synchronize.go:457 +0x408

goroutine 1270 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc4203ec0c0, 0xc4203862b8, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc420139aa0, 0xc4203862b8, 0x8, 0x8, 0x8, 0x9c19a0, 0x453bde0001, 0xc4203862b8)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc420139aa0, 0xc4203862b8, 0x8, 0x8, 0x8, 0xc420050100, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc420139aa0, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc420139aa0, 0x9ae1a0, 0xc420050100, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc420139aa0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xab650c, 0xa, 0xc420139a60, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc4202440d6, 0xe, 0xab650c, 0xa, 0xc420139a60, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 1240 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).AcceptStream(0xc42019a1b0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x222
gitlab.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0xc42019a1b0, 0xc4202f56c8, 0x457db0, 0xc4202f5708, 0xc4202f5710)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x2b
gitlab.com/NebulousLabs/Sia/modules/gateway.(*peer).accept(0xc4203343c0, 0xae8f68, 0xc420086120, 0xc4200f8580, 0xc420086180)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x38
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer(0xc4200f8580, 0xc4203343c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0x123
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).addPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x96

goroutine 1191 [IO wait]:
internal/poll.runtime_pollWait(0x7fd1d1e5ebb0, 0x72, 0xc4204e5448)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420208198, 0x72, 0xffffffffffffff00, 0xb55320, 0xdfe770)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420208198, 0xc420348000, 0x8, 0x10008)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420208180, 0xc420348000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420208180, 0xc420348000, 0x8, 0x10008, 0xc420208180, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc4200da030, 0xc420348000, 0x8, 0x10008, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
io.ReadAtLeast(0x7fd1d1dc6110, 0xc4200da030, 0xc420348000, 0x8, 0x10008, 0x8, 0xa863e0, 0x0, 0x7fd1d1dc6110)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1dc6110, 0xc4200da030, 0xc420348000, 0x8, 0x10008, 0x0, 0xf152e0, 0x7b734c)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).readFrame(0xc4201e6090, 0xc420348000, 0x10008, 0x10008, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x156
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc4201e6090)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xfa
created by gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x173

goroutine 1268 [select]:
gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Stream).Read(0xc4201e4300, 0xc42009cc98, 0x8, 0x8, 0x0, 0xb53ae0, 0xc420090050)
	/go/src/gitlab.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/stream.go:65 +0x2dd
io.ReadAtLeast(0x7fd1d1d7a478, 0xc4201e91e0, 0xc42009cc98, 0x8, 0x8, 0x8, 0x9c19a0, 0x453bde0d01, 0xc42009cc98)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0x7fd1d1d7a478, 0xc4201e91e0, 0xc42009cc98, 0x8, 0x8, 0x8, 0xc4200914e0, 0x10)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
gitlab.com/NebulousLabs/Sia/encoding.ReadPrefixedBytes(0x7fd1d1d7a478, 0xc4201e91e0, 0x64, 0x410688, 0xa032e0, 0xa53f80, 0xa9f400, 0x7fd1d1d7a478)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x97
gitlab.com/NebulousLabs/Sia/encoding.ReadObject(0x7fd1d1d7a478, 0xc4201e91e0, 0x9ae1a0, 0xc4200914e0, 0x64, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x43
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers.func1(0xb5cf00, 0xc4201e91e0, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:61 +0xbc
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc4200f8580, 0xc42035e8e6, 0xe, 0xab650c, 0xa, 0xc420139a20, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2ab
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc4200f8580, 0xc42035e8e6, 0xe, 0xab650c, 0xa, 0xc420139a20, 0x0, 0x0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xc4
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedIPFromPeers
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/ip.go:59 +0x2a3

goroutine 1248 [select]:
gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer.func1(0xc42022a720, 0xc4200f8580, 0xc42022a780, 0xc4202fe0c0)
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x10b
created by gitlab.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedListenPeer
	/go/src/gitlab.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x112

antfarm doesn't always start up correctly

It's not deterministic, but here is some sample output:

Starting ant 0 with jobs [gateway]
APIAddr: 127.0.0.1:45292 RPCAddr: 127.0.0.1:37249 HostAddr: 127.0.0.1:43865
Starting ant 1 with jobs [gateway]
APIAddr: 127.0.0.1:34708 RPCAddr: 127.0.0.1:37871 HostAddr: 127.0.0.1:45978
error connecting ant: API call not recognized: /gateway/connect/127.0.0.1:37871
Finished.  Running sia-antfarm with 2 ants.
error creating job runner: API call not recognized: /wallet/init
error creating job runner: API call not recognized: /wallet/init

Timeout, PASS/FAIL in AntConfigs

It's my intention that we get a bunch of configs that we run before every release. Something that would make this easier would be having a PASS/FAIL condition, as well as a timeout. When running an antfarm config, if there is a timeout variable, the antfarm will shut-down all of the ants and issue a PASS/FAIL. The PASS condition is only issued if no ant has reported any errors, and the antfarm has also not reported any errors.

If no timeout is specified in the config, then the antfarm will just run until you tell it to quit. It will still state PASS/FAIL when you tell it to quit.

The timeout is in minutes.

Example Config:

{
    "AntConfigs":
    [
        {
            "Jobs": [
                "gateway",
                "host"
            ]
        },
        {
            "Jobs": [
                "gateway",
                "host"
            ]
        },
        {
            "Jobs": [
                "gateway",
                "renter"
            ]
        }
    ],
    "AutoConnect": true
    "Timeout": 60
}

Outdated method of specifying path to siad in README

README.md says:

If it's outside of your path, provide its location using the -siad flag. For all flags, see sia-antfarm -h.

Option -siad doesn't work. sia-antfarm -h prints the following:

Usage of sia-antfarm:
  -config string
        path to the sia-antfarm configuration file (default "config.json")

The option seems to be replaced with a setting in the config file:

if config.SiadPath == "" {

jobHost cant announce

2016/09/06 19:14:25 [antfarm-data/ant713960033 jobHost ERROR]: host cannot announce, does not seem to have a valid address.

Disable bootstrapping for all ants

All ants should start up with the --no-bootstrap flag. This does not actually work correctly, as there are some implementation errors in the gateway upstream. I will PR a fix for those after my current gateway PR is merged.

ant-farm should test ant synchronization

the ant farm should be able to automatically detect if the ants are on different blockchains. That's a little tricky I think because the ants will only ever tell you their most recent block, and it makes sense that the ants would be off by 1 or 2 blocks infrequently. Maybe the consensus call should be modified to return the 10 most recent blocks. That will make forks much more obvious to the farm.

Uploading > 100%

I am running the Sia-Ant-farm. When I tried to check the uploading progress from the renter, It showed " 100MB /root/testuploadfile (uploading, 190.05%)", and the uploading process never stopped. I am wondering what's wrong with it. Thanks!

Run locally without internet connection

@avahowell This package require Ants to connect through the public internet.

Is there a way to run this locally without any internet connections?
Currently, I get the error no UPnP-enabled gateway found, which seems to be a result of this configuration.

If not, is there any options for running a local testnet just to play with the sia API?

Thanks in advance.

Add lint + test + vet + cover to Makefile

Also add errcheck if possible, though some errors are annoying to handle properly (e.g. defer x.Close())

See our Makefile for implementation details. For lint you have to use test -z because go lint will not fail the build if there are errors. OTOH, if you wrap it with the test command it'll fail if there's output.

Starting by writing a single test would be good.

renter ant

It is okay for the renter ant to require that there be hosts on the network. The renter ant should:

  1. startup, get money. probably should run a miner all the time.
  2. set a reasonably high allowance
  3. set a contract window of 600 seconds (100 blocks)
  4. Set a new allowance every 1000 seconds (purposefully slow + offset)
  5. Upload a 500MB file every 120 seconds (20 blocks)
  6. After 1260 seconds (10 files), it should delete one file at random every 120 seconds.

I would like a similar job called heavy renter, that does the same but with slightly different constants:

  1. startup, get money. probably should run a miner all the time.
  2. set a reasonably high allowance
  3. set a contract window of 1200 seconds (200 blocks)
  4. Set a new allowance every 1500 seconds (purposefully slow + offset)
  5. Upload a 20 GB file every 480 seconds (80 blocks)
  6. After 1200 seconds (2 files), it should delete one file at random every 480 seconds.

The host should probably also run a miner all the time. I don't expect 'heavy renter' to be successful on our current codebase. Though it seems like these values could be configurable, I think it'll be easier to think of them as separate jobs. We'll likely add more disjoint behaviors to each in the future, the fact that only constants have changed right now should be more viewed as coincidence rather than something that can be abstracted.

Siad sometimes takes a very long time to stop

Perhaps this should be on the main repo, but there are cases where siad takes a very long time to stop after /daemon/stop is called. We could change sia-ant to issue a Kill instead of /daemon/stop, since we're not reusing ant data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.