Vanity addresses in AZ.

Fixes to ethereum.js
eth.flush()
pull/272/merge
Gav Wood 10 years ago
parent c01f0ae825
commit 61a0158877
  1. 3
      dist/ethereum.js
  2. 6
      dist/ethereum.js.map
  3. 2
      dist/ethereum.min.js
  4. 2
      lib/abi.js
  5. 1
      lib/web3.js

3
dist/ethereum.js vendored

@ -129,7 +129,7 @@ var formatInputReal = function (value) {
var dynamicTypeBytes = function (type, value) { var dynamicTypeBytes = function (type, value) {
// TODO: decide what to do with array of strings // TODO: decide what to do with array of strings
if (arrayType(type) || prefixedType('string')(type)) if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length.
return formatInputInt(value.length); return formatInputInt(value.length);
return ""; return "";
}; };
@ -889,6 +889,7 @@ var ethMethods = function () {
{ name: 'transaction', call: transactionCall }, { name: 'transaction', call: transactionCall },
{ name: 'uncle', call: uncleCall }, { name: 'uncle', call: uncleCall },
{ name: 'compilers', call: 'eth_compilers' }, { name: 'compilers', call: 'eth_compilers' },
{ name: 'flush', call: 'eth_flush' },
{ name: 'lll', call: 'eth_lll' }, { name: 'lll', call: 'eth_lll' },
{ name: 'solidity', call: 'eth_solidity' }, { name: 'solidity', call: 'eth_solidity' },
{ name: 'serpent', call: 'eth_serpent' }, { name: 'serpent', call: 'eth_serpent' },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -128,7 +128,7 @@ var formatInputReal = function (value) {
var dynamicTypeBytes = function (type, value) { var dynamicTypeBytes = function (type, value) {
// TODO: decide what to do with array of strings // TODO: decide what to do with array of strings
if (arrayType(type) || prefixedType('string')(type)) if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length.
return formatInputInt(value.length); return formatInputInt(value.length);
return ""; return "";
}; };

@ -82,6 +82,7 @@ var ethMethods = function () {
{ name: 'transaction', call: transactionCall }, { name: 'transaction', call: transactionCall },
{ name: 'uncle', call: uncleCall }, { name: 'uncle', call: uncleCall },
{ name: 'compilers', call: 'eth_compilers' }, { name: 'compilers', call: 'eth_compilers' },
{ name: 'flush', call: 'eth_flush' },
{ name: 'lll', call: 'eth_lll' }, { name: 'lll', call: 'eth_lll' },
{ name: 'solidity', call: 'eth_solidity' }, { name: 'solidity', call: 'eth_solidity' },
{ name: 'serpent', call: 'eth_serpent' }, { name: 'serpent', call: 'eth_serpent' },

Loading…
Cancel
Save