Commit Graph

617 Commits

Author SHA1 Message Date
Marek Kotewicz 9158ac760d removed unused function 2015-04-22 09:49:37 +02:00
Marek Kotewicz 5f2eb3308f fixed filters encoding null 2015-04-22 09:39:28 +02:00
Marek Kotewicz 4482d5bf00 Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
	lib/web3/filter.js
2015-04-22 09:28:56 +02:00
Marek Kotewicz f767a9a68a removed unused formatOutputHash, renamed formatXXXString to formatXXXBytes 2015-04-22 09:01:14 +02:00
Marek Kotewicz 983e4b1082 removed signature.js 2015-04-22 08:41:30 +02:00
Fabian Vogelsteller c8f42262cc add possible 2d topic arrays fixes #175 2015-04-21 20:46:14 +02:00
Marek Kotewicz e9107367fd eth_filter complex topics, #175 2015-04-21 20:34:33 +02:00
Marek Kotewicz d411492649 call && sendTransaction 2015-04-21 20:06:44 +02:00
Marek Kotewicz f84a68cb73 changed the way functions are being called 2015-04-21 19:41:57 +02:00
Marek Kotewicz c8e576893e fixed log fields 2015-04-21 18:46:42 +02:00
Marek Kotewicz d38f5a215a Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-21 17:17:22 +02:00
Fabian Vogelsteller a5c1bcc6e4 changed default providor port to 8545 closes #160 2015-04-21 17:01:00 +02:00
Fabian Vogelsteller 9e8cb8d17f removed non existing eth.flush method 2015-04-21 16:02:10 +02:00
Marek Kotewicz eeb0bc014b Merge branch 'develop' into events_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 23:13:47 +02:00
Marek Kotewicz 501e3bc56e utils cleanup 2015-04-20 23:01:21 +02:00
Marek Kotewicz a88be00cef docs 2015-04-20 22:48:01 +02:00
Marek Kotewicz 9d8a51d439 event.js refactored 2015-04-20 22:06:49 +02:00
Marek Kotewicz ea6bda4cbb event refactor in progress 2015-04-20 21:59:35 +02:00
Marek Kotewicz 99a3696e51 events refactor, function.js 2015-04-20 18:16:15 +02:00
Fabian Vogelsteller 04cdb6ca02 format also tx nonce to number 2015-04-20 16:31:40 +02:00
Fabian Vogelsteller 385cc2c73b removed minGasPrice from blocks 2015-04-20 16:08:12 +02:00
Marek Kotewicz e80ff10f52 Merge branch 'master' into abi_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 15:12:54 +02:00
Marek Kotewicz 38641dfa9c fixed #154 2015-04-20 14:38:08 +02:00
Marek Kotewicz 1c8cd7d6b0 web3.eth.defaultAccount property, updated event_inc example, fixed #96 2015-04-20 14:16:29 +02:00
Marek Kotewicz a46b9ea016 Merge branch 'develop' into abi_refactor
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-20 11:51:10 +02:00
Marek Kotewicz 779a608076 documentation 2015-04-20 11:20:05 +02:00
Marek Kotewicz 941535fe47 SolidityParam moved to its own file && documented 2015-04-20 10:36:11 +02:00
Marek Kotewicz 18cef7c3f5 removed *collapse in contrat, gulp 2015-04-20 10:08:41 +02:00
Péter Szilágyi b326202314 formatters/whisper: polish corner case handling code 2015-04-17 11:20:40 +03:00
Marek Kotewicz 0567ba1826 outputParser do not require 0x prefix before hash 2015-04-16 22:11:15 +02:00
Marek Kotewicz b5c6aa6530 little cleanup && renaming 2015-04-16 21:46:07 +02:00
Marek Kotewicz dccfca1af5 solidity abi refactor in progress 2015-04-16 21:16:26 +02:00
Péter Szilágyi 6a058b690b Allow unset topics in posts too. 2015-04-16 18:13:47 +03:00
Péter Szilágyi af443f2acb Fix #162: allow empty topic list in messages 2015-04-16 18:05:08 +03:00
Marek Kotewicz d643d06b78 solidity abi refactor in progress 2015-04-16 16:37:13 +02:00
Fabian Vogelsteller f4cf699324 rebuild 2015-04-16 12:55:30 +02:00
Marek Kotewicz 20fb2e3c70 Merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-16 12:43:06 +02:00
Marek Kotewicz 96b44682f1 fixed #161, web3.ssh.post 2015-04-16 12:22:20 +02:00
Marek Kotewicz a320ef8bd9 fixed coverage, unified creating errors 2015-04-16 11:11:33 +02:00
Fabian Vogelsteller 364eab72b1 add callback for async error 2015-04-15 11:48:05 +02:00
Marek Kotewicz c62f817cc6 picked watch change3 2015-04-13 12:56:14 +02:00
Fabian Vogelsteller 56d13f72fb picked watch change2 2015-04-13 12:55:43 +02:00
Fabian Vogelsteller 2215e7c3af picked watch change 2015-04-13 12:53:26 +02:00
Marek Kotewicz 1a8032c72c version 0.2.7 2015-04-11 11:41:24 +02:00
Marek Kotewicz ccc59d12f8 version 0.2.6 2015-04-10 00:09:11 +02:00
Marek Kotewicz 9c2c94668f Merge branch 'web3' into develop
Conflicts:
	dist/web3-light.js
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.js.map
	dist/web3.min.js
