Commit Graph

175 Commits

Author SHA1 Message Date
zelig
f58c7ac5a6 merge upstream 2014-06-23 13:07:43 +01:00
zelig
b9e8a3e024 modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
2014-06-23 12:54:10 +01:00
obscuren
a4e26bf7c2 Added Block do which replays the given block or error 2014-06-23 11:25:14 +02:00
Maran
1f79175898 Reworked peers to check for public key duplication and adding peers to peerlist only after the handshake has come in 2014-06-18 13:06:48 +02:00
obscuren
17c825f53a Peer changes broadcasting and minor miner fix 2014-05-30 16:57:58 +02:00
obscuren
f382221b28 Broadcast "peerList" event upon removing or adding peers 2014-05-30 13:04:08 +02:00
Maran
12f30e6220 Refactored a lot of the chain catchup/reorg. 2014-05-20 11:50:34 +02:00
obscuren
8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
Maran
3ac74b1e78 Implemented IsUpToDate to mark the node as ready to start mining 2014-05-14 13:57:04 +02:00
Maran
28357d657b Implemented new JS/EthPub methods
- getTxCountAt
- getPeerCount
- getIsMining
- getIsListening
- getCoinbase
2014-05-13 14:43:29 +02:00
Maran
3647cc5b07 Implemented our own makeshift go seed. Fixes #16 2014-05-13 11:35:21 +02:00
Maran
cc341b8734 Added debug message if you try to add a peer when max peers has been reached. 2014-05-12 16:36:14 +02:00
Maran
7f9fd08792 Implemented proper peer checking when adding new peers
We now resolve a hostname to IP before we try to compare it to the existing peer pool
2014-05-12 15:08:21 +02:00
Maran
8b4ed8c505 Properly exchange peer capabilities between peers 2014-05-12 13:39:37 +02:00
obscuren
afe83af219 Moved seeding and moved manifest 2014-05-09 16:09:28 +02:00
Maran
e18b96b486 Fix an issue where we don't have the rpc so we dont have to close it 2014-05-06 14:15:02 +02:00
Maran
a4ca9927ab Renamed etherpc to ethrpc 2014-05-05 15:15:14 +02:00
Maran
fde3e01f80 Fixed import cycle 2014-05-05 14:15:31 +02:00
Maran
4f20e8f649 Implemented first few methods via public api 2014-05-02 20:00:58 +02:00
Maran
c54788338a Merge branch 'develop' into feature/rpc 2014-05-02 13:35:54 +02:00
Maran
ebdf339a61 Implemented RPC framework 2014-05-02 13:35:25 +02:00
obscuren
91aa189ef3 Fixed Upnp bug 2014-05-01 22:14:20 +02:00
obscuren
1f2547b8a7 Major re-organisation.
The Ethereum node and Gui are now separated.
2014-03-22 01:02:24 +01:00
obscuren
0db86e4485 Updated to work with the new chain 2014-03-21 11:16:41 +01:00
Maran
8ea7e21f64 Merge 2014-03-17 10:37:37 +01:00
Maran
d5efeab8f9 Initial smart-miner stuff 2014-03-10 11:53:02 +01:00
obscuren
6c6e8b0fd7 Renamed block manager to state manager 2014-03-05 10:57:32 +01:00
obscuren
8275059856 Moved qml files, conform to the new server model.
QML files got moved to their own directories. QML now has a ui helper
which should find assets in the correct resource directory
2014-03-05 10:44:33 +01:00
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
2014-03-05 10:42:51 +01:00
obscuren
833a1a4eab Block mining log 2014-03-03 11:32:58 +01:00
obscuren
601340bd46 Fixed shutting down 2014-02-28 16:45:29 +01:00
obscuren
5e7f8cca4f Exit after importing a key 2014-02-28 12:17:02 +01:00
obscuren
4f4175a3e2 Addad db name for new ldb 2014-02-25 11:21:03 +01:00
obscuren
fe9eb47288 Minor fixes that to reflect changes in library 2014-02-24 13:51:16 +01:00
obscuren
3a45cdeaf9 Moved txpool start to initialisation method of ethereumm 2014-02-23 01:57:45 +01:00
obscuren
aa33a4b2fb Added some ui elements to make it easier to connect to nodes 2014-02-22 23:19:38 +01:00
obscuren
73b9ae9579 Updated some of the log statements to use the ethutil logger 2014-02-22 01:53:25 +01:00
obscuren
05c353eca0 Added a basic <UNSTABLE> UI 2014-02-21 12:37:40 +01:00
obscuren
24f2b2afc3 Running contracts fixed 2014-02-19 11:35:17 +01:00
obscuren
ab7dc92404 Added import/exporting of private keys 2014-02-18 12:09:26 +01:00
obscuren
d7eca7bcc1 Rlp update 2014-02-18 01:34:06 +01:00
obscuren
1ba7ffe9f8 Added text for keys 2014-02-15 12:10:13 +01:00
obscuren
73fd358d94 Removed RlpValue in favour of Value 2014-02-15 01:34:18 +01:00
obscuren
fe59a2b26d Updated to the great merge package 2014-02-15 00:05:04 +01:00
obscuren
f6d1bfe45b The great merge 2014-02-14 23:56:09 +01:00
obscuren
c2fb9f06ad Refactoring RlpValue => Value 2014-02-13 15:12:16 +01:00
obscuren
68fbfe70da Default to .ethereum 2014-02-12 16:34:35 +01:00
obscuren
67de76c217 Put leveldb 2014-02-11 20:09:58 +01:00
obscuren
02acef23d5 Interop! 2014-02-11 18:46:28 +01:00
obscuren
5a83114efd Seed bootstrapping added 2014-02-10 20:59:31 +01:00
obscuren
d831064f65 Skip the first byte in generating addresses 2014-02-10 20:22:52 +01:00
obscuren
0ae6a38825 Database 2014-02-10 16:04:57 +01:00
obscuren
8ab6c53231 Reversed back 2014-02-10 13:59:05 +01:00
obscuren
3ecb2ef29c removed pub key log 2014-02-10 11:37:11 +01:00
obscuren
156495732b level db back in 2014-02-10 01:10:02 +01:00
obscuren
8320fd998e Added pub key to keyring 2014-02-09 23:35:02 +01:00
obscuren
0de31a3898 Fixed self connect through public key discovery.
Bumped protocol version number
2014-02-09 23:34:33 +01:00
obscuren
37a89e577c Added address 2014-02-08 23:50:08 +01:00
obscuren
7b7242b9ea Proper keys 2014-02-08 23:25:48 +01:00
obscuren
c2bb5e39e1 Unused package 2014-02-08 23:21:29 +01:00
obscuren
67572417c6 Use the generated key 2014-02-08 23:21:09 +01:00
obscuren
542bc2fce4 Woops 2014-02-08 22:57:40 +01:00
obscuren
f1ba1df165 Added key address and key generation 2014-02-08 22:07:17 +01:00
obscuren
1f7b13ff4e Switched over to leveldb instead of memdb 2014-02-08 21:02:09 +01:00
obscuren
827f341c97 Genesis logging 2014-02-07 22:25:59 +01:00
obscuren
dbe42ce44e Mining using a different hash now 2014-02-06 13:28:30 +01:00
obscuren
9e9b7a520e Do not quit if upnp fails 2014-02-03 17:26:37 +01:00
obscuren
7730949221 Block processing during mining 2014-02-03 14:26:52 +01:00
obscuren
5e36e3ccc7 Process transactions 2014-02-03 02:01:31 +01:00
obscuren
ec883db3b1 TApply transactions 2014-02-03 01:09:45 +01:00
obscuren
00ec15c82e Fixed mining 2014-02-03 00:09:02 +01:00
obscuren
7f8f008253 Changed mining 2014-02-02 23:52:06 +01:00
obscuren
f4a96ca588 Removed the seed peer option from start 2014-02-02 19:46:37 +01:00
obscuren
cce842314f UPnP support 2014-02-02 19:44:59 +01:00
obscuren
48b41862ef UPnP Support 2014-02-02 19:44:47 +01:00
obscuren
3f503ffc7f Implemented support for UPnP 2014-02-02 19:22:39 +01:00
obscuren
ae0d4eb7aa removed upnp 2014-02-02 16:29:13 +01:00
obscuren
cb8a7d979d upnp test 2014-02-02 16:15:39 +01:00
obscuren
f07b53da2d upnp test 2014-02-02 16:15:24 +01:00
obscuren
f56a595954 Reverted back to old messages 2014-02-02 01:40:03 +01:00
obscuren
b70fe3a9be Reverted back to messages 2014-02-02 01:39:06 +01:00
obscuren
2067175808 RLP Updates 2014-02-01 21:51:50 +01:00
obscuren
dfa778fed6 UPNP wip 2014-02-01 21:30:54 +01:00
obscuren
8c09602a8b Self connect 2014-01-31 13:03:13 +01:00
obscuren
da66eddfcc Get peers returns now both in and outbound peers 2014-01-31 11:57:56 +01:00
obscuren
dfa38b3f91 Peer connection checking 2014-01-31 11:18:10 +01:00
obscuren
36f221dbe7 Don't connect to peers that are already connected 2014-01-31 01:12:48 +01:00
obscuren
7f100e9610 Self connect detect 2014-01-31 00:56:32 +01:00
obscuren
e28632b997 Mine? 2014-01-30 23:50:15 +01:00
obscuren
7ccf51fd30 Updated seed peers 2014-01-30 23:48:52 +01:00
obscuren
27a03d3eea Updated to the new Trie 2014-01-30 00:47:09 +01:00
obscuren
6ab368cf74 Changed block chain specific methods 2014-01-28 15:35:19 +01:00
obscuren
4a82230de5 Switched port and removed logging 2014-01-27 22:13:46 +01:00
obscuren
884f792871 Removed default connection 2014-01-27 15:34:50 +01:00
obscuren
8b9dcdcdf0 Debugging handles 2014-01-27 15:34:10 +01:00
obscuren
d753eb77ec Removed the last block of the block chain
Added CurrentBlock to block manager
2014-01-25 15:57:35 +01:00
obscuren
e32b1a1d97 Fake block mining 2014-01-25 01:25:36 +01:00
obscuren
97882a65bb Dev test mining 2014-01-24 20:16:48 +01:00
obscuren
1b7cba1878 Updated peers 2014-01-24 17:48:21 +01:00
obscuren
7bf4f2a908 tx is now part of the chain package 2014-01-23 22:33:51 +01:00