🤖 AI Summary
To address the low efficiency of transaction and data discovery in Bitcoin meta-protocols and the high on-chain storage overhead, this paper proposes Lockchain—a novel protocol that semantically repurposes Bitcoin’s native nLockTime field (restricted to timestamps ≥500,000,000, i.e., past Unix timestamps) as a lightweight metadata header. This header encodes protocol signals, types, variants, and sequence identifiers—imposing zero additional on-chain storage cost. Lockchain is fully compatible with Bitcoin’s native consensus: it requires no protocol modifications or new storage mechanisms. Indexers perform high-speed initial filtering solely via the fixed-size nLockTime header, with optional on-demand parsing of OP_RETURN or witness data. Experimental evaluation demonstrates over a 10× throughput improvement, alongside significant reductions in bandwidth and computational overhead.
📝 Abstract
We describe the Lockchain Protocol, a lightweight Bitcoin meta-protocol that enables highly efficient transaction discovery at zero marginal block space cost, and data verification without introducing any new on-chain storage mechanism. The protocol repurposes the mandatory 4-byte nLockTime field of every Bitcoin transaction as a compact metadata header. By constraining values to an unused range of past Unix timestamps greater than or equal to 500,000,000, the field can encode a protocol signal, type, variant, and sequence identifier while remaining fully valid under Bitcoin consensus and policy rules. The primary contribution of the protocol is an efficient discovery layer. Indexers can filter candidate transactions by examining a fixed-size header field, independent of transaction payload size, and only then selectively inspect heavier data such as OP RETURN outputs or witness fields. The Lockchain Protocol applies established protocol design patterns to an under-optimised problem domain, namely transaction discovery at scale, and does not claim new cryptographic primitives or storage methods.