2015-04-10 00:08:07 +02:00
Marek Kotewicz 6763f34c10 tests for creating new contract with nondefault constructor, added missing files 2015-04-09 23:52:57 +02:00
Marek Kotewicz 2ef5efc8f8 fixed #70, creating contract with nondefault constructor 2015-04-09 23:30:18 +02:00
Fabian Vogelsteller 7f75f3e64f fixed gasPrice output
Conflicts:
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-04-09 20:15:38 +02:00
Fabian Vogelsteller ddec6298dc fixed getUncle parameter count
Conflicts:
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-04-09 20:14:35 +02:00
Fabian Vogelsteller 1e89ef0437 changed to eth_protocolVersion
Conflicts:
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-04-09 20:11:33 +02:00
Marek Kotewicz 73b9ed29c0 rename to web3 2015-04-07 04:39:47 +02:00
Marek Kotewicz 67f0a7511f version 0.2.4 2015-04-02 16:31:05 +02:00
Marek Kotewicz e2990ae77e web3.eth.getBlockTransactionCount accepts pending/latest/earliest params 2015-04-02 16:30:40 +02:00
Marek Kotewicz 94429fffdd version 0.2.3 2015-04-02 16:10:32 +02:00
Marek Kotewicz 31e046dbec Merge branch 'master' into develop
Conflicts:
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-04-02 13:09:35 +02:00
Marek Kotewicz 5e150378c8 fixed formatting address 2015-04-02 13:08:58 +02:00
Marek Kotewicz b7a03cd88e version 0.2.2 2015-03-31 14:31:18 +02:00
Marek Kotewicz 57d9f1f036 removed deprecated && unused lines from contract.js 2015-03-31 10:35:36 +02:00
Marek Kotewicz e53f316db9 tests for transaction && call 2015-03-31 09:34:06 +02:00
Marek Kotewicz 31220d578f removed deprecated code in contract.js 2015-03-30 23:48:03 +02:00
Marek Kotewicz b837667649 unified asBlock from filter.js with blockNumber formatter 2015-03-30 23:23:34 +02:00
Marek Kotewicz 608d211400 blockNumber can be earliest 2015-03-30 09:27:59 +02:00
Marek Kotewicz 21791f25ef version 0.2.1 2015-03-28 16:01:28 +01:00
Marek Kotewicz 2262276dae defaultBlockNumber accepts latest && pending 2015-03-28 15:52:40 +01:00
Marek Kotewicz e01bb23759 fixed #148 && fixed polling test 2015-03-28 15:15:44 +01:00
Marek Kotewicz 8c39acc571 merge branch 'develop' of https://github.com/ethereum/ethereum.js into develop
Conflicts:
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-03-28 14:42:16 +01:00
Marek Kotewicz 534e96da9e Merge branch 'master' of https://github.com/ethereum/ethereum.js
Conflicts:
	lib/web3/jsonrpc.js
2015-03-28 14:41:15 +01:00
Marek Kotewicz 2f45df835a fix && tests for #147 2015-03-28 14:38:56 +01:00
cubedro e750fd9bb4 fixed #147 2015-03-28 00:32:52 +02:00
Fabian Vogelsteller e0d83d065e removed unecessary callformatter 2015-03-27 14:53:47 +01:00
Marek Kotewicz 9fc557543a version 0.2.0 2015-03-27 14:48:56 +01:00
Fabian Vogelsteller ed2b62de47 add whisper, network and ethereum version 2015-03-27 11:51:21 +01:00
Fabian Vogelsteller aa9fc92c47 add whisper, network and ethereum version 2015-03-27 11:40:57 +01:00
Marek Kotewicz f4e5a99be1 default log formatter, improved contract test 2015-03-27 11:27:50 +01:00
Marek Kotewicz 07bcdb441e improved tests for contract.js, fixed few minor issues 2015-03-27 08:42:23 +01:00
Marek Kotewicz 1986c7f07c cleaned up web3.js 2015-03-26 18:29:22 +01:00
Marek Kotewicz 82b18c1aa0 refactored filter.js 2015-03-26 18:11:05 +01:00
Marek Kotewicz 2133d2717d filter changes in progress 2015-03-26 15:43:35 +01:00
Marek Kotewicz e928e14bc4 Merge branch 'develop' into sandbox
Conflicts:
	dist/ethereum-light.js
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js
	dist/ethereum.js.map
	dist/ethereum.min.js
	lib/web3.js
