Commit Graph

2978 Commits

Author SHA1 Message Date
Marek Kotewicz
e94da808cb default padding set to 32, separated to one variable 2015-01-16 16:46:14 +01:00
Marek Kotewicz
a1c0bb68dd fixed checking first bit for parsing int output 2015-01-16 16:40:26 +01:00
Marek Kotewicz
774e9d24a1 abi.js rounds down floating point input 2015-01-16 16:26:58 +01:00
Marek Kotewicz
9a264a4284 updated bower.json && package.json version, added bignumber.js to bower dependencies 2015-01-16 16:04:41 +01:00
Marek Kotewicz
0172939490 fixed #28 and other small node.js issues 2015-01-16 15:49:36 +01:00
obscuren
24613a60dc Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-01-16 14:51:47 +01:00
obscuren
acc8f7fadc Add defer rescued back in 2015-01-16 14:51:38 +01:00
Marek Kotewicz
de4ea8e6f4 Merge commit 'd876522bc0614fea3180a54be57bcb61784b352e' into ethereumjs 2015-01-16 12:07:48 +01:00
Marek Kotewicz
2c36d5ff45 big integers on abi.js output, tests 2015-01-16 11:58:26 +01:00
Marek Kotewicz
f1295b506d tests for bigintegers on input 2015-01-16 11:28:46 +01:00
Marek Kotewicz
fbcc6d0d25 BigNumber support 2015-01-16 10:47:43 +01:00
Felix Lange
fc92abec2c rlp: allow encoding non-empty interface values
This needs to be supported because []someInterface does occur sometimes.

Funny enough, the fix involves changes to the decoder. makeDecoder
cannot return an error for non-empty interfaces anymore because the type
cache builds both decoder and writer. Do the check at 'runtime' instead.
2015-01-15 23:35:26 +01:00
Jeffrey Wilcke
52bb149541 Merge pull request #257 from fjl/rlp-encoder
rlp: add functions for encoding
2015-01-15 22:28:48 +01:00
Gustav Simonsson
9caf32befe Update code comments 2015-01-15 19:58:38 +01:00
Gustav Simonsson
47d3b3dd58 Address pull request comments
* Remove flags field from key struct
* Change JSON struct fields from string to []byte
* Change GenerateNewKey API to take io.Reader for random source
* Remove mixing entropy source function
* Use testing Fatal in tests
2015-01-15 19:40:10 +01:00
Gustav Simonsson
a1c2749380 Address pull request comments
* Simplify scrypt constants with const block
* Add key store constructors and make their types private
* Simplify key store and file namings to be less Java Enterprise™
* Change test error logging to use t.Error(err)
* Reduce number of naked returns (just like my ex-gf)
* Simplify file reading path code
2015-01-15 19:40:10 +01:00
Gustav Simonsson
945798f913 Add new key_store interface and two new key stores
* Add new generic key_store interface
* Add new plaintext key store storing unprotected keys on disk
* Add new encrypted key store storing encrypted keys on disk
* Add new entropy mixing function using OS and go runtime sources
2015-01-15 19:40:10 +01:00
Marek Kotewicz
6d02c0d392 Merge commit '1a6dbeff6e86d65cae6d7db366cbaa4182eaff7f' into ethereumjs
Conflicts:
	libjsqrc/ethereumjs/dist/ethereum.js
	libjsqrc/ethereumjs/dist/ethereum.js.map
	libjsqrc/ethereumjs/dist/ethereum.min.js
	libjsqrc/ethereumjs/lib/abi.js
2015-01-15 17:27:07 +01:00
Marek Kotewicz
ec74fc05d4 gulp 2015-01-15 16:01:58 +01:00
Marek Kotewicz
46b932ccc0 negative integers support 2015-01-15 15:51:25 +01:00
Marek Kotewicz
f85f77f6cc fixed typos 2015-01-15 14:37:18 +01:00
Marek Kotewicz
6a4b4f3449 fixed readme 2015-01-15 14:30:34 +01:00
Marek Kotewicz
d0473d6d83 gulp 2015-01-15 11:40:04 +01:00
Marek Kotewicz
70bf1a5711 fixed typos 2015-01-15 11:39:02 +01:00
Marek Kotewicz
bacc5aa6d3 methodExists and propertyExists are now separated tests 2015-01-15 11:38:21 +01:00
Felix Lange
29c46cdf34 rlp: fix Decode benchmarks 2015-01-15 11:12:39 +01:00
Felix Lange
552f5b2693 rlp: add functions for encoding
I'm reasonably confident that the encoding matches the output of
ethutil.Encode for values that it supports. Some of the tests have been
adpated from the Ethereum testing repository.

There are still TODOs in the code.
2015-01-15 11:00:19 +01:00
obscuren
d5d9746ca3 updated tests 2015-01-15 10:46:42 +01:00
Lefteris Karapetsas
508f116738 Merge pull request #798 from LefterisJP/natspec_OnContractCreation
Natspec Popup Authentication on transaction
2015-01-15 01:37:52 +01:00
Marek Kotewicz
472ad43211 more comments 2015-01-14 20:36:26 +01:00
Marek Kotewicz
603c790213 next part of abi.js parsers tests and fixes 2015-01-14 20:29:20 +01:00
obscuren
62e0e18030 Changed public whisper api not to reveal temporary private keys 2015-01-14 18:12:18 +01:00
Marek Kotewicz
b0a9bbf33a next part of abi.js docs 2015-01-14 14:19:54 +01:00
Marek Kotewicz
6b2ec23132 formatting bool tests and fixes 2015-01-14 14:06:29 +01:00
Marek Kotewicz
ed1cb9edca simplifid abi.js methods 2015-01-14 13:53:40 +01:00
Marek Kotewicz
17f2f12ce6 gulp 2015-01-14 12:01:24 +01:00
Marek Kotewicz
12bdb5f550 providers documentation 2015-01-14 12:01:11 +01:00
Marek Kotewicz
8d1f96cc0a few comments 2015-01-14 10:50:34 +01:00
Lefteris Karapetsas
a4049fb85c Cleaned up some unused functions 2015-01-14 09:28:52 +01:00
obscuren
bb55307a9d Updated tests 2015-01-13 20:31:31 +01:00
Marek Kotewicz
422dc05bb0 ProviderManager separated to providermanager.js file 2015-01-13 18:40:01 +01:00
Marek Kotewicz
9a8f45ee30 Filter separated to filter.js file 2015-01-13 18:28:49 +01:00
Lefteris Karapetsas
dac93ed616 Natspechandler: Get function hash from transaction data 2015-01-13 17:54:09 +01:00
Marek Kotewicz
8b7d4b0c9e beginning of comments in web3 2015-01-13 17:05:05 +01:00
Taylor Gerring
499bc404e8 Stub missing UnmarshalJSON methods 2015-01-13 09:37:30 -06:00
Taylor Gerring
a81d835e4d cleanup 2015-01-13 09:37:08 -06:00
Taylor Gerring
961e4da7d8 Add support for CodeAt 2015-01-13 09:27:36 -06:00
Taylor Gerring
b178414a47 Added license headers 2015-01-13 09:13:43 -06:00
Lefteris Karapetsas
f54c90a0ba A first version of Natspec warning popup
- Runtime Contract code hash can now be retrieved from the Compiler

- Using the hash the Natspec handler stores and later retrieves Natspec
  JSON for a given contract.
2015-01-13 15:59:42 +01:00
Marek Kotewicz
ee167e53d1 test for parsing multiple methods description 2015-01-13 15:42:56 +01:00