write_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: 3 Imported by: 0

Documentation

Overview

Package main provides an example of how to write a bitcoin message using the go-wire package. It creates a getaddr message and writes it to a buffered writer, which in this case is stdout. 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