2015-03-26 11:19:12 +01:00
Marek Kotewicz 1a84015bab fixed events topics 2015-03-26 11:12:33 +01:00
Marek Kotewicz a63d604c57 removed unused function 2015-03-26 07:51:33 +01:00
Marek Kotewicz cbf8ea19cd test naming convention 2015-03-25 22:17:35 +01:00
Marek Kotewicz 04f0aa5d4f fixed filer.js complexity 2015-03-25 21:46:45 +01:00
Marek Kotewicz 722a5bcd69 fixed eth.getTransaction.js location 2015-03-25 15:02:07 +01:00
Marek Kotewicz c065f174ee Merge branch 'develop' into sandbox
Conflicts:
	dist/ethereum-light.js
	dist/ethereum-light.js.map
	dist/ethereum-light.min.js
	dist/ethereum.js
	dist/ethereum.js.map
	dist/ethereum.min.js
	lib/web3/filter.js
2015-03-25 14:47:55 +01:00
Marek Kotewicz b78dffaf8b small fix in filter tests 2015-03-25 14:43:41 +01:00
Marek Kotewicz 4f5c5fb2fb first try to test polling 2015-03-25 13:17:21 +01:00
Marek Kotewicz 9f073d9091 applied fixes from cpp-ethereum 2015-03-25 08:08:14 +01:00
Fabian Vogelsteller c01abfc4bd add db tests 2015-03-24 12:21:52 +01:00
Fabian Vogelsteller b247c49511 add sha3 test 2015-03-24 11:53:21 +01:00
Fabian Vogelsteller afd7e7ba32 add shh tests 2015-03-24 11:44:33 +01:00
Fabian Vogelsteller e7304b546e add storage tests 2015-03-24 11:17:06 +01:00
Fabian Vogelsteller f32b8ad5a8 add runTest module to new tests 2015-03-24 09:48:07 +01:00
Fabian Vogelsteller c52250e203 add block uncle and block counts 2015-03-24 09:42:09 +01:00
Marek Kotewicz a4e3645190 Merge branch 'develop' into sandbox
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-03-23 23:03:50 +01:00
Fabian Vogelsteller b3b95c5f98 add getBlock test 2015-03-23 18:50:53 +01:00
Fabian Vogelsteller abe064fb34 add Property and passing through of RPC erro texts 2015-03-23 18:26:48 +01:00
Marek Kotewicz 0b84376721 fix for otto 2015-03-23 18:10:07 +01:00
Marek Kotewicz 36fe79f169 another fix for otto 2015-03-23 18:03:31 +01:00
Marek Kotewicz be04c470a2 fixes for go otto env 2015-03-23 17:56:57 +01:00
Marek Kotewicz c7e5d0a9fe light browser bundle 2015-03-23 17:47:53 +01:00
Marek Kotewicz 4b371372b7 light browser bundle without bignumber.js 2015-03-23 17:29:50 +01:00
Fabian Vogelsteller b915ceb43f add defaultBlock back 2015-03-23 17:11:19 +01:00
Fabian Vogelsteller b074a5e333 add check for providor async function 2015-03-23 17:02:34 +01:00
Fabian Vogelsteller a34321d1e4 removed double FakeHTTPProvidor 2015-03-23 16:50:13 +01:00
Fabian Vogelsteller 7fb440579d add missing formatters, fixed tests 2015-03-23 16:43:49 +01:00
Marek Kotewicz b16982b5de fix for polling 2015-03-23 15:41:02 +01:00
Marek Kotewicz 2924e00a83 fix for toHex transforming boolean 2015-03-23 15:19:42 +01:00
Marek Kotewicz b6b809c3d2 setting up formatters for eth 2015-03-23 15:08:09 +01:00
Marek Kotewicz 99ea9cdc1c fixed for defaultBlock formatter 2015-03-23 14:23:45 +01:00
Marek Kotewicz 4d1cf0bd9f inputFormatter is an aray of functions 2015-03-23 13:42:36 +01:00
Fabian Vogelsteller 6b07920aa5 add uninstall filter back
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-03-23 12:57:32 +01:00
Marek Kotewicz 89b1ca6f43 first integration tests 2015-03-23 08:37:41 +01:00
Marek Kotewicz a4cf661f24 tests for method.js 2015-03-22 19:48:25 +01:00
Marek Kotewicz 7519faba9c method.js 2015-03-22 18:12:52 +01:00
Marek Kotewicz 0898669bd2 changes in input formatters 2015-03-22 09:43:07 +01:00
Marek Kotewicz 748cda238a requestmanager tests 2015-03-22 09:20:24 +01:00
Marek Kotewicz 476023e0d0 requestmanager refactored 2015-03-22 08:37:12 +01:00
Marek Kotewicz e3faebe6b7 jsonrpc is an object 2015-03-21 23:34:24 +01:00
Marek Kotewicz cbab0ae97c common changes in requestmanager 2015-03-21 23:16:15 +01:00
Marek Kotewicz d408fb0867 comments in requestmanager 2015-03-21 23:10:34 +01:00
Marek Kotewicz 5c1e85f295 requestmanager refactor in progress 2015-03-21 22:57:44 +01:00
Marek Kotewicz 288caf32be node-sandbox, tests for httpprovider, request manager refactor in progress 2015-03-21 21:59:38 +01:00
Marek Kotewicz 5cdea25fad Merge branch 'getCode' of https://github.com/jorisbontje/ethereum.js into getCode
Conflicts:
	dist/ethereum.min.js
