Taylor Gerring
65d553d367
Update internal calls to use CurrentBlock()
10 years ago
Taylor Gerring
59b6b619a2
Don't expose backend directly
10 years ago
Taylor Gerring
b9b7442b74
Remove redundant fields
10 years ago
Taylor Gerring
ad420d099a
rename eth to backend
10 years ago
Taylor Gerring
6d41402dce
Backend no longer needed to resolve import cycle
10 years ago
Taylor Gerring
e954c24af0
Implement RPC net_version
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
Taylor Gerring
5707912e2f
"pending" convention should be -2 instead of 0
10 years ago
Taylor Gerring
91a2275ad3
Move RemoteAgent to miner pkg
10 years ago
Taylor Gerring
439481d177
Rename Agent to RemoteAgent
10 years ago
Taylor Gerring
ab6311c1bd
Move remote mining agent to XEth
10 years ago
obscuren
82956df523
Get work / submit work partially implemented.
...
* WIP missing arguments for submitting new work
* GetWork **done**
10 years ago
obscuren
ce862ee758
Removed some comments
10 years ago
Taylor Gerring
efcc93e7da
Move Account register to xeth
10 years ago
Taylor Gerring
aa3918efa7
Move transact gas check to XEth
10 years ago
Taylor Gerring
b56e20be27
Reorg for clarity
10 years ago
Taylor Gerring
754160afea
Move gas defaults to XEth
10 years ago
Taylor Gerring
19360c0079
Move stateAt func to XEth
10 years ago
Taylor Gerring
6c04c19eb4
Reorg filter logic to XEth
10 years ago
obscuren
0a1eeca41e
conversions. -compilable-
10 years ago
Maran
7330c97b5b
DRY up the use of toHex in the project and move it to common
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Maran
991993357c
DRY up the use of fromHex and put it in ethutil
10 years ago
obscuren
f1fcda4f2f
Implemented managed state
...
* Reimplemented nonce management for known accounts.
10 years ago
obscuren
cda88ce31a
Implemented a manage state for keeping track of nonces
10 years ago
Taylor Gerring
d4ed66c83d
Add web3_clientVersion
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