Difference between revisions of "Wallet protocol"

From Bitcoin Wiki
Jump to: navigation, search
(Explanation)
(Binary or plaintext)
Line 15: Line 15:
 
* Binary is more efficient to parse and create
 
* Binary is more efficient to parse and create
 
* Plaintext is easier for humans to debug
 
* Plaintext is easier for humans to debug
 +
* Binary can include custom transactions as-is for transmission
  
 
=== Cooperative mining ===
 
=== Cooperative mining ===
 
The protocol should support submitting completed blocks, such that it can get (just) addresses from an upstream pool to generate to, and send all completed blocks to that pool for verification and counting (and possibly submission to the network). This can reduce the pool's load.
 
The protocol should support submitting completed blocks, such that it can get (just) addresses from an upstream pool to generate to, and send all completed blocks to that pool for verification and counting (and possibly submission to the network). This can reduce the pool's load.

Revision as of 17:18, 3 March 2011

This is a project to define a new wallet protocol addressing problems with the current JSON-RPC implementation in bitcoind. Please feel free to make edits. If you disagree with something, turn it into a "debate".

Explanation

Please see the Infrastructure page for an idea of where this protocol fits into the big picture.

Requirements

  • Never use human-formatted data (for example, use base bitcoin units, not Decimal BitCoins nor Tonal BitCoins, which should only be used in formatting for humans)
  • Don't require polling (for example, broadcast events for new transactions, or changes to current "work")
  • Cooperative mining (see below)

Debates

Binary or plaintext

  • Binary is more efficient to parse and create
  • Plaintext is easier for humans to debug
  • Binary can include custom transactions as-is for transmission

Cooperative mining

The protocol should support submitting completed blocks, such that it can get (just) addresses from an upstream pool to generate to, and send all completed blocks to that pool for verification and counting (and possibly submission to the network). This can reduce the pool's load.