2015-03-16 10:57:25 +01:00
Marek Kotewicz 517eff9d07 Merge pull request #120 from dchambers/make-browserify-compatibile
Make browserify compatibile
2015-03-16 10:19:08 +01:00
Joris Bontje b032429a1d rename getData to getCode 2015-03-16 09:58:10 +01:00
dchambers 0267e85d41 Use browserify's 'browser' field instead of 'envify' & 'unreachable-branch-transform to', plus always include 'bignumber.js' since it is needed in the browser. 2015-03-16 08:08:29 +00:00
Marek Kotewicz cb7c209ff1 removed unused property 2015-03-16 03:26:49 +01:00
Marek Kotewicz 12aed5685a fixed #111 2015-03-15 23:02:22 +01:00
Lefteris Karapetsas 3a22498281 string type basically becomes bytes type 2015-03-13 13:05:13 +01:00
Fabian Vogelsteller b32237816b removed unecessary utils 2015-03-12 21:46:44 +01:00
Fabian Vogelsteller 8516a2f149 removed uncommented line 2015-03-12 17:44:22 +01:00
Fabian Vogelsteller 1730f214e1 add version replacement use version.json now 2015-03-12 17:28:33 +01:00
Fabian Vogelsteller 9c3d1b25b4 merged develop 2015-03-12 16:37:27 +01:00
Fabian Vogelsteller 2e320edc46 add versions 2015-03-12 16:33:19 +01:00
Fabian Vogelsteller 08a38b36d3 removed unecessary open in httpprovidor 2015-03-11 17:55:54 +01:00
Fabian Vogelsteller 5636510060 add inputformatter for sha3 2015-03-11 15:08:17 +01:00
Marek Kotewicz d509360694 fixed polling bug 0.1.2 2015-03-11 14:28:52 +01:00
Fabian Vogelsteller f351e95898 removed unecessary log 2015-03-11 10:54:25 +01:00
Fabian Vogelsteller 67ab5ef76c removed unecessary log 2015-03-11 10:53:57 +01:00
Marek Kotewicz d2dbc2d5d6 fixed gulp errors 2015-03-11 10:24:03 +01:00
Fabian Vogelsteller 7a44f76132 add shh post formatting 2015-03-10 17:27:36 +01:00
Fabian Vogelsteller 27d54218a9 merged from ethereum again 2015-03-10 17:09:06 +01:00
Fabian Vogelsteller 3848d3a03c fixed logs 2015-03-10 17:07:16 +01:00
Marek Kotewicz f831ddeacc Merge branch 'apiOverhaul' of https://github.com/frozeman/ethereum.js into apiOverhaul 2015-03-10 16:56:07 +01:00
Marek Kotewicz 27fca175be common fixes 2015-03-10 16:55:57 +01:00
Fabian Vogelsteller 1c9f50feb9 changed topic to topics 2015-03-10 16:22:16 +01:00
Fabian Vogelsteller 2c740b08ee add filter value conversion 2015-03-10 14:49:23 +01:00
Fabian Vogelsteller 8a2444b4bc add default paramter for getBlock 2015-03-10 11:03:03 +01:00
Fabian Vogelsteller 51a075c62d add in-output until eth_getBlockByHash 2015-03-09 20:06:54 +01:00
Fabian Vogelsteller 9c0d3e3c63 fixed to/fromWei 2015-03-09 18:21:11 +01:00
Fabian Vogelsteller a0b5353f47 changed outputs up to storageAt 2015-03-09 15:09:21 +01:00
Fabian Vogelsteller 1f6c195934 fixed toBigNumber 2015-03-09 11:27:19 +01:00
Marek Kotewicz c7f8373191 separated formatters files 2015-03-08 18:31:08 +01:00
Marek Kotewicz 068bdd7276 changed project structure 2015-03-08 18:18:52 +01:00
Marek Kotewicz ddb90c24af refactoring formatters 2015-03-08 17:52:52 +01:00
Marek Kotewicz a6110a59a4 common changes 2015-03-08 17:28:32 +01:00
Marek Kotewicz d3569e4ffd more coverage tests 2015-03-08 16:56:21 +01:00
Marek Kotewicz e2352b48d3 utils.js docs 2015-03-08 10:36:16 +01:00
Marek Kotewicz 344428b3b5 tests... 2015-03-08 10:07:32 +01:00
Marek Kotewicz 9fe105e794 fixed from decimal; 2015-03-08 08:48:45 +01:00
Marek Kotewicz 50fc61155e test for utils.toBigNumber 2015-03-08 08:33:22 +01:00
Marek Kotewicz 60ae274f34 code comments 2015-03-07 20:06:26 +01:00
Marek Kotewicz b8505d1761 common changes 2015-03-07 19:55:20 +01:00
Marek Kotewicz ccb37752d3 new api method names 2015-03-07 19:32:05 +01:00
Marek Kotewicz 2b17ad67c9 refactoring 2015-03-07 19:18:22 +01:00
Marek Kotewicz 0a995e1d1f common changes in utils, fixing code complexity 2015-03-07 18:31:09 +01:00
Marek Kotewicz 3f631094af fix all failing karma tests 2015-03-07 17:53:06 +01:00
Marek Kotewicz 1fd1a315bb Merge branch 'develop' into apiOverhaul
Conflicts:
	dist/ethereum.js
	dist/ethereum.js.map
	dist/ethereum.min.js
	lib/utils.js
