Directories
¶
| Path | Synopsis |
|---|---|
|
Package boxrec is the byte-level contract of bbox: the envelope record an envelope carrier holds, the receipt record a receipt carrier holds, the BRC-169 envelope a record's content is, the office and box name grammars, and the lookup question classes.
|
Package boxrec is the byte-level contract of bbox: the envelope record an envelope carrier holds, the receipt record a receipt carrier holds, the BRC-169 envelope a record's content is, the office and box name grammars, and the lookup question classes. |
|
cmd
|
|
|
bbox
command
Command bbox sends and reads bbox envelopes: a message box whose server is the set of overlay hosts that carry an office.
|
Command bbox sends and reads bbox envelopes: a message box whose server is the set of overlay hosts that carry an office. |
|
devchain
command
Command devchain is a local stand-in chain for trying bbox without a node, a settlement service or any coin: it serves a node's JSON-RPC (generatetoaddress, sendrawtransaction, getinfo) at /rpc, a node's asset API under /api/v1/, and a header source (/v1/root/<height>, /v1/tip) that the bbox command and the overlay hosts check proofs against.
|
Command devchain is a local stand-in chain for trying bbox without a node, a settlement service or any coin: it serves a node's JSON-RPC (generatetoaddress, sendrawtransaction, getinfo) at /rpc, a node's asset API under /api/v1/, and a header source (/v1/root/<height>, /v1/tip) that the bbox command and the overlay hosts check proofs against. |
|
vectors
command
Command vectors writes the golden vectors under testdata/vectors.
|
Command vectors writes the golden vectors under testdata/vectors. |
|
internal
|
|
|
config
Package config resolves the bbox command's settings: flags, then BBOX_* in the environment, then the config file, then the built-in default.
|
Package config resolves the bbox command's settings: flags, then BBOX_* in the environment, then the config file, then the built-in default. |
|
limits
Package limits holds the measurements behind docs/limits.md: carrier sizes on the plane for envelope contents and funding tree sizes, from real carriers minted with bcommon.
|
Package limits holds the measurements behind docs/limits.md: carrier sizes on the plane for envelope contents and funding tree sizes, from real carriers minted with bcommon. |
|
state
Package state is an identity's durable record in its home: the funding trees its carriers spend, the trees signed and not yet adopted, the carriers persisted before they are published, what it sent and acknowledged, the sweeps it built, the envelopes it read and the payments it took.
|
Package state is an identity's durable record in its home: the funding trees its carriers spend, the trees signed and not yet adopted, the carriers persisted before they are published, what it sent and acknowledged, the sweeps it built, the envelopes it read and the payments it took. |
|
testchain
Package testchain is the local stand-ins this module's tests run against: the shared chain, and this application's host.
|
Package testchain is the local stand-ins this module's tests run against: the shared chain, and this application's host. |
|
unicast
Package unicast publishes objects to overlay hosts one by one, for a deployment with no multicast plane (spec section 9).
|
Package unicast publishes objects to overlay hosts one by one, for a deployment with no multicast plane (spec section 9). |
|
vectors
Package vectors generates the golden vectors under testdata/vectors from the boxrec codec.
|
Package vectors generates the golden vectors under testdata/vectors from the boxrec codec. |
|
Package reader asks overlay hosts the ls_bbox questions and checks every answer itself (docs/spec.md sections 7.2, 9 and 13): the carrier's rules and content rules (the admission rules a host applies), SPV of the carrier through its funding parent against the reader's own headers, and the record's office and recipient.
|
Package reader asks overlay hosts the ls_bbox questions and checks every answer itself (docs/spec.md sections 7.2, 9 and 13): the carrier's rules and content rules (the admission rules a host applies), SPV of the carrier through its funding parent against the reader's own headers, and the record's office and recipient. |
|
Package send is a bbox publisher: it seals envelopes, acknowledges them with receipts and retracts them with sweeps (docs/spec.md sections 3 to 6 and 9), from one identity's home.
|
Package send is a bbox publisher: it seals envelopes, acknowledges them with receipts and retracts them with sweeps (docs/spec.md sections 3 to 6 and 9), from one identity's home. |
Click to show internal directories.
Click to hide internal directories.