Jeffrey Wilcke
fc308b842e
Merge pull request #59 from fjl/feature/raceless-ethlog
...
Improve package ethlog
10 years ago
Felix Lange
35f339e942
ethlog: fix typo in documentation
10 years ago
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.
10 years ago
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.
10 years ago
Felix Lange
50f5ba5b0c
ethlog: add test for '%' in log message
...
This test fails because the log message is formatted twice.
10 years ago
Felix Lange
cbd785cfe8
ethvm, tests/*: use log level constants
10 years ago
Felix Lange
0165c18330
ethlog: use Godoc for code examples in documentation
...
This ensures that examples will actually compile.
10 years ago
Felix Lange
e0f93c74c5
ethlog: add Godoc documentation, remove README
10 years ago
Felix Lange
a6265cb49a
ethlog: verify that Flush is blocking in TestLoggerFlush
10 years ago
Felix Lange
793baf060a
ethlog: don't buffer output in TestConcurrentAddSystem
10 years ago
Felix Lange
ec132749aa
ethlog: improve TestLogSystem
...
It's now safe for concurrent access.
Output checking looks better.
10 years ago
Felix Lange
45d1052229
ethlog: fix StdLogSystem data race on level
10 years ago
Felix Lange
d5a7ba1626
ethlog: add test that adds log systems concurrently
10 years ago
Felix Lange
3b1296077b
ethlog: Reset before each test
10 years ago
Felix Lange
dac128a029
ethlog: fix test compilation error
10 years ago
Felix Lange
4e95cecfb9
ethlog: improve dispatch concurrency
...
This also fixes a deadlock in the tests.
10 years ago
obscuren
e183880d8b
arith test
10 years ago
obscuren
d7736a7bbb
Quick dirty peer update
10 years ago
Jeffrey Wilcke
df2b70853f
Merge pull request #58 from fjl/feature/event
...
Blocking event package
10 years ago
obscuren
3b70985284
added eth tester
10 years ago
Felix Lange
fa84e50ddb
event: panic for duplicate type
10 years ago
Felix Lange
ade980912d
ethreact: remove package
10 years ago
Felix Lange
28570ef109
eventer: remove package
10 years ago
Felix Lange
20cdb73862
ethchain: fix tests
10 years ago
Felix Lange
36cdab2068
all: use (blocking) event package instead of ethreact
10 years ago
Felix Lange
6906904896
event: make TypeMux zero value ready to use
10 years ago
Felix Lange
10bbf265b2
event: make Unsubscribe idempotent
10 years ago
Felix Lange
dac4a8f113
event: add some documentation
10 years ago
obscuren
93fcabd251
Fixed most of the tests
10 years ago
Felix Lange
f5b8775bed
event: new package for event multiplexer
10 years ago
obscuren
bb5038699e
Corrected package ....
10 years ago
obscuren
65cdb3436e
Updated tests
10 years ago
obscuren
86f789333a
Moved state reset to defered function
10 years ago
obscuren
febec5ca4a
Switch EXT* codes
10 years ago
obscuren
70f7a0be11
Use the state instead of the state object directly.
...
If a state gets reset and you still hold a pointer to the previous,
incorrect, state object you'll operate on the wrong object. Using the
state to set/get objects and attributes you won't have this problem
since the state will always have the correct object.
10 years ago
obscuren
311c6f8a3f
Fixed remote Arithmetic tests
10 years ago
obscuren
266d212094
Working on test suite
10 years ago
obscuren
3d177be73e
Couple of minor issues fixed
...
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
10 years ago
obscuren
7ca7938d8e
Removed old installer script
10 years ago
obscuren
f55e39cf1a
Tests for native function calling
10 years ago
obscuren
393a92811b
Changed VM Test code
10 years ago
obscuren
c5bd32b0ad
Refactored VM to two separate VMs; std & debug
...
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
10 years ago
obscuren
2e894b668a
Max callstack
10 years ago
obscuren
cb845b9bc8
Implemented AR PoW
10 years ago
obscuren
56843ca0fc
Added some methods to comply to the PoW block interface
10 years ago
obscuren
e02c0fa808
Added generic big to 256 method. Implemented new iterator
10 years ago
obscuren
9b494c6869
Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
10 years ago
Jeffrey Wilcke
3db6a8e92d
Merge pull request #57 from fjl/feature/raceless-ethereum-filters
...
Fix filter map race
10 years ago
Jeffrey Wilcke
6fec5bd32e
Merge pull request #56 from fjl/feature/raceless-eventer
...
Fix Eventer race
10 years ago
obscuren
6877660fe2
Implemented new iterator
10 years ago