2015-03-07 17:47:03 +01:00
Marek Kotewicz 0b9d450a4d fixed karma test 2015-03-07 17:43:51 +01:00
Fabian Vogelsteller b8193914cb fixed tests 2015-03-06 16:09:21 +01:00
Marek Kotewicz c1136a08c0 Merge branch 'master' into develop
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
	package.json
2015-03-06 12:05:40 +01:00
Wilfried Kopp e46f6f156b test(utils): Add test for the toEth() function
- Several test cases to check the conversion into each unit
- Few test cases to check the conversion from strings
2015-03-06 01:03:19 +01:00
Fabian Vogelsteller 333c3ff462 merged develop 2015-03-04 16:34:51 +01:00
Fabian Vogelsteller b07ddb40c7 add defualt block 2015-03-04 16:31:48 +01:00
Marek Kotewicz 9b3a0f0256 Merge branch 'event_hash'
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-03-04 01:04:13 +01:00
Marek Kotewicz 63dcee68ee ignore for maxcomplexity warning
Conflicts:
	dist/ethereum.js.map
2015-03-04 00:45:39 +01:00
Marek Kotewicz a59f3a4c5c Merge pull request #85 from ethers/abiString
constants should be before (dynamic) string contents, fix #84
2015-03-04 00:43:53 +01:00
Marek Kotewicz 688faeca73 Merge pull request #81 from ethers/arraySupport
constants should be before array contents, fixes #30
Conflicts:
	lib/abi.js
2015-03-04 00:42:46 +01:00
Marek Kotewicz 601c8abf74 ignore for maxcomplexity warning 2015-03-04 00:30:29 +01:00
Marek Kotewicz d9d190ec33 Merge branch 'master' into develop
Conflicts:
	dist/ethereum.js
	dist/ethereum.js.map
	dist/ethereum.min.js
	lib/abi.js
