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
0057bb4ef6
WIP QT Clipboard
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
obscuren
ddccea75e8
Fixed "to" field
10 years ago
obscuren
da2fae0e43
Basic structure miner
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
e40c1c62ce
API changed to use Pubkey only. Reflected that change in the rest of the api
10 years ago
obscuren
b1870631a4
WIP miner
10 years ago
obscuren
7bd2fbe2b1
Fixed whisper "to" filtering. Closes #283
10 years ago
obscuren
623469cb6c
Added missing whisper timestamp. Closes #284
10 years ago
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
10 years ago
obscuren
2d9b3aa537
Removed debug log
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
54927dc0e0
Fixed issue with Storage()
...
* Storage() returned encoded values. They are now decode prior to hexing
* Removed old code from state object
* Updated coin
10 years ago
obscuren
0031f388ac
More dapp samples
...
* Info DApp, coin DApp
* Additional rpc methods
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
e3da85faed
Implemented filter for ws + fixes
...
* proper 0xhex
* filters fixed
* start of filter manager
* accounts for ws. Closes #246
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
564f02aa2b
Fixed tests
10 years ago
obscuren
c9985bf563
Fixed peer window. Minor tweaks and fixes
10 years ago