Commit Graph

2094 Commits

Author SHA1 Message Date
obscuren 04561c4ddc Updated VM & added helper methods to state
* VM BALANCE opcode updated to pop 1 item and use that to retrieve the
  address' balance
* GetBalance and GetNonce on state that'll always return something valid
2014-07-10 17:58:16 +02:00
obscuren 9688ebef52 Return from execution immediately if there's no code 2014-07-10 15:31:48 +02:00
obscuren d6753b2883 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-07-10 15:06:55 +02:00
obscuren b7ff773ecf Removed debug log 2014-07-10 15:06:46 +02:00
obscuren e504088b79 Consensus and bug fixes
* Ensure that each state object has an address that is 20 bytes
* Byte logging for vm
* changed diff output
2014-07-10 15:05:06 +02:00
obscuren d52e5f7130 Removed hardcoded ip 2014-07-10 15:04:19 +02:00
obscuren bea468f1e5 Increased timeout to 500ms 2014-07-10 15:03:48 +02:00
obscuren 639f1fd339 Log received and send to 2014-07-10 15:03:26 +02:00
obscuren 67e5689f87 Fixed BYTE opcode 2014-07-10 12:51:19 +02:00
Maran c2bca5939d Added path check for Windows when loading external QML windows/components 2014-07-09 14:01:53 +02:00
Maran dcbd97d29c Check current folder for mnemonic words if it fails in source folder. For binary support 2014-07-09 10:59:49 +02:00
Maran 05c1899895 Windos case for assetPath had a typo 2014-07-08 14:58:33 +02:00
Maran 7e88dd4e6b Setup default asset path for windows 2014-07-08 14:58:23 +02:00
Maran 61d5d107b6 Make script inclusion via QML also relative to asset path 2014-07-08 14:27:22 +02:00
Maran 7f9e614b5d Forgot two images 2014-07-08 14:25:30 +02:00
Maran 79259c916d Use relative image paths to help with windows builds 2014-07-08 14:05:42 +02:00
obscuren 685aebc72e Merge branch 'develop' 2014-07-07 22:15:35 +02:00
obscuren 794e65b60e Updated peer server 2014-07-07 22:08:09 +02:00
obscuren 6cb35836a2 Upped protocol version number 2014-07-07 16:06:09 +02:00
obscuren e4e704f480 Fix quit 2014-07-07 16:05:59 +02:00
obscuren 14d13167a7 Remove debug println 2014-07-07 13:59:59 +02:00
obscuren 78aad9a192 Getting rid of deprecated methods 2014-07-07 13:59:32 +02:00
obscuren b01cb2406f Fixed state reset case 2014-07-07 13:59:09 +02:00
obscuren 42bb3d8aae Removed old if statement. No longer needed 2014-07-07 13:58:54 +02:00
obscuren 96ac061e68 Log change 2014-07-07 13:58:28 +02:00
obscuren 890745e846 Increased timeout 2014-07-07 13:58:20 +02:00
zelig 4d77b7face remove extra case in main loop 2014-07-07 12:30:25 +01:00
obscuren 68fba4b781 Fixed state reset on err 2014-07-07 11:17:48 +02:00
Jeffrey Wilcke 0360e60dd5 Merge pull request #101 from ethereum/revert-100-feature/ethutil-refactor
Revert "ethreact - Feature/ethutil refactor"
2014-07-07 10:59:30 +02:00
Jeffrey Wilcke 239a5d3230 Merge pull request #34 from ethereum/revert-33-feature/ethutil-refactor
Revert "ethreact - Feature/ethutil refactor"
2014-07-07 10:59:26 +02:00
Jeffrey Wilcke 6fe9b4ab5e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:59:16 +02:00
Jeffrey Wilcke 0c132e4c9e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:58:42 +02:00
Jeffrey Wilcke f9e2e5276f Merge pull request #100 from ethersphere/feature/ethutil-refactor
ethreact - Feature/ethutil refactor
2014-07-07 10:55:39 +02:00
obscuren 9dab7dcc3c Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-07-07 10:53:25 +02:00
obscuren d40cba3042 changed state reset 2014-07-07 10:53:20 +02:00
obscuren 1199941475 Connect to peer node by default 2014-07-07 10:52:58 +02:00
obscuren ec040908e9 Protocol bump 2014-07-07 10:52:39 +02:00
Jeffrey Wilcke b958179263 Merge pull request #33 from ethersphere/feature/ethutil-refactor
ethreact - Feature/ethutil refactor
2014-07-07 10:52:02 +02:00
zelig 5a2afc5754 fix reactor engine main loop blocked to wait if drained 2014-07-05 19:56:01 +01:00
zelig d4300c406c logger fix
- introduce quit, drained, shutdown channels
- mainLoop falls through reading message channel to drained state, and waits is blocked in default branch until any message is sent
- Flush() waits for <-drained
- Stop() pushes quit and nodges mainloop out of blocking drained state
- package-global mutex
- Reset()
- clear tests
2014-07-05 19:11:08 +01:00
zelig 4fb2905b1e Merge branch 'develop' of github.com:ethereum/eth-go into feature/ethutil-refactor 2014-07-05 12:53:00 +01:00
zelig 6b296d907b Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/ethutil-refactor 2014-07-05 12:52:44 +01:00
obscuren 8e5117444e New type of debugger 2014-07-05 13:25:16 +02:00
obscuren b232acd04e Debugging mode for vm 2014-07-05 13:24:49 +02:00
obscuren 329887df99 Fixed crazy looping 2014-07-05 13:24:26 +02:00
zelig 1e4ae24126 use ethreact.Event, unbuffered event channels, subscribe after loop reading from channel starts 2014-07-04 19:48:37 +01:00
zelig 44d0d6abd2 Merge branch 'develop' of github.com:ethereum/eth-go into feature/ethutil-refactor 2014-07-04 19:40:23 +01:00
zelig 0c6f1c9c3a ethreact
- consistent renaming
- React -> Event
- ReactorEvent -> EventHandler
- NewReactorEngine -> New
- async ReactorEngine main loop with select on main eventChannel and quit channel
- ReactorEngine main loop control with Start() Stop() Flush()
- ReactorEngine.dispatch
- use sync.RWMutex
- delete eventHandler if subscribed channels go to 0
2014-07-04 19:38:53 +01:00
zelig 584d1c61ec use ethreact.Event and ethreact.ReactorEngine 2014-07-04 19:38:44 +01:00
zelig af27264140 remove reactor code from ethutil 2014-07-04 19:37:40 +01:00