2015-03-04 00:29:24 +01:00
Marek Kotewicz 91321fbcd7 removed web3 dependency from abi.js 2015-03-03 18:38:23 +01:00
Marek Kotewicz 5c7d8a7e33 separated event signature 2015-03-03 18:34:06 +01:00
Fabian Vogelsteller a05742fda1 Add internal defaultBlock 2015-03-03 11:11:52 +01:00
Fabian Vogelsteller 6cd96c96b7 add net object 2015-03-02 16:29:23 +01:00
Fabian Vogelsteller 9c4080bf26 made filter polling async 2015-03-02 13:12:57 +01:00
Fabian Vogelsteller 869bb668e8 add optional callback 2015-03-02 13:00:20 +01:00
Fabian Vogelsteller 4096fb8c88 merged develop 2015-03-02 10:45:30 +01:00
Fabian Vogelsteller 5c4a36bd7b working on adding callbacks 2015-02-28 15:55:41 +01:00
ethers 4b9bc177f7 constants should be before (dynamic) string contents 2015-02-27 14:41:52 -08:00
Marek Kotewicz 81b19cc9a7 event hash 2015-02-27 20:16:45 +01:00
Fabian Vogelsteller 1c136e307e merged develop 2015-02-27 15:57:25 +01:00
Fabian Vogelsteller aef0171927 add shh topic auto transformation for filter options 2015-02-27 14:05:00 +01:00
Fabian Vogelsteller 37e6d1185b add shh output formatters and test 2015-02-27 12:41:07 +01:00
ethers f8db634a8f need to save/concat per iteration 2015-02-26 20:24:19 -08:00
ethers 66196ee8ba constants should be before array contents, fixes #30 2015-02-26 20:06:26 -08:00
Fabian Vogelsteller 47412c3dbd add more tests for blocks 2015-02-26 16:20:46 +01:00
Fabian Vogelsteller 545de254f9 add more tests 2015-02-26 15:54:49 +01:00
Fabian Vogelsteller 30518ae6c8 fixed complexities 2015-02-26 10:56:04 +01:00
Marek Kotewicz 5bd166cc82 clearing timeout 2015-02-25 17:07:16 +01:00
Fabian Vogelsteller 84900e6463 merged with solved conflicts 2015-02-25 17:01:23 +01:00
Fabian Vogelsteller 9981b97b45 fixed ) 2015-02-25 16:31:09 +01:00
Fabian Vogelsteller 8128342908 fixed small change request 2015-02-25 16:30:23 +01:00
Marek Kotewicz 16d7e2520f jshint is more strict 2015-02-25 15:53:28 +01:00
Fabian Vogelsteller 5ea5be2489 add deprecated transact 2015-02-25 14:32:57 +01:00
Fabian Vogelsteller 181f1093e6 changed getCode to getData 2015-02-25 11:01:58 +01:00
Fabian Vogelsteller 1fa7fa6958 toFromWei fix 2015-02-24 18:08:17 +01:00
Fabian Vogelsteller ee65b2ca5c add input formatter for transactions 2015-02-24 13:00:24 +01:00
Fabian Vogelsteller fec54d81ae add depreaction warnring to contractFromAbi 2015-02-24 10:45:03 +01:00
Fabian Vogelsteller 684c495981 changed contract API 2015-02-24 10:36:54 +01:00
Fabian Vogelsteller 36ca47f11c Changed watch to filter for eth and shh 2015-02-23 18:30:37 +01:00
Fabian Vogelsteller 7fde77dbb3 add formatter 2015-02-23 17:05:53 +01:00
Fabian Vogelsteller 91c015e402 Made to/fromWei return strings instead of numbers 2015-02-20 12:40:09 +01:00
Fabian Vogelsteller ed7d473efd Removed enumerable from methods, fixed number property 2015-02-20 10:50:19 +01:00
Fabian Vogelsteller ce141d8ec3 Removed circular dependencies 2015-02-20 09:49:42 +01:00
Fabian Vogelsteller 188e9e5325 Add toWei/fromWei and isAddress 2015-02-20 09:34:26 +01:00
Fabian Vogelsteller 5c994ff817 changed most of the function names
Missing is still:

- eth.watch
- eth.contract (has different behaviour now)
- shh methods

