Commit Graph

47 Commits

Author SHA1 Message Date
obscuren 46a496428f ugh 2014-09-23 18:19:51 +02:00
obscuren 6800c3665a Re-added min gas price check on tx pool 2014-09-23 17:55:34 +02:00
obscuren 954ba211bf Fixed contract validation address in tx pool 2014-09-14 12:02:35 +02:00
obscuren 0b6b6b52fe Contract creation address are empty again 2014-09-08 00:48:59 +02:00
obscuren 1f9894c084 Old code removed and renamed amount to balance 2014-07-30 00:31:15 +02:00
obscuren 32d125131f Refactored to new state and vm 2014-07-24 12:04:15 +02:00
zelig 853053a3b2 go fmt 2014-06-26 18:45:57 +01:00
zelig b9e8a3e024 modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
2014-06-23 12:54:10 +01:00
obscuren 7b55bcf484 Removed old fees 2014-06-16 11:13:19 +02:00
obscuren d078e9b8c9 Refactoring state transitioning 2014-06-13 12:45:11 +02:00
obscuren 6593c69424 Merge branch 'develop' into interop 2014-06-12 10:07:40 +02:00
obscuren 3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
obscuren 8a2e50ab2a Merge branch 'develop' into interop
Conflicts:
	peer.go
2014-06-11 21:56:59 +02:00
obscuren 4d3209ad1d Moved process transaction to state manager
* Buy gas of the coinbase address
2014-06-11 21:55:23 +02:00
Maran 2995d6c281 Validate minimum gasPrice and reject if not met 2014-06-10 15:02:41 +02:00
obscuren b695c82520 Fixes #60 2014-05-28 15:07:11 +02:00
obscuren 73761f7af6 Closure call now returns the total usage as well
* Return the used gas value based on the UseGas and ReturnGas
2014-05-28 12:05:46 +02:00
obscuren 230aafbf66 Working on interop
* Receipts after each transaction
* Fee structure
* Applying fees to miners
2014-05-22 17:35:26 +02:00
obscuren 0c27c5eb7f Proper log statement 2014-05-21 12:38:56 +02:00
obscuren bd48690f63 Testing different mining state 2014-05-19 11:25:27 +02:00
obscuren 8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
obscuren 7bf2ae0b11 Removed old tx pool notification system. Fixes #19 2014-05-15 14:05:15 +02:00
obscuren 98a631b556 Remove any invalid transactions after block processing 2014-05-14 16:29:34 +02:00
obscuren d709815106 Added trans state and removed watch address etc
The transient state can be used to test out changes before committing
them to the proc state. The transient state is currently being used by
the gui to support proper nonce updating without having to wait for a
block. This used to be done by a cached state mechanism which can now
safely by removed.
2014-05-08 18:26:46 +02:00
obscuren e6a68f0c3a Removed debug log 2014-05-01 22:13:59 +02:00
obscuren d2ab322267 Removed debugging log 2014-04-30 17:43:48 +02:00
obscuren c3293641e7 Removed debug logging 2014-04-30 17:13:32 +02:00
obscuren 1c85d8c66b Minor improvements and bug fixes
* Fixed VM base bug
2014-04-24 00:00:50 +02:00
obscuren 3a9a252f6e Fixed minor issue with gas and added state object init 2014-04-23 11:51:04 +02:00
obscuren 9c6aca7893 Merged accounts and contracts in to StateObject
* Account removed
* Contract removed
* Address state changed to CachedStateObject
* Added StateObject
2014-04-16 04:06:51 +02:00
obscuren 035f0ffb8a Reverted changes 2014-04-09 15:08:10 +02:00
obscuren 527a3bbc2a Typo fix 2014-04-09 14:53:20 +02:00
obscuren 12643c7c57 Merge branch 'develop' into miner 2014-04-05 11:25:29 +02:00
Maran 0a88010826 Merge conflicts 2014-04-01 14:20:55 +02:00
obscuren 7d0348e4ba Handle contract messages 2014-04-01 10:41:30 +02:00
obscuren b888652201 Added missing GetTx (0x16) wire message 2014-03-28 11:20:07 +01:00
Maran ae837c4719 More mining rework 2014-03-20 11:20:29 +01:00
Maran 095d5baaed Merge conflicts 2014-03-17 10:41:05 +01:00
Maran 3274e0a249 Removed extra invalid nonce return 2014-03-17 10:37:29 +01:00
obscuren b15a4985e8 Moved on to the state manager 2014-03-17 10:33:03 +01:00
Maran d5efeab8f9 Initial smart-miner stuff 2014-03-10 11:53:02 +01:00
obscuren 92f2abdf76 Partially refactored server/txpool/block manager/block chain
The Ethereum structure now complies to a EthManager interface which is
being used by the tx pool, block manager and block chain in order to
gain access to each other. It's become simpeler.
TODO: BlockManager => StateManager
2014-03-05 10:42:51 +01:00
obscuren d65b4cd0dd Updated block to use state instead of trie directly 2014-03-02 20:42:05 +01:00
obscuren e98b53bbef WIP Observing pattern 2014-02-25 11:22:27 +01:00
obscuren f5737b929a Added a secondary processor 2014-02-23 01:57:04 +01:00
obscuren bb3e28310e If sender is receiver only subtract the fee 2014-02-18 01:31:51 +01:00
obscuren f6d1bfe45b The great merge 2014-02-14 23:56:09 +01:00