aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/sideband64k
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:46:47 +0000
committerGravatar Runxi Yu2026-03-29 03:46:47 +0000
commit95e5a88404083597340fd76d9e83707f45103bf9 (patch)
tree0d96476992496d8d679bda9db29baf708862554b /network/protocol/sideband64k
parentnetwork/protocol: Deps-Borrowed where appropriate (diff)
signatureNo signature
network/protocol: Constructors get Life-Parent too
Diffstat (limited to 'network/protocol/sideband64k')
-rw-r--r--network/protocol/sideband64k/chunk_writer.go2
-rw-r--r--network/protocol/sideband64k/decoder.go2
-rw-r--r--network/protocol/sideband64k/encoder.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/network/protocol/sideband64k/chunk_writer.go b/network/protocol/sideband64k/chunk_writer.go
index fb9d8060..a1a0ec8c 100644
--- a/network/protocol/sideband64k/chunk_writer.go
+++ b/network/protocol/sideband64k/chunk_writer.go
@@ -13,7 +13,7 @@ type ChunkWriter struct {
// NewChunkWriter creates a chunking adapter over enc for one band.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewChunkWriter(enc *Encoder, band Band) *ChunkWriter {
return &ChunkWriter{enc: enc, band: band}
}
diff --git a/network/protocol/sideband64k/decoder.go b/network/protocol/sideband64k/decoder.go
index d1549d98..6fc48cd8 100644
--- a/network/protocol/sideband64k/decoder.go
+++ b/network/protocol/sideband64k/decoder.go
@@ -29,7 +29,7 @@ type Decoder struct {
// NewDecoder creates a decoder over r.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewDecoder(r io.Reader, opts ReadOptions) *Decoder {
d := &Decoder{
dec: pktline.NewDecoder(r, pktline.ReadOptions{}),
diff --git a/network/protocol/sideband64k/encoder.go b/network/protocol/sideband64k/encoder.go
index c29ad1bb..0c6ea090 100644
--- a/network/protocol/sideband64k/encoder.go
+++ b/network/protocol/sideband64k/encoder.go
@@ -17,7 +17,7 @@ type Encoder struct {
// NewEncoder creates an encoder over w.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewEncoder(w iowrap.WriteFlusher) *Encoder {
return &Encoder{
enc: pktline.NewEncoder(w),