Version bump. Protocol bump. Support for configuration.

This commit is contained in:
Gav Wood 2014-04-04 17:21:38 -04:00
parent 1b4718f784
commit 023e17c69f

View File

@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(mine_local_simple_tx)
auto txAmount = c1bal / 2u; auto txAmount = c1bal / 2u;
auto gasPrice = 10 * szabo; auto gasPrice = 10 * szabo;
auto gas = eth::c_callGas; auto gas = eth::c_callGas;
c1.transact(kp1.secret(), txAmount, gasPrice, gas, kp2.address(), bytes()); c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice);
//mine some more to include the transaction on chain //mine some more to include the transaction on chain
mine(c1, 1); mine(c1, 1);
@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer)
auto txAmount = c1bal / 2u; auto txAmount = c1bal / 2u;
auto gasPrice = 10 * szabo; auto gasPrice = 10 * szabo;
auto gas = eth::c_callGas; auto gas = eth::c_callGas;
c1.transact(kp1.secret(), txAmount, gasPrice, gas, kp2.address(), bytes()); c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice);
//mine some more to include the transaction on chain //mine some more to include the transaction on chain
mine(c1, 1); mine(c1, 1);
@ -104,7 +104,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer_fee_check)
auto txAmount = c1StartBalance / 2u; auto txAmount = c1StartBalance / 2u;
auto gasPrice = 10 * szabo; auto gasPrice = 10 * szabo;
auto gas = eth::c_callGas; auto gas = eth::c_callGas;
c1.transact(kp1.secret(), txAmount, gasPrice, gas, c2.address(), bytes()); c1.transact(kp1.secret(), txAmount, c2.address(), bytes(), gas, gasPrice);
//mine some more, this time with second client (so he can get fees from first client's tx) //mine some more, this time with second client (so he can get fees from first client's tx)
mine(c2, 1); mine(c2, 1);