Commit Graph

275 Commits

Author SHA1 Message Date
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