Commit Graph

11363 Commits

Author SHA1 Message Date
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
Jeffrey Wilcke
ec9a044a17 Merge pull request #10 from romanman/patch-1
Update vmtests.json
2014-07-04 15:56:52 +02:00
obscuren
0ae3bbc3f5 deleted 2014-07-04 15:53:16 +02:00
obscuren
b9fa4dada8 Merge branch 'develop' 2014-07-04 15:53:03 +02:00
obscuren
9754c01f56 Added sample coin as a submodule 2014-07-04 15:49:51 +02:00
obscuren
043920d157 Removed sample coin 2014-07-04 15:49:32 +02:00
obscuren
3ebcd36667 Merge branch 'develop' 2014-07-04 15:32:25 +02:00
obscuren
90eb4f1939 Debug output, minor fixes and tweaks
* Script compile length fix
* Transition fix
2014-07-04 15:32:10 +02:00
obscuren
9e38ca555d Visual updates 2014-07-04 15:31:13 +02:00
obscuren
de183e80db Silent compiler errors when continues compiling 2014-07-04 13:42:43 +02:00
obscuren
23b5b5fa36 Length check 2014-07-04 13:34:50 +02:00
obscuren
d5bcc01eae Fixed shebang check. Previously it would hang on an unknown shebang 2014-07-04 13:05:07 +02:00
obscuren
ca395306e3 Updated debugger
* Compile on the go. Continues compilation in order to update the ASM
  view
* Short cuts commands
2014-07-04 13:04:25 +02:00
romanman
5e0123fbe1 Update vmtests.json 2014-07-04 10:23:04 +01:00
obscuren
24ff81d14e Merge branch 'ethersphere-feature/clientid' into develop 2014-07-04 00:14:17 +02:00
obscuren
633027d980 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-07-04 00:13:57 +02:00
obscuren
d3d043dba0 Merge branch 'ethersphere-feature/clientid' into develop 2014-07-04 00:13:42 +02:00
obscuren
db60ebbbd7 Merge branch 'feature/clientid' of https://github.com/ethersphere/eth-go into ethersphere-feature/clientid 2014-07-04 00:12:28 +02:00
obscuren
cb7ebdf821 Decreased timeout 2014-07-04 00:12:21 +02:00
Jeffrey Wilcke
70e1a1a4df Merge pull request #32 from josephyzhou/develop
typo, duplications
2014-07-04 00:10:29 +02:00
Joey Zhou
7c41e413e4 typo, duplications 2014-07-03 11:31:47 -07:00
romanman
2b6da2f5f2 Update vmtests.json
arith testcase updated
2014-07-03 17:45:04 +01:00
zelig
9de30d96f0 Modify main wrappers
- clientIdentifier now set in main wrappers
- version handled within wrapper
- modify InitConfig now returning *ethutil.ConfigManager (passed to gui)
- added NewClientIdentity returning *ethwire.SimpleClientIdentiy (passed to ethereum)
2014-07-03 17:36:24 +01:00
zelig
a3c4823511 Gui saves custom client id and loglevel
- gui NewWindow takes SimpleClientIdentity as argument
- gui NewWindow takes ethutil.ConfigManager as argument to manage flag persistence
- gui now saves loglevel and custom client id via config.Save
- rename custom client id methods consistently also in wallet.qml
- clientIdentifier now set in main wrappers
- version handled within wrapper
- modify InitConfig now returning *ethutil.ConfigManager (passed to gui)
2014-07-03 17:35:48 +01:00
zelig
f02602d02d ConfigManager (transitional)
- remove clientstring handling from ethutil.Config
- ReadConfig takes no Identifier argument
- members Ver, ClientString, ClientIdentifier removed from Config
- type ConfValue removed
- expose public type ethutil.ConfigManager
- Set -> Save(key string, value interface{}) now takes any value to allow for persisting non-string values directly
- TODO: eliminate all eth specific configs, just a wrapper around globalconf
2014-07-03 17:30:51 +01:00
zelig
90c2064640 peer constructors now set version string with ethereum.ClientIdentity().String() 2014-07-03 17:30:37 +01:00
zelig
c833c3fec8 add ClientIdentity() ethwire.ClientIdentity to Ethereum 2014-07-03 17:30:04 +01:00
zelig
c64629964f ethwire.ClientIdentity now handles Client info sent in handshake + test 2014-07-03 17:28:27 +01:00
zelig
de2da4fd19 Merge branch 'develop' of github.com:ethereum/eth-go into feature/clientid 2014-07-03 15:08:13 +01:00
zelig
198e5eeab9 EthManager interface extended with ClientIdentity() ethwire.ClientIdentity 2014-07-03 15:08:06 +01:00
obscuren
8baa0f84e7 Fixed reverting error 2014-07-03 16:07:21 +02:00
obscuren
5d67139206 Fix 2014-07-03 10:05:02 +02:00
obscuren
5b8dde9602 Fixed CREATE op. Fixes #87 2014-07-03 10:04:38 +02:00
obscuren
81bc721c5c Fixed address generation 2014-07-03 10:03:58 +02:00
Gav Wood
4bb646117d Merge branch 'develop' of github.com:/ethereum/tests into develop 2014-07-02 19:43:22 +02:00
Gav Wood
bba38980bd New tests. 2014-07-02 19:43:06 +02:00
obscuren
0076fa583c Merge branch 'develop' 2014-07-02 17:48:35 +02:00
obscuren
35ae9e3aa8 Paranoia check 2014-07-02 17:48:10 +02:00
obscuren
2f9bc2ab75 Removed old code 2014-07-02 17:47:33 +02:00