Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 36 Custom Services Explained: The Closed Peer-Extension Framework

BIP 36 custom services explained as a closed peer-extension framework, including service identifiers, namespaced commands and compatibility risks.

BIP 36 Custom Services guide cover

This guide explains BIP 36 Custom Services in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 36 Custom Services proposed a registry and namespacing framework for experimental services carried alongside Bitcoin peer connections. It added a list of service names, versions and optional data to the version message, with wrapped custom commands to avoid collisions.
  • Why it matters: BIP 36 recorded an early attempt to make peer-service experimentation orderly, but its generic handshake extension did not become the network standard. Modern extensions need their own maintained specification, defensive framing and isolated interoperability tests.
  • Current position: The proposal is Closed and these fields are not part of the current Bitcoin peer handshake, so the design should be studied rather than deployed on public nodes.

BIP 36 Custom Services in simple English

BIP 36 Custom Services: Developers wanted to experiment with distributed pools, lightweight-client queries, custom transports and routing without consuming scarce standard service bits or colliding with peer commands.

Simple example

A node operator is checking BIP 36 Custom Services. BIP 36 attempted to make that experimentation discoverable while reserving a path for a mature service to become a standard NODE flag.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Bitcoin Core:
Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Why custom services were proposed

Developers wanted to experiment with distributed pools, lightweight-client queries, custom transports and routing without consuming scarce standard service bits or colliding with peer commands. BIP 36 attempted to make that experimentation discoverable while reserving a path for a mature service to become a standard NODE flag.

Version-message extension

The proposal appended a variable service count and service definitions after the existing version fields. Each definition contained a name, a 32-bit service version and optional service-specific data. Duplicate names could justify disconnection. Adding variable material to the handshake increased parser and compatibility responsibilities for every peer implementation.

Service identifier rules

Identifiers were constrained to five through eleven ASCII characters, excluded several separators and were intended to be registered before use. The narrow rules reduced collisions but did not authenticate ownership. A malicious peer could advertise a familiar identifier, so clients still had to negotiate and validate actual behaviour.

BIP 36 Custom Services technical diagram
Service identifier rules: the fields, validation boundary and operational evidence that implementations need to agree.

Namespaced custom commands

A service could use a 12-byte Bitcoin command prefixed with an shows, then place a null-padded subcommand and payload inside the message. Unknown services and subcommands were to be ignored. Implementations needed strict length and padding checks so a malformed wrapper could not confuse the base message parser.

Optional service data

The handshake could carry small initialisation data, but services hoping to become standard were advised not to depend on it. Standard service flags had no equivalent payload. Moving capabilities into a separate service handshake kept the announcement small and made future transition less dependent on one experimental encoding.

Proposed standardisation path

The document described parallel custom and NODE announcements during transition, dual wrapped and unwrapped reception, and eventual removal of the wrapper. Such dual-mode periods are operationally delicate because one implementation may send, accept or prioritise a different form. The path was not deployed as a generic framework.

Safe modern experiment

Use an isolated network or a separate authenticated transport for a new experimental service. Define explicit framing, version negotiation, resource bounds and teardown. Fuzz duplicate identifiers, unknown commands, non-null padding and oversized payloads.

Frequently asked questions

What is the main point of BIP 36 Custom Services?

BIP 36 Custom Services: Developers wanted to experiment with distributed pools, lightweight-client queries, custom transports and routing without consuming scarce standard service bits or colliding with peer commands.

For BIP 36 Custom Services, why custom services were proposed?

Developers wanted to experiment with distributed pools, lightweight-client queries, custom transports and routing without consuming scarce standard service bits or colliding with peer commands.

For BIP 36 Custom Services, what should a beginner know about version-message extension?

The proposal appended a variable service count and service definitions after the existing version fields.

For BIP 36 Custom Services, what should a beginner know about service identifier rules?

Identifiers were constrained to five through eleven ASCII characters, excluded several separators and were intended to be registered before use.

Conclusion

BIP 36 recorded an early attempt to make peer-service experimentation orderly, but its generic handshake extension did not become the network standard. Modern extensions need their own maintained specification, defensive framing and isolated interoperability tests.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Overall ranking
Equihash
·
ZEC
Overall rank#1of 100AvailableAll: #3 / 831
Bitmain Antminer Z15K 525KSol Equihash Zcash Miner
Bitmain
Pre-Order
Hashrate
525KSOL
Efficiency
4.73W/KSOL
Power
2483W
Earns/kWh
41.2p
Free Shipping
Price · delivered
£6,050.00
ex VAT
Est. per month
£746.17
Payback 8.1 Months
Overall ranking
Equihash
·
ZEC
Overall rank#2of 100AvailableAll: #5 / 831
Bitmain Antminer Z15 Pro 800KSol Equihash Zcash Miner
Bitmain
In stock
Hashrate
800KSOL
Efficiency
3.3W/KSOL
Power
2640W
Earns/kWh
59.0p
Price · delivered
£11,925.00
ex VAT
Est. per month
£1137.02
Payback 10.5 Months
Overall ranking
SHA-256
·
BTC
Overall rank#6of 100AvailableAll: #12 / 831
Bitmain Antminer S23e Hydro 2U 865Th SHA-256 Bitcoin Miner
Bitmain
Pre-Order
Hashrate
865TH
Efficiency
10W/TH
Power
8650W
Earns/kWh
13.3p
Free Shipping
Price · delivered
£9,382.50
ex VAT
Est. per month
£838.42
Payback 11.2 Months
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners