Skip to content

Instantly share code, notes, and snippets.

@bdonlan
bdonlan / bitcoin api proposal.txt
Created February 26, 2011 14:59
A proposal for bitcoin daemon boundraries and API calls.
Daemons:
* bitcoin-netd
Communicates with the bitcoin P2P network, and maintains a copy of the block chain and pending txns.
Has functions for querying the block and txn chain.
No private data whatsoever.
API:
* GetStatus() - Returns current latest block ID and generation number
* GetPendingTransactions() - Returns transactions not yet in a block [may have filter fields of some sort]