obscuren
cda88ce31a
Implemented a manage state for keeping track of nonces
10 years ago
obscuren
2273155e7e
Get transaction implemented
...
* Added a GetTransaction to XEth
* Implemented the `eth_getTransactionByHash` RPC method
10 years ago
Felix Lange
d7b5a87b3b
miner: provide coinbase when starting the miner
...
This avoids having to query the coinbase when creating the miner, which
in turn eliminates the dreaded startup error when no accounts are set
up. Later, this will also allow us to simply restart the miner when the
user picks a different coinbase.
This causes a lot of changes in other packages. These are included in
this commit because they're impossible to separate.
10 years ago
obscuren
c01d4c2f4c
Lowered default gas price and increased default gas limit
10 years ago
obscuren
e8d1b622d9
Default block number changes
10 years ago
Taylor Gerring
3d6519e45b
Update response types
10 years ago
Felix Lange
0f67f1e9de
xeth: fix signing transaction after unlock
10 years ago
Felix Lange
395da0e7c1
xeth: use Frontend interface to unlock accounts
...
The interface has moved to package xeth because that's where it is
actually used.
10 years ago
Felix Lange
b4fa94c4b1
xeth: don't sign transactions for tx call
...
This should make calls faster and removes interaction
with account manager.
10 years ago
Taylor Gerring
9723191b19
Undo client_version changes
10 years ago
obscuren
738d6e20f2
Added ui.Interface to xeth
10 years ago
Felix Lange
fb53a9362e
accounts: AccountManager -> Manager
10 years ago
Felix Lange
fda7b4c79d
accounts: use pointers consistently
...
Account is now always a non-pointer. This will be important once
the manager starts remembering accounts.
AccountManager is now always a pointer because it contains locks
and locks cannot be copied.
10 years ago
Felix Lange
d66f93cecd
accounts, core, eth, xeth: use account manager for everything
...
The account manager is now responsible for picking the
default account and the coinbase.
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
Taylor Gerring
dc7022cd61
Increased args test coverage
10 years ago
Gustav Simonsson
bc45e5c6de
Integrate eth_accounts and eth_transact to use new account manager
...
* Add from to eth_transact / xeth.Transact and add static pass in lieu
of integrating with native Mist window for user passphrase entry
* Make eth_accounts return AccountManager.Accounts()
* Add a Generate Key menu item in Mist
10 years ago
Taylor Gerring
ef9d825cfa
Refactor & cleanup
10 years ago
Taylor Gerring
c92e48ce3f
Add client_version RPC message
10 years ago
obscuren
ac88ae86a3
GetOrNew for accessors. Fixes #404
10 years ago
obscuren
5ab0eaa06d
wip
10 years ago
obscuren
b2a225a52e
Properly uninstall filters. Mining issue fixed #closes #365
...
* Added an additional tx state which is used to get the current nonce
* Refresh transient state each time a new canonical block is found
* Properly uninstall filters. Fixes a possible crash in RPC
10 years ago
obscuren
483d96a89d
Added eth_logs & fixed issue with manual log filtering
...
* Implemented `eth_logs`
* Fixed issue with `filter.Find()` where logs were appended to an
incorrect, non-returned slice resulting in no logs found
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
Taylor Gerring
a59cd94625
Add setMining RPC method
10 years ago
obscuren
7fc9b5b3f9
Changed to ChainEvent and fixed a nil pointer in transact
10 years ago
obscuren
8135752a32
"centralised" mining to backend. Closes #323
10 years ago
obscuren
38faf2c51a
removed messages
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
10 years ago
obscuren
c03d403437
Added whisper interface for xeth, added examples, updated RPC
...
* Added RPC methods for whisper
* Added whisper example
10 years ago
obscuren
6488a392a3
Reimplemented message filters for rpc calls
10 years ago
obscuren
84adf77bf3
Added RPC "Call" for JS calls to contracts
10 years ago
obscuren
cebb149f5c
removed key while in the process of moving to the new key storage
10 years ago
obscuren
872b249711
further cleaned up xeth interface
10 years ago
obscuren
1146f25015
clean up of xeth
10 years ago
obscuren
7f638f0b2d
moving to a better xeth
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
c1dee15144
BlockManager => BlockProcessor
10 years ago
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
5c82fdc243
Make sure that the object exists
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
db494170dc
Created generic message (easy for testing)
10 years ago
obscuren
2d09e67713
Updated to new methods
10 years ago
obscuren
5553e5aaed
states moved to chain
10 years ago
obscuren
8c7e4b290f
Added pre processing of transaction on the transient state
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
83663ed4b0
Renames for chain, updated VM, moved methods
...
* Renamed a couple more chain => core
* Updated VM `pc` to be uint64 rather than big int
* XEth interface cleanup
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago