obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
477a6d426c
Added a query interface for world state
10 years ago
obscuren
1c7e8e9093
Set TD to block once processed
10 years ago
obscuren
1382e8d84b
Delete current chain for reset
10 years ago
obscuren
9e5257b83b
Chain importer
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
0dc566124a
Merge fixes
10 years ago
obscuren
2d09e67713
Updated to new methods
10 years ago
obscuren
49e0267fe7
Locks, refactor, tests
...
* Added additional chain tests
* Added proper mutex' on chain
* Removed ethereum dependencies
10 years ago
obscuren
b1c58b76a9
moved err check
10 years ago
zelig
72290f67fe
resolve merge conflict hell
10 years ago
zelig
7b39cc83cc
adapt chain_manager to eth protocol interface
...
- add Status() to return td, currentblock hash, genesis hash
- GetChainHashesFromHash -> GetBlockHashesFromHash
10 years ago
zelig
d84810d89d
add Status to retrieve TD, currentBlock, genesis for easy interface with eth/protocol
10 years ago
obscuren
2b5fcb4642
moved interfaces
10 years ago
obscuren
5553e5aaed
states moved to chain
10 years ago
obscuren
9925916851
upped proto version and modified block pool
10 years ago
obscuren
73123bf257
Only set TD if it's actually higher
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
8240550187
updated to types
10 years ago
obscuren
cb4d168ecc
Updated LOG to match proper gas in all cases
10 years ago
obscuren
5ebae82eeb
Additional logging and removed temp merged mining options.
10 years ago
obscuren
99481a245a
Check for known block err and ignore
10 years ago
obscuren
6dc46d3341
Changed the way transactions are being added to the transaction pool
10 years ago
obscuren
61556ef01d
GasData changes & removed min gas price
10 years ago
obscuren
14e2e488fd
Added `chain` tests & minor fixes
...
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
10 years ago
obscuren
f8d0cd9906
Added a callback mechanism to chain adding.
...
Not sure if this is the right approach. Why? BlockChain shouldn't need
the "Ethereum" object. BlockChain shouldn't need to worry about
notifying listeners or message propagation.
10 years ago
obscuren
a1b6a9ac29
Begin of moving objects to types package
...
* Block(s)
* Transaction(s)
10 years ago
obscuren
ca74bcc4cd
cleaning up
10 years ago
obscuren
20d518ee95
Numerous fixes for consensus.
...
* Removed (buged) C++ specific gas specification for LOG*
* Fixed LOG* where mstart went after msize
*
10 years ago
obscuren
60cdb1148c
Transaction execution fixes
10 years ago
obscuren
6c9e503eb8
Removed all implicit logging. Fixed gas issues and jump errors
10 years ago
obscuren
75ee3b3f08
debugging code
10 years ago
obscuren
ad0acb5762
Moved messages eventing to chain manager
10 years ago
obscuren
cbeebcd47d
Fixed bloom, updated mining & block processing
...
* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
10 years ago
obscuren
429dd2a100
Implemented new miner w/ ui interface for merged mining. Closes #177
...
* Miner has been rewritten
* Added new miner pane
* Added option for local txs
* Added option to read from MergeMining contract and list them for
merged mining
10 years ago
obscuren
1b1fa049fa
Fixed VM and added static analysis for EVM jumps
10 years ago
obscuren
a9db1ee8d4
Replaced to return the td and throw a specific error on TD
10 years ago
obscuren
699dcaf65c
Reworked chain handling process
...
* Forks
* Rename
* Moved inserting of blocks & processing
* Added chain testing method for validating pieces of a **a** chain.
10 years ago
obscuren
b1c247231b
ethlog => logger
10 years ago
obscuren
3ee0461cb5
Moved ethchain to chain
10 years ago
obscuren
9e2f071d26
Removed events from the state manager
10 years ago
obscuren
fb4113dab4
PoC 7 updates
...
* Bloom
* Block restructure
* Receipts
10 years ago
obscuren
29b8a0bc5f
Updated the VM & VM tests
...
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
10 years ago
obscuren
097ba56df5
Renamed block_chain to chain_manager
10 years ago
obscuren
e02c0fa808
Added generic big to 256 method. Implemented new iterator
10 years ago
obscuren
b417766b36
Minor tweaks for poc7
10 years ago
obscuren
68119d0929
Fixed messages to use proper numbers
10 years ago
obscuren
57dc435f9b
Added TD for each block
10 years ago
obscuren
80261c803a
Fixed deref ptr
10 years ago