Commit Graph

3902 Commits

Author SHA1 Message Date
Taylor Gerring 8eeab7ea3f Update osext import path 2015-02-26 02:24:20 +01:00
Jeffrey Wilcke 46ce66a829 Merge pull request #385 from Gustav-Simonsson/account_manager_key_locking
Add automatic locking / unlocking of accounts
2015-02-25 23:58:30 +01:00
Jeffrey Wilcke b155b9d80b Merge pull request #388 from Gustav-Simonsson/validate_block_header_gas_limit
Validate block header gas limit
2015-02-25 23:58:01 +01:00
Gustav Simonsson 260ab73969 Validate block header gas limit
* Add block header gas limit validation in ValidateBlock function,
  see eq 39 and 45 in yellow paper. Before it was calculated _for_
  the block instead of validated.
* Use the block header gas limit when setting the gas pool instead
  of calculating the value for the block.
2015-02-25 20:00:32 +01:00
Gustav Simonsson 23f2658091 Remove unneeded initialisation of mutex 2015-02-25 19:30:57 +01:00
Gustav Simonsson d1311c53ee Address pull request comments
* Use RWMutex instead of Mutex
* Use time.Duration instead of int for unlock time
* Use time.After with select instead of time.Sleep
2015-02-25 18:40:59 +01:00
Christoph Jentzsch a431c4a665 Merge pull request #67 from winsvega/develop
Transaction RLP Tests
2015-02-25 18:26:21 +01:00
Gustav Simonsson b296b36d2b Add automatic locking / unlocking of accounts
* Change account signing API to two sign functions;
  Sign without passphrase - works if account is unlocked
  Sign with passphrase - always works and unlocks the account
* Account stays unlocked for X ms and is then automatically locked
2015-02-25 17:37:12 +01:00
winsvega 667cafc13e Transaction RLP Tests
wrong transaction RLPs correction
2015-02-25 19:28:22 +03:00
Christoph Jentzsch 9f3cee021e Merge pull request #66 from winsvega/develop
Block Tests
2015-02-25 15:44:19 +01:00
winsvega 6016b942d6 Block Tests
Encoded transaction comment
2015-02-25 17:37:25 +03:00
winsvega afb72dc795 Block Tests
Block Rlps with invalid transactions
2015-02-25 16:53:57 +03:00
zelig 16ecda951b integrate blockpool into eth
- remove blockpool code
- remove blockpool integration test (kinda embarrassing)
- remove errors.go
2015-02-25 20:38:37 +07:00
zelig cdc86965cb export Sendln/Sendf in logger 2015-02-25 20:04:51 +07:00
zelig 422490d75c major rewrite, reorg of blockpool + new features
- blockpool moves to its own package
- uses errs pkg for its own coded errors
- publicly settable config of params (time intervals and batchsizes)
- test helpers in subpackage
- optional TD in blocks used now to update peers chain info
- major improvement in algorithm
- fix fragility and sync/parallelisation bugs
- implement status for reporting on sync status (peers/hashes/blocks etc)
- several tests added and further corner cases covered
2015-02-25 19:34:12 +07:00
zelig d46c7bcaf9 errs pkg for error code based errors 2015-02-25 19:21:59 +07:00
CJentzsch cfb120d179 more Pawel tests 2015-02-25 13:08:47 +01:00
Taylor Gerring fe73023940 Merge pull request #382 from ethereum/travis
Update Go and Qt versions in Travis
2015-02-25 13:00:35 +01:00
CJentzsch 86b14058fd add memory tests 2015-02-25 12:50:24 +01:00
Taylor Gerring ce2b2422d6 Update Go and Qt versions 2015-02-25 11:40:52 +01:00
Taylor Gerring 9e0ab22dd0 Stub defaultBlock methods 2015-02-25 09:57:49 +01:00
CJentzsch 978a29ab72 use 50000 bytes for CALLDATACOPY 2015-02-24 23:05:39 +01:00
CJentzsch 36e862c989 add Pawels tests 2015-02-24 22:48:19 +01:00
CJentzsch 33c8c2bd7e add quadratic complexity tests 2015-02-24 22:46:56 +01:00
Jeffrey Wilcke 52ccaa605e Merge pull request #379 from tgerring/rpcupdates
RPC cleanup
2015-02-24 22:00:39 +01:00
Jeffrey Wilcke ed90efb05b Merge pull request #378 from Gustav-Simonsson/fix_account_manager_tests
Fix key store address hex decoding and accounts test
2015-02-24 21:58:42 +01:00
Taylor Gerring 2e3a6e2559 Consolidate related items 2015-02-24 19:54:18 +01:00
Taylor Gerring c8e9abff53 Remove errParseRequest 2015-02-24 19:22:08 +01:00
Taylor Gerring 43acad81b3 Rename files 2015-02-24 19:11:01 +01:00
Taylor Gerring 21becb0feb Cleanup RPC packcage 2015-02-24 19:05:03 +01:00
Gustav Simonsson 923950ccaa Fix key store address hex decoding and accounts test
Thanks to https://github.com/jaekwon for original fix!
2015-02-24 18:05:10 +01:00
Taylor Gerring 5a43173e55 Merge pull request #373 from tgerring/issue370
Convert gas values to integers
2015-02-24 17:49:14 +01:00
Taylor Gerring 1e919a5e97 Move amounts to global vars 2015-02-24 17:32:11 +01:00
Jeffrey Wilcke 91a8c08f03 Merge pull request #368 from maran/feature/changeDataDir
Implement OS sensitive dataDirs
2015-02-24 17:30:44 +01:00
Jeffrey Wilcke 0b757ad12f Merge pull request #369 from tgerring/issue367
Allow zero and negative block numbers
2015-02-24 17:29:08 +01:00
Jeffrey Wilcke 0adff214c3 Merge pull request #376 from frozeman/topicsFix
topics fix
2015-02-24 17:27:14 +01:00
Taylor Gerring 2a7ca69a82 Fix duplicate leading 0x 2015-02-24 16:46:43 +01:00
Fabian Vogelsteller 3fcdafebc2 topics fix 2015-02-24 16:18:27 +01:00
Paweł Bylica 85f765a533 Merge remote-tracking branch 'upstream/develop' into evmjit 2015-02-24 11:27:22 +01:00
CJentzsch e8c84bdf56 Merge remote-tracking branch 'origin/develop' into develop 2015-02-24 10:15:10 +01:00
CJentzsch e48576ada3 remove impossible tests, add create hash collision test 2015-02-24 10:14:36 +01:00
Taylor Gerring 4142708d9d Convert gas values to integers
Fixes #370
2015-02-24 08:51:58 +01:00
wanderer 6e2d856d85 spelling error 2015-02-24 01:52:33 -05:00
wanderer 9315ad3d2c spelling error 2015-02-24 01:46:06 -05:00
wanderer 13b4ab10ae added genesis info 2015-02-24 01:36:54 -05:00
martin becze c72e2588f3 Update crypto.json 2015-02-23 18:40:06 -05:00
obscuren 7c510109cd skipping test 2015-02-23 20:27:00 +01:00
obscuren 359677b673 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-02-23 19:25:59 +01:00
obscuren 747647e02a Merge branch 'master' into develop 2015-02-23 19:25:50 +01:00
obscuren 0b57bad2de removed log 2015-02-23 19:25:41 +01:00