updated readme, implementing mempool.

This commit is contained in:
Jae Kwon
2014-09-10 02:43:16 -07:00
parent 6c3579e753
commit 4c961bd565
7 changed files with 229 additions and 271 deletions

View File

@ -47,7 +47,7 @@ func randSig() Signature {
func TestBlock(t *testing.T) {
// Txs
// Account Txs
sendTx := &SendTx{
Signature: randSig(),
@ -63,7 +63,7 @@ func TestBlock(t *testing.T) {
PubKey: randBytes(32),
}
// Adjs
// Consensus Txs
bond := &Bond{
Signature: randSig(),
@ -109,8 +109,8 @@ func TestBlock(t *testing.T) {
TxsHash: randBytes(32),
},
Validation: Validation{
Signatures: []Signature{randSig(), randSig()},
Adjustments: []Adjustment{bond, unbond, timeout, dupeout},
Signatures: []Signature{randSig(), randSig()},
Txs: []Txs{bond, unbond, timeout, dupeout},
},
Txs: Txs{
Txs: []Tx{sendTx, nameTx},