Block: Fixed naming, and removed internal use property from doc.

This commit is contained in:
Braydon Fuller 2014-12-16 18:30:12 -05:00
parent 8601ae2e59
commit dc14da47d7
1 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@ assert(block.validMerkleRoot());
assert(block.magicnum);
assert(block.size);
assert(block.header); // an instance of block header, more info below
assert(block.txsvi);
assert(block.txs); // an array of transactions, more info below
```
@ -49,8 +48,8 @@ For more information about the specific properties of a block header please visi
The set of transactions in a block is an array of instances of [Transaction](Transaction.md) and can be explored by iterating on the block's `transactions` member.
```javascript
for (var i in block.transactions) {
var transaction = block.transactions[i];
for (var i in block.txs) {
var transaction = block.txs[i];
}
```