read_message

command
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2025 License: ISC Imports: 5 Imported by: 0

Documentation

Overview

Package main demonstrates how to read a bitcoin message from a bytes.Reader using the go-wire package. It constructs a version message and writes it to a bytes.Buffer, then reads it back using the ReadMessage function. The example uses the main bitcoin network and the most recent protocol version supported by the package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL