obscuren
7d0348e4ba
Handle contract messages
11 years ago
obscuren
7277c42047
Fixed some state issues
11 years ago
obscuren
7cc28c8b46
Added storage test
11 years ago
obscuren
205e33bc83
Fixed bug in stack to expand beyond expectations. Fixed EQ and NOT opcode
11 years ago
obscuren
6625b6ffbd
Changed to new mutan API
11 years ago
obscuren
b888652201
Added missing GetTx (0x16) wire message
11 years ago
Jeffrey Wilcke
60fd2f3521
Update vm_test.go
...
store ...
11 years ago
obscuren
75e6406c1f
Fixed tests
11 years ago
obscuren
3c3431d111
Fixed IsContract method to use the contractCreation flag
11 years ago
obscuren
56a58ad70d
Removed debug and comments
11 years ago
obscuren
00c5f9b9a6
Updated transaction model
...
Changed the behaviour of decoding rlp data. Something is considered to
be creating a contract if the 4th item is a list.
Changed constructors.
11 years ago
obscuren
43cad69016
Reworked transaction constructors
11 years ago
obscuren
e0b6091d7e
Test fixes and removed old code. Added VM gas fees
11 years ago
obscuren
6a86c517c4
Removed old VM code
11 years ago
obscuren
01c1bce9c5
Removed regular ints from the virtual machine and closures
11 years ago
obscuren
9a9e252cab
Changes 'compiler' to work with any type
11 years ago
obscuren
2ea4c632d1
Closure return, arguments fixed. Added proper tests
11 years ago
obscuren
fa1db8d2dc
Implemented closure arguments
11 years ago
obscuren
9cf8ce9ef8
New tx methods and added new vm to state manager
11 years ago
obscuren
f567f89b99
Added address to account and contract
...
Contract and account now both have an address field or method for the
sake of simplicity.
11 years ago
obscuren
7705b23f24
Removed caller from tx and added "callership" to account.
...
Transactions can no longer serve as callers. Accounts are now the
initial callee of closures. Transactions now serve as transport to call
closures.
11 years ago
obscuren
f3d27bf5d8
Rewrote opcodes again
11 years ago
obscuren
c68ff9886b
Fixed MSTORE and added some more commets
11 years ago
obscuren
3520771d68
Comply to Callee interface
11 years ago
obscuren
c17381b853
Moved code around
11 years ago
obscuren
59d8dc3950
Fixed issue with stack where it sliced of the wrong values
11 years ago
obscuren
38ea6a6d5d
Closures and vm based on closures
...
Status: Work in progress
11 years ago
obscuren
82d0f65dab
Comply to Callee structure
11 years ago
obscuren
c135b389fe
Commented out code due to rewrite vm
11 years ago
obscuren
bdc0d1b7ad
Added AddFunds method
11 years ago
obscuren
826c827e6b
Added a copy method to state
11 years ago
obscuren
07578fe25f
Pretty print nonce
11 years ago
obscuren
b15a4985e8
Moved on to the state manager
11 years ago
obscuren
685ea3e9a9
Wip keychains
11 years ago
obscuren
e7770b2332
Added miner state
11 years ago
obscuren
be543a6d17
Removed comments
11 years ago
obscuren
6c6e8b0fd7
Renamed block manager to state manager
11 years ago
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
11 years ago
obscuren
9d492b0509
Renamed Address to Account
11 years ago
obscuren
bfed1c7cac
Trie's are no longer referenced directly but through State instead
11 years ago
obscuren
d65b4cd0dd
Updated block to use state instead of trie directly
11 years ago
obscuren
e98b53bbef
WIP Observing pattern
11 years ago
obscuren
4b8c50e2cd
Deprication
11 years ago
obscuren
1e7b3cbb13
Removed debug log
11 years ago
obscuren
ce07d9bb4c
Error logging on tx processing
11 years ago
obscuren
507fc7b9d1
Length checking when fetching contract. Contract always have 3 fields
11 years ago
obscuren
0afdedb01a
Some log statements changed to the default logger
11 years ago
obscuren
6c7255cde2
Fixed a minor issue on crashed contracts
11 years ago
obscuren
95a8ebc249
Changed MakeContract on block
...
MakeContract in Block is now using the MakeContract defined in
contract.go
11 years ago
obscuren
88a9c62fcc
Proper tests
11 years ago