correct return values need to be checked
2015-02-19 18:37:09 +01:00
Marek Kotewicz c4c3b126a3 fallback for go-ethereum && fixed parsing ethereum messages 2015-02-18 18:44:09 +01:00
Marek Kotewicz ec6f9b3d08 added transactionCount && uncleCount methods 2015-02-17 19:55:02 +01:00
cubedro af7c26b163 check request.status in httpsync.js to prevent throwing errors when undefined 2015-02-12 07:03:59 +02:00
Marek Kotewicz 3d652e82c0 fixed web3.reset() 2015-02-06 11:36:27 +01:00
Marek Kotewicz 26561e4767 fixed #51 2015-02-06 10:39:06 +01:00
Marek Kotewicz 03661d3bc2 eth_polling_timeout const 2015-02-06 10:20:41 +01:00
Marek Kotewicz 82d32bb95a providermanager -> requestmanager 2015-02-06 00:02:14 +01:00
Marek Kotewicz a86fccfc1a web3 refactor (in progress) 2015-02-05 23:37:30 +01:00
Marek Kotewicz c29f4a1361 filters refactor 2015-02-05 23:11:16 +01:00
Marek Kotewicz 82cc5f63ae bring back jsonrpc single method calls in polling 2015-02-05 18:20:43 +01:00
Marek Kotewicz f3e1797153 fixed jsonrpc response 0 not handled properly 2015-02-04 11:23:23 +01:00
Marek Kotewicz e58e2f5ee4 jsonrpc.js tests && jsonrpc response validation is more strict 2015-02-03 23:00:02 +01:00
Marek Kotewicz 45134de740 jsonrpc.js file && batch polling 2015-02-03 22:24:17 +01:00
Marek Kotewicz f3ce1f07c4 simplified polling && jsonrpc payload creation 2015-02-03 21:43:39 +01:00
Marek Kotewicz ddc17196da tests && fixes for utils methods 2015-02-03 20:12:56 +01:00
Marek Kotewicz f1a5cf9128 Merge branch 'develop' into cpp
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-02-03 16:20:26 +01:00
Marek Kotewicz a5909d82eb parsing events output 2015-02-03 16:16:38 +01:00
Marek Kotewicz 03faec9d41 event outputParser && tests 2015-02-03 15:08:19 +01:00
Marek Kotewicz 9d9c23e315 common cleanup 2015-02-02 17:40:05 +01:00
Gav Wood 0994efa66f Better HTML template in Mix.
Use happened in JS.
Debugging QML enabled.
2015-02-01 22:51:14 -08:00
Marek Kotewicz d5166918e9 fixed event signatures 2015-01-31 19:07:59 +01:00
Marek Kotewicz 688030ecb6 eth.filter next param optional 2015-01-31 16:01:41 +01:00
Marek Kotewicz 589c4fb30f formatInput && formatOutput simplified 2015-01-31 15:48:49 +01:00
Marek Kotewicz b20e972bec few methods moved to utils 2015-01-31 15:22:05 +01:00
Marek Kotewicz a8a2e3231c constants separated to const.js file 2015-01-31 14:05:48 +01:00
Marek Kotewicz 4bdf52fc1e toAscii && fromAscii moved to utils 2015-01-31 13:54:39 +01:00
Marek Kotewicz 0b82a05a75 events 2015-01-31 04:09:48 +01:00
Marek Kotewicz 80c97ca21b events 2015-01-31 03:42:13 +01:00
Marek Kotewicz 2491c99b37 abi.js cleanup && new types.js, utils.js 2015-01-31 02:54:17 +01:00
Marek Kotewicz 5689086202 formatters separated 2015-01-31 01:52:36 +01:00
Marek Kotewicz 995861de4d event options 2015-01-31 01:30:19 +01:00
Marek Kotewicz 600c9dd27d topics are deprecated 2015-01-29 15:45:04 +01:00
Marek Kotewicz e380462532 topic for backwards compatibility 2015-01-29 15:36:13 +01:00
Marek Kotewicz 8613382869 moved comment 2015-01-29 15:17:32 +01:00
Marek Kotewicz df17c33898 event example 2015-01-29 15:05:43 +01:00
Marek Kotewicz c8ee08c24b contract.js simplified 2015-01-29 13:32:32 +01:00
Marek Kotewicz 842b8cf323 event.js 2015-01-29 12:35:21 +01:00
Marek Kotewicz 61e8ae2f7b events init 2015-01-28 14:55:39 +01:00
Marek Kotewicz 2544d2c952 tests for abi.filters 2015-01-28 14:39:10 +01:00
Marek Kotewicz ea7c2fc673 abi function type 2015-01-28 14:20:36 +01:00
Marek Kotewicz 63d9c070ef fixed incoming messages 2015-01-28 10:50:24 +01:00
Marek Kotewicz 1345a8c67c log error on console, if api returns an error 2015-01-28 00:07:03 +01:00
Marek Kotewicz c2cb2bef96 removed web3.eth.account, fixed #37 2015-01-27 16:02:42 +01:00
Marek Kotewicz 09f633596d fixed #23 2015-01-27 15:20:22 +01:00
Marek Kotewicz 42a25f2f26 evaluating solidity method input params 2015-01-27 14:31:50 +01:00
Marek Kotewicz 6d59047c5f contract method name 2015-01-27 14:14:02 +01:00
Marek Kotewicz ad7c05778f getMethodWithName 2015-01-27 14:05:30 +01:00
Marek Kotewicz 1f5a6f1341 Merge branch 'develop' into cpp
Conflicts:
	dist/ethereum.js.map
	dist/ethereum.min.js
