Merge pull request #2419 from cfromknecht/brontide-buffer-pool
brontide: read buffer pool
This commit is contained in:
17 files changed
+579
-214
No files matched your search
@@ -18,6 +18,7 @@ import (
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
|
||||
"github.com/lightningnetwork/lnd/brontide"
|
||||
"github.com/lightningnetwork/lnd/buffer"
|
||||
"github.com/lightningnetwork/lnd/chainntnfs"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
"github.com/lightningnetwork/lnd/contractcourt"
|
||||
@@ -212,7 +213,7 @@ type peer struct {
|
||||
// messages to write out directly on the socket. By re-using this
|
||||
// buffer, we avoid needing to allocate more memory each time a new
|
||||
// message is to be sent to a peer.
|
||||
writeBuf *lnpeer.WriteBuffer
|
||||
writeBuf *buffer.Write
|
||||
|
||||
queueQuit chan struct{}
|
||||
quit chan struct{}
|
||||
|
||||
Reference in new issue
Block a user