Commit Graph

2043 Commits

Author SHA1 Message Date
obscuren
2e45e4d015 Print error using regular println. Fixes #146
We can't use our own logger because it hasn't been set up properly at
that point.
2014-10-23 00:59:35 +02:00
Jeffrey Wilcke
5662176f8c Merge pull request #149 from JosephGoulden/develop
Develop
2014-10-23 00:30:38 +02:00
JoeG
1880c6b3dc Make tab capitisation consistent 2014-10-22 23:00:22 +01:00
Making GitHub Delicious.
6247a99f41 add waffle.io badge 2014-10-22 15:56:40 -06:00
JoeG
53d5c490be Fix right-click context menu of block chain view. 2014-10-22 22:50:47 +01:00
obscuren
51ecab6967 Do not set error on recover 2014-10-22 23:39:15 +02:00
obscuren
037039cace Updated tests-subtree 2014-10-22 15:24:17 +02:00
obscuren
b5beb1aac1 added a transfer method to vm env 2014-10-22 15:22:21 +02:00
obscuren
ce05634f38 Debug only if a tx is set. Fixes #134 2014-10-22 11:11:12 +02:00
obscuren
27cb0750c1 Procotol version bump for uncle list change 2014-10-21 13:43:30 +02:00
obscuren
6b92d541da Empty string for uncle 2014-10-21 13:30:23 +02:00
obscuren
6f08e30109 Reflect RPC changes 2014-10-21 13:25:54 +02:00
obscuren
520fdfe346 PoC7 Net 2014-10-21 13:25:31 +02:00
obscuren
10b252dd05 WIP RPC interface 2014-10-21 13:24:48 +02:00
obscuren
6ea44c466a Updated to reflect BlockChain changes 2014-10-20 12:03:31 +02:00
obscuren
097ba56df5 Renamed block_chain to chain_manager 2014-10-20 11:53:11 +02:00
obscuren
33ca8d7b8f moved 2014-10-18 23:31:10 +02:00
obscuren
3ad1daa70d Added tests as subtree 2014-10-18 23:28:16 +02:00
obscuren
3bc64b6b6e Readers 2014-10-18 23:20:25 +02:00
obscuren
73c1c2c4af Travis bumped to 1.3 2014-10-18 14:20:51 +02:00
obscuren
350b0b1f66 Re-enabled Travis 2014-10-18 13:50:48 +02:00
obscuren
3ea0e904ad Reflect changed to eth/vm 2014-10-18 13:33:02 +02:00
obscuren
20c742e474 Moved ethvm => vm 2014-10-18 13:31:20 +02:00
obscuren
82a2e4fe28 Reflect changes to the eth/vm 2014-10-18 13:31:04 +02:00
obscuren
6956b5104f fmt package was missing 2014-10-18 13:30:38 +02:00
obscuren
a02dc4ccc3 Using proper naming scheme. Fixes #63 2014-10-18 13:23:01 +02:00
obscuren
77badc8c46 Updated to reflect the Filter changes in eth-go 2014-10-18 13:20:35 +02:00
obscuren
d2bb83833f Moved Filter's wrapping functions to their own util package. Fixes #61
* CLI ethereum should no longer require the Qt/QML package
2014-10-18 13:20:06 +02:00
Jeffrey Wilcke
e57989c0a6 Merge pull request #141 from thibauld/develop
Update documentation and install script to reflect renaming from ethereal to mist
2014-10-18 12:34:03 +02:00
Thibauld Favre
b94dfc8d3a Update documentation and install.sh script to reflect renaming from ethereal to mist 2014-10-17 19:14:16 -04:00
Jeffrey Wilcke
70a00d602e Merge pull request #62 from fjl/fuck
tests/vm: fix syntax
2014-10-17 18:17:04 +02:00
Felix Lange
df238dc7ec tests/vm: fix syntax 2014-10-17 17:39:31 +02:00
Jeffrey Wilcke
abdf5e76f3 Merge pull request #138 from erezwanderman/fixwindows
Fix ethereum compilation and functioning on Windows.
2014-10-17 17:26:04 +02:00
Jeffrey Wilcke
03fd832ee8 Merge pull request #139 from fjl/feature/simpler-log-system
Update for new ethlog.LogSystem interface
2014-10-17 17:24:51 +02:00
Jeffrey Wilcke
fc308b842e Merge pull request #59 from fjl/feature/raceless-ethlog
Improve package ethlog
2014-10-17 17:24:44 +02:00
Felix Lange
35f339e942 ethlog: fix typo in documentation 2014-10-17 17:23:29 +02:00
Felix Lange
fd9b03a431 ethlog: fix concurrency
Rather than spawning a new goroutine for each message,
run each log system in a dedicated goroutine.

Ensure that logging is still asynchronous by using a per-system buffer
(currently 500 messages). If it overflows all logging will hang,
but that's better than spawning indefinitely many goroutines.
2014-10-17 17:23:29 +02:00
Felix Lange
c090a77f1c ethlog: simplify LogSystem interface
Messages are formatted by generic part, so the log system doesn't need
to provide formatting. This fixes the test from the previous commit.

As a small bonus, log systems now have access to the level of
the message. This could be used to provide colored logging in the
future.
2014-10-17 17:23:29 +02:00
Felix Lange
50f5ba5b0c ethlog: add test for '%' in log message
This test fails because the log message is formatted twice.
2014-10-17 17:23:29 +02:00
Felix Lange
cbd785cfe8 ethvm, tests/*: use log level constants 2014-10-17 17:23:28 +02:00
Felix Lange
0165c18330 ethlog: use Godoc for code examples in documentation
This ensures that examples will actually compile.
2014-10-17 17:20:44 +02:00
Felix Lange
e0f93c74c5 ethlog: add Godoc documentation, remove README 2014-10-17 17:20:44 +02:00
Felix Lange
a6265cb49a ethlog: verify that Flush is blocking in TestLoggerFlush 2014-10-17 17:20:44 +02:00
Felix Lange
793baf060a ethlog: don't buffer output in TestConcurrentAddSystem 2014-10-17 17:20:44 +02:00
Felix Lange
ec132749aa ethlog: improve TestLogSystem
It's now safe for concurrent access.
Output checking looks better.
2014-10-17 17:20:44 +02:00
Felix Lange
45d1052229 ethlog: fix StdLogSystem data race on level 2014-10-17 17:20:44 +02:00
Felix Lange
d5a7ba1626 ethlog: add test that adds log systems concurrently 2014-10-17 17:20:44 +02:00
Felix Lange
3b1296077b ethlog: Reset before each test 2014-10-17 17:20:43 +02:00
Felix Lange
dac128a029 ethlog: fix test compilation error 2014-10-17 17:20:43 +02:00
Felix Lange
4e95cecfb9 ethlog: improve dispatch concurrency
This also fixes a deadlock in the tests.
2014-10-17 17:20:43 +02:00