2015-01-27 09:36:39 +01:00
Marek Kotewicz da4c2d530d removed promise dependency, updated readme, fixed node.js version of lib 2015-01-27 00:54:21 +01:00
Marek Kotewicz c5610398d5 Merge branch 'master' into sync
Conflicts:
	lib/websocket.js
2015-01-26 16:45:12 +01:00
Marek Kotewicz a7f4448f34 Merge branch 'develop' into sync 2015-01-26 16:43:21 +01:00
Marek Kotewicz 7807a4f738 polling every second 2015-01-26 16:42:43 +01:00
Marek Kotewicz e5d294df32 return null instead of undefined, if not provider is set 2015-01-26 16:41:00 +01:00
Marek Kotewicz d0b6f3663b watches are calling callback with a single result object, not a full jsonrpc response 2015-01-26 16:22:40 +01:00
Gav Wood d223ac0379 Additional work on the JS stuff to make it more similar to Solidity. 2015-01-25 13:43:36 -08:00
Gav Wood 113a3809ab Fix string outputs.
Auto collapse for < 2 returns.
2015-01-24 18:23:39 -08:00
Gav Wood fb34c6c7b9 Auto select call or transact depending on constness. 2015-01-24 18:09:35 -08:00
Gav Wood 7869294a26 Fixes to ethereum.js and standard.js. 2015-01-24 17:42:49 -08:00
Gav Wood 61a0158877 Vanity addresses in AZ.
Fixes to ethereum.js
eth.flush()
2015-01-24 16:46:46 -08:00
wanderer fa93480d9a added addressbook 2015-01-24 19:45:53 -05:00
wanderer 063f69d51d added local 2015-01-24 19:32:26 -05:00
Marek Kotewicz 81bbe8c93b simplified synchronous polling 2015-01-22 17:57:26 +01:00
Marek Kotewicz 3073511e30 not parsing transaction output 2015-01-22 15:32:52 +01:00
Marek Kotewicz e45db42e94 fixed contract.js 2015-01-22 15:18:21 +01:00
Marek Kotewicz 0202b05a5d implicit solidity method call 2015-01-22 14:37:34 +01:00
Marek Kotewicz 22c77c607e qt sync provider 2015-01-22 13:04:28 +01:00
Marek Kotewicz edfb874527 changes in filter.js (not yet working) 2015-01-21 21:54:03 +01:00
Marek Kotewicz c2d9c1a6f1 toDecimal/fromDecimal is using bignumber.js now 2015-01-21 21:35:15 +01:00
Marek Kotewicz 81a5813270 removed unused pieces of code 2015-01-21 21:24:40 +01:00
Marek Kotewicz 08e2696627 removed send queues from providermanager 2015-01-21 21:22:05 +01:00
Marek Kotewicz c9693b4746 contract.html example is working with sync api 2015-01-21 21:12:07 +01:00
Marek Kotewicz ceb4357a8d sync api tests running, removed unused pieces of code 2015-01-21 20:43:20 +01:00
Marek Kotewicz fc986a3fbe removed unused providers 2015-01-21 20:30:32 +01:00
Marek Kotewicz 0d2cccc2ce http sync api 2015-01-21 20:29:02 +01:00
Marek Kotewicz f3e78e50ff changes to for natspec 2015-01-21 18:56:30 +01:00
Marek Kotewicz 848c54dc47 _currentAbi object 2015-01-20 17:46:37 +01:00
Marek Kotewicz 380c1522ac solidity methods "overloading" 2015-01-20 15:06:05 +01:00
Marek Kotewicz 6a58db66f7 parsing real, ureal values on output 2015-01-19 13:22:58 +01:00
Marek Kotewicz af54832d24 encoding real on input 2015-01-19 12:59:29 +01:00
Marek Kotewicz 86b417e83f fixes for autoprovider 2015-01-19 11:36:41 +01:00
Marek Kotewicz 1e2c1ae98a output parser string support 2015-01-17 13:39:19 +01:00
Marek Kotewicz b457e88cd0 support for int array types[] 2015-01-17 02:14:40 +01:00