Commit Graph

245 Commits

Author SHA1 Message Date
obscuren
82272ee08a Iterator fix 2014-06-30 14:28:54 +02:00
obscuren
9ed0d389b2 Generic trie 2014-06-30 13:34:47 +02:00
obscuren
8ddd4c4c52 wip 2014-06-30 13:09:04 +02:00
obscuren
5a86892ecb Using remote for test cases 2014-06-30 13:08:00 +02:00
zelig
707d413761 refactor ethutil/trie to ethtrie 2014-06-29 16:26:58 +01:00
zelig
e3b911652d move CreateAddress from ethutil/common to ethcrypto 2014-06-29 16:08:33 +01:00
zelig
5e50b50dc3 no strconv import needed 2014-06-29 16:06:54 +01:00
zelig
e1ea41ee9c remove ethutil helpers (refactored), and keypair (key management under ethcrypto package) 2014-06-29 16:01:57 +01:00
zelig
d87857ffdb config Pubkey removed (unused) 2014-06-29 15:59:57 +01:00
zelig
1db3e2241e move ethutil/mnemonic to ethcrypto - electrum word list now sourced from file 2014-06-29 15:59:35 +01:00
zelig
5c1e0a6dc4 move ethutil hex conversion functions to bytes 2014-06-29 15:56:40 +01:00
zelig
7489fb784e move ethutil helper slice functions -> slice 2014-06-29 15:56:19 +01:00
zelig
79009ca074 transitional ethutil.ReadConfig fixes in ethchain tests (they still fail! FIXME :) 2014-06-27 15:56:45 +01:00
Jeffrey Wilcke
30f5642c62 Merge pull request #26 from ethersphere/master
bump v5.15
2014-06-27 00:11:55 +02:00
obscuren
8119d77a21 :-( 2014-06-27 00:08:19 +02:00
zelig
d551a75c35 bump v5.15 2014-06-26 21:20:02 +01:00
zelig
853053a3b2 go fmt 2014-06-26 18:45:57 +01:00
zelig
da38faa8f7 merge upstream; fix port in use warning; new logger API 2014-06-26 16:37:56 +01:00
obscuren
0ed19d9f20 Logging, variable rearrangement 2014-06-26 11:26:42 +02:00
zelig
98f1ee9442 merge upstream 2014-06-25 16:58:07 +01:00
obscuren
b0dc50c2a0 New mutan implementation 2014-06-25 17:26:34 +02:00
zelig
f58c7ac5a6 merge upstream 2014-06-23 13:07:43 +01:00
zelig
63157c798d refactor config (transitional). Details:
- ReadConfig initialiser sets up global ethutil.Config via config file passed from wrappers
- does not write out adhoc default (not meant to) but creates empty config file if it does not exist so that globalconf does not complain if persists a flag
- default datadir and default config file set together with other flag defaults in wrappers
- default assetpath set together with other command line flags defaults in gui wrapper (not in ethutil.Config or ui/ui_lib)
- add EnvPrefix, to handle environment variable options too via globalconf
- this is still transitional: global Config should just be a wrapper around globalconfig config handler and should be moved to go-ethereum
- actual eth stack config should not be global instead config handled properly with explicit dependency injectioninto eth stack component instances
2014-06-23 12:55:38 +01:00
obscuren
299b50a0d4 Support serpent lang 2014-06-21 02:40:25 +02:00
obscuren
7ad073fb30 bump 2014-06-20 00:47:50 +02:00
obscuren
c4af1340fa Updated test 2014-06-18 13:48:29 +02:00
obscuren
7f94bd09ae Return a single byte if byte get called 2014-06-18 13:47:40 +02:00
obscuren
2fbcfd8824 Proper checks for multiple data items. Fixes #80 2014-06-18 11:55:05 +02:00
obscuren
34c8045d5b Fixed issue where JUMPI would do an equally check with 1 instead of GT 2014-06-17 18:05:46 +02:00
obscuren
ff0f15f763 bump 2014-06-16 18:25:21 +02:00
obscuren
58a0e8e3e2 Changed RlpEncodable 2014-06-16 00:52:10 +02:00
obscuren
dccef70728 Method for creating a new key from scratch 2014-06-16 00:51:55 +02:00
obscuren
6d52da58d9 Logging mechanism 2014-06-14 15:44:13 +02:00
obscuren
8124547348 Moving a head closer to interop 2014-06-13 16:06:27 +02:00
obscuren
3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
Maran
97cc762143 Expose GasLimit to ethPub 2014-06-11 10:28:18 +02:00
Maran
2e6cf42011 Fix BigMax to return the biggest number, not the smallest 2014-06-10 17:15:18 +02:00
obscuren
a51dfe89c0 bump 2014-06-09 22:23:30 +02:00
obscuren
1153fd9a0c Added Douglas and Einstan 2014-06-06 12:12:27 +02:00
obscuren
9e8127accb woops 2014-05-30 19:51:19 +02:00
obscuren
17c825f53a Peer changes broadcasting and minor miner fix 2014-05-30 16:57:58 +02:00
obscuren
b15e03acd7 Fixed issue with casting to smaller byte array 2014-05-30 16:57:40 +02:00
obscuren
6c91ffcfbe Do not panic, but return nil instead 2014-05-30 11:48:37 +02:00
obscuren
4d98762486 Fixed state object gas return 2014-05-28 23:16:54 +02:00
Maran
76a59274bf Bump to RC11 2014-05-28 16:19:25 +02:00
obscuren
a98e35d7a0 Length checking 2014-05-28 13:55:32 +02:00
obscuren
65722aeeca Added StringToBytesFunc 2014-05-28 13:14:56 +02:00
obscuren
a428533160 bump 2014-05-27 16:10:18 +02:00
obscuren
5cdfee5143 New Trie iterator 2014-05-27 01:08:51 +02:00
obscuren
1f3f76cb09 bump 2014-05-26 00:38:53 +02:00
obscuren
3ebd7f1166 State snapshotting 2014-05-26 00:09:38 +02:00
obscuren
230aafbf66 Working on interop
* Receipts after each transaction
* Fee structure
* Applying fees to miners
2014-05-22 17:35:26 +02:00
obscuren
8f5eddd0ba Bumped 2014-05-21 14:04:19 +02:00
obscuren
3c35ba7c31 Fixed state overwriting issue 2014-05-21 01:12:28 +02:00
obscuren
c37b3cef7d Bump 2014-05-20 17:08:53 +02:00
Maran
31e44c2ab9 Change shorthands 2014-05-20 14:53:34 +02:00
obscuren
a2fb265563 Added a fatal method 2014-05-19 17:02:16 +02:00
obscuren
8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
obscuren
7bf2ae0b11 Removed old tx pool notification system. Fixes #19 2014-05-15 14:05:15 +02:00
obscuren
ad4ffdc947 Bumped version 2014-05-14 21:34:13 +02:00
obscuren
f4fa0d48cb Moved keyring to ethutil & removed old methods. Implements #20 2014-05-14 13:54:40 +02:00
obscuren
86d6aba012 Bumped 2014-05-13 16:36:43 +02:00
obscuren
d3d9ed62e2 Upgraded to new mutan 2014-05-10 16:23:07 +02:00
obscuren
dbf8645aaf Bump 2014-05-10 02:02:54 +02:00
obscuren
c03bf14e02 Fixed some tests 2014-05-10 02:01:09 +02:00
obscuren
afe83af219 Moved seeding and moved manifest 2014-05-09 16:09:28 +02:00
obscuren
fedd4c906f bump 2014-05-05 15:55:26 +02:00
obscuren
14a6e6a9ce Added the ability to submit byte code for contracts instead of Mutan code. 2014-05-05 15:48:17 +02:00
Maran
9b1f11695d Get rid of that annoying number that keeps popping up in stdout 2014-05-05 14:20:20 +02:00
obscuren
e798f221dd Added public interface 2014-05-02 13:55:43 +02:00
obscuren
38d6b67b5c Fixed state problem 2014-04-29 12:36:27 +02:00
obscuren
21f8806eed Moved assembler stage to the mutan compiler 2014-04-27 18:01:37 +02:00
obscuren
338b698091 Refactoring and added documentation comments 2014-04-27 17:16:53 +02:00
obscuren
16e52327a4 Upped version number 2014-04-27 16:53:35 +02:00
obscuren
0f93da400a Added new state object change echanism 2014-04-26 01:48:40 +02:00
obscuren
ef7f3f36e2 Renamed CALLDATA to CALLDATALOAD 2014-04-23 15:53:34 +02:00
obscuren
3a9a252f6e Fixed minor issue with gas and added state object init 2014-04-23 11:51:04 +02:00
obscuren
11c26e3211 Implemented ethereum package reader 2014-04-23 11:50:17 +02:00
obscuren
086acd122b Added pre processing of script data 2014-04-12 00:13:42 -04:00
obscuren
7d6ba88d2b Merge branch 'split' into develop 2014-04-10 21:05:58 -04:00
obscuren
891f725909 Added better address format 2014-04-10 18:14:19 -04:00
obscuren
6a530ea371 Call fixed 2014-04-10 14:40:12 -04:00
obscuren
0fccbeabcc No longer return a list, but raw bytes 2014-04-09 12:28:34 -04:00
obscuren
4f2e9c2640 Check for nil 2014-04-09 12:27:25 -04:00
Maran
5714a82778 Small tweaks to mnemonic 2014-04-09 11:06:30 -04:00
Maran
272b135b74 One more line of comment 2014-04-09 10:40:55 -04:00
Maran
35a82f8f4a Added support for mneomnic privkeys 2014-04-07 14:00:02 +02:00
Maran
0a88010826 Merge conflicts 2014-04-01 14:20:55 +02:00
Maran
5f49a659c3 More blockchain testing 2014-03-31 12:54:37 +02:00
obscuren
7660e1ed90 Added a IsList method for type checking []interface{} 2014-03-27 19:42:01 +01:00
obscuren
308c59320c Fixed typo 2014-03-27 15:38:55 +01:00
obscuren
e0b6091d7e Test fixes and removed old code. Added VM gas fees 2014-03-24 13:20:34 +01:00
obscuren
01c1bce9c5 Removed regular ints from the virtual machine and closures 2014-03-21 18:22:47 +01:00
obscuren
9a9e252cab Changes 'compiler' to work with any type 2014-03-21 15:27:18 +01:00
obscuren
2ea4c632d1 Closure return, arguments fixed. Added proper tests 2014-03-21 14:47:55 +01:00
obscuren
fa1db8d2dc Implemented closure arguments 2014-03-21 11:54:36 +01:00
obscuren
f3d27bf5d8 Rewrote opcodes again 2014-03-20 22:51:20 +01:00
obscuren
f21eb88ad1 Some minor updates 2014-03-20 17:27:48 +01:00
obscuren
c642094cac Added encoder interface 2014-03-20 17:27:26 +01:00
obscuren
344e827061 Added client string to configuration
Clients can set their own client string which will be send to connected
peers during the handshake.
2014-03-17 12:08:16 +01:00
obscuren
f80984491a Removed comments 2014-03-06 13:09:55 +01:00
obscuren
79320e2868 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-03-05 10:44:57 +01:00
obscuren
92f2abdf76 Partially refactored server/txpool/block manager/block chain
The Ethereum structure now complies to a EthManager interface which is
being used by the tx pool, block manager and block chain in order to
gain access to each other. It's become simpeler.
TODO: BlockManager => StateManager
2014-03-05 10:42:51 +01:00
Maxime Quandalle
8577e9116e Rename .travil.yml to .travis.yml 2014-03-03 18:13:08 +01:00
obscuren
d2bc57cd34 PoC reactor pattern 2014-03-03 00:55:10 +01:00
obscuren
f1b354e6aa Reactor implemented 2014-03-02 02:22:20 +01:00
obscuren
b462ca4aad Bump 2014-02-28 16:45:46 +01:00
obscuren
3f7ec1a83f Conform to Db interface 2014-02-28 12:19:45 +01:00
obscuren
8fa19664e6 Added BigCopy 2014-02-28 12:19:21 +01:00
obscuren
9d06f9e6fb Updated readme#trie 2014-02-28 12:19:01 +01:00
obscuren
c0fcefa3a0 Added a GetKeys method to support multiple accounts 2014-02-28 12:18:41 +01:00
obscuren
c7e73ba12d Added currency converting 2014-02-25 11:20:24 +01:00
obscuren
b30b9ab8cb Fixed a minor issue where a string is expected but returns slice 2014-02-25 10:50:53 +01:00
Jeffrey Wilcke
f2234264ed Merge pull request #8 from josephyzhou/develop
parse returns byte array instead of string now
2014-02-24 12:53:30 +01:00
obscuren
55c1c220d0 Added delete to database interfaces 2014-02-24 12:12:01 +01:00
obscuren
5971c82094 Updated opcodes ... again 2014-02-24 12:11:42 +01:00
obscuren
1a98bbf1c8 Added a trie iterator 2014-02-24 12:11:00 +01:00
Joey Zhou
8ecb24f114 parse now returns byte[] instead of string 2014-02-23 14:43:18 -08:00
obscuren
4bfd717ba2 Added the ability to extend the logger with more sub systems 2014-02-22 01:53:09 +01:00
obscuren
b20c0b1d59 Removed all old code 2014-02-21 12:36:41 +01:00
obscuren
f2a1260294 Nil is also considered empty 2014-02-21 12:36:22 +01:00
obscuren
059ad35215 Type checking 2014-02-20 23:10:05 +01:00
obscuren
9bc5c4a0c5 Long over due Trie delete implemented 2014-02-20 14:40:00 +01:00
obscuren
4afb624c45 WIP state object 2014-02-19 16:28:08 +01:00
obscuren
d4cc125456 Added more logging functions 2014-02-19 16:27:22 +01:00
obscuren
0936e5ccf5 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
Conflicts:
	ethutil/config.go
2014-02-19 11:40:02 +01:00
obscuren
24f2b2afc3 Running contracts fixed 2014-02-19 11:35:17 +01:00
Jeffrey Wilcke
bbcf304b99 Merge pull request #3 from josephyzhou/develop
Migrated to here
2014-02-18 16:04:45 +01:00
obscuren
c866fcc5b3 Added new address 2014-02-18 12:10:21 +01:00
obscuren
d7eca7bcc1 Rlp update 2014-02-18 01:34:06 +01:00
obscuren
ba95849097 Added hex method 2014-02-18 01:32:20 +01:00
Joey Zhou
c5b009ba6f new line 2014-02-17 15:47:33 -08:00
Joey Zhou
e72a782bf0 adding compact decode tests 2014-02-17 15:46:16 -08:00
obscuren
7413552a28 Root should reset on undo 2014-02-17 20:40:33 +01:00
obscuren
b7a636b894 Values should accept bytes as valid string output 2014-02-17 20:29:54 +01:00
obscuren
e4a6ee3d7f Added dirty tracking on the cache 2014-02-16 20:32:56 +01:00
obscuren
7264044122 Added a few tests 2014-02-16 20:31:02 +01:00
obscuren
f1d6f1bd17 Removed Reset 2014-02-16 20:30:50 +01:00
obscuren
c95a27e394 Added more tests 2014-02-16 20:30:33 +01:00
obscuren
07c12f0b92 Added trie tests, value tests 2014-02-15 13:21:11 +01:00
obscuren
5883446b21 Fixed test 2014-02-15 12:41:17 +01:00
obscuren
9bcb3d2216 Fixed test 2014-02-15 12:40:19 +01:00
obscuren
fd1aa869e1 Bumped version number 2014-02-15 11:52:28 +01:00
obscuren
73fd358d94 Removed RlpValue in favour of Value 2014-02-15 01:34:18 +01:00
obscuren
f6d1bfe45b The great merge 2014-02-14 23:56:09 +01:00