MestryOmkar
bb23d619e9
fix text 2. Posv -> 2. Clique
2018-10-28 12:02:27 +05:30
parmarrushabh
ce89b6b92d
making XDPoS as a separate package
2018-10-28 11:58:50 +05:30
parmmarrushabh
9765dea721
add option genesis generator for POSV
2018-10-27 17:52:28 +05:30
parmmarrushabh
dccf2ca3e9
Add signers and finality to block status rpc api.
2018-10-27 16:28:04 +05:30
MestryOmkar
cd3f0e37b4
move gap into genesis config
2018-10-24 14:29:03 +05:30
MestryOmkar
3f716137db
clean up a bit geth versioning
2018-10-24 14:11:41 +05:30
parmmarrushabh
f4ca507a31
updated epoch in genesis
2018-10-23 12:59:40 +05:30
AnilChinchawale
4788ad3d80
add smart contract randomize blocksigner
2018-10-22 10:24:57 +05:30
parmarrushabh
004b6e0045
fix unit test, safe cancel context
2018-10-22 18:14:27 +05:30
AnilChinchawale
77ac77cdb1
staking not mining
2018-10-21 16:42:10 +05:30
parmarrushabh
264a6dc9db
Fixed calculate reward for holders.
2018-10-20 16:20:30 +05:30
MestryOmkar
7cf2a5a3f8
fix flags
2018-10-18 15:46:19 +05:30
AnilChinchawale
706b93b0db
get rid of annoying msg if the node is still importing blocks only
2018-10-16 15:14:43 +05:30
MestryOmkar
ac0f04d7fc
temporarily bypass 0x00 returned from smc
2018-10-12 14:21:09 +05:30
MestryOmkar
f814908442
get masternodes set from latest checkpoint block header instead of fr… …
2018-10-10 14:15:15 +05:30
parmarrushabh
cd59b922ed
skip changes if no candidates found
2018-10-04 12:31:18 +05:30
MestryOmkar
ae9d4ec558
tiny lint thing
2018-10-02 12:27:36 +05:30
MestryOmkar
a7deff5891
minor log cleaning up
2018-10-02 12:23:02 +05:30
parmarrushabh
9f5cba7dc7
update new set of masternodes at end of each epoch (distance = m1Gap)
2018-09-30 12:00:33 +05:30
MestryOmkar
eb8922c652
staking instead of mining
2018-08-12 14:41:12 +05:30
MestryOmkar
b1abaff88e
add validator voting smart contract
2018-08-02 12:22:27 +05:30
AnilChinchawale
8fd30116d5
updated main.go
2018-07-18 17:09:38 +05:30
AnilChinchawale
80d66cb264
Fixed minor warning of go lint and rename checkpoint config parameter.
2018-07-15 16:47:41 +05:30
AnilChinchawale
38975a48d4
FIX-IMPORT-CYCLE
2018-07-04 15:47:37 +05:30
AnilChinchawale
6e4c9d9387
added DYNAMIC-VALIDATOR
2018-06-24 14:29:24 +05:30
AnilChinchawale
2cde3e9fe8
added MINING PERMISSION EVERY EPOCH BLOCK +1
2018-06-22 14:14:13 +05:30
AnilChinchawale
2a089900f5
added MINER-VALIDATOR
2018-06-18 10:46:57 +05:30
AnilChinchawale
0cb82cf94f
added CHAIN, HEADER PARAMS
2018-06-14 10:28:02 +05:30
AnilChinchawale
aa511fb523
add BLOCK REWARD TO CLIQUE CONFIG
2018-06-09 17:20:53 +05:30
AnilChinchawale
c095cc3e6f
FIX TYPO
2018-05-28 16:17:11 +05:30
AnilChinchawale
797cddd01f
updated FLAGS.GO
2018-05-24 15:52:03 +05:30
AnilChinchawale
88fe0a6d9d
updated USAGE.GO
2018-05-24 15:48:47 +05:30
AnilChinchawale
9b96842bfe
updated TESTDATA
2018-05-24 15:46:50 +05:30
AnilChinchawale
a686a3dc05
updated RUN_TEST.GO
2018-05-24 15:44:23 +05:30
AnilChinchawale
5e07884497
updated MONITORCMD.GO
2018-05-24 15:39:43 +05:30
AnilChinchawale
840fcb171c
updated MISCCMD.GO
2018-05-24 15:35:58 +05:30
AnilChinchawale
875820f769
updated MAIN.GO
2018-05-24 15:32:23 +05:30
AnilChinchawale
deb0903922
updated GENESIS_TEST.GO
2018-05-24 15:28:59 +05:30
AnilChinchawale
bd58746a7e
updated CONSOLECMD.GO
2018-05-24 15:21:10 +05:30
AnilChinchawale
19c8fa1aad
updated DAO_TEST.GO
2018-05-24 15:17:31 +05:30
AnilChinchawale
bf041d1d7b
updated CONSOLECMD_TEST.GO
2018-05-24 15:13:39 +05:30
AnilChinchawale
d1111a0be2
updated CONSOLECMD.GO
2018-05-24 15:03:05 +05:30
AnilChinchawale
f1abd2fdea
updated CONFIG.GO
2018-05-24 14:54:31 +05:30
AnilChinchawale
821f8915a1
updated BUGCMD.GO
2018-05-24 14:51:13 +05:30
AnilChinchawale
4a23b8c7ea
updated ACCOUNTCMD_TEST.GO
2018-05-24 14:49:12 +05:30
AnilChinchawale
ff6c5425c0
created NEW GENESIS_TEST.GO
2018-05-24 14:27:03 +05:30
AnilChinchawale
cb8cf5b662
updated XDC WITH NEW MODE
2018-05-24 14:25:25 +05:30
AnilChinchawale
5d7c5ef101
updated XDC WITH NEW MODE
2018-05-24 14:23:51 +05:30
AnilChinchawale
e81137d533
updated XDC
2018-05-22 14:22:19 +05:30
AnilChinchawale
398c1c0eaf
updated CMD
2018-05-22 14:19:03 +05:30
AnilChinchawale
2a16337460
ACCOUNTCMD.GO
2018-05-22 14:15:32 +05:30
AnilChinchawale
1269bea37d
updated MAIN.GO
2018-05-22 13:16:10 +05:30
AnilChinchawale
a8477a1d57
updated CONFIG.GO
2018-05-22 13:14:28 +05:30
AnilChinchawale
7ac52b7950
updated MODULE_WALLET.GO
2018-05-22 13:11:37 +05:30
AnilChinchawale
21dcd34b75
updated MODULE_NODE.GO
2018-05-22 13:09:03 +05:30
AnilChinchawale
6003d4726b
updated FAUCET.GO
2018-05-22 13:04:29 +05:30
AnilChinchawale
2f725d39b7
remove unused import
2018-04-19 18:43:05 +05:30
AnilChinchawale
ee295a230b
remove relOracle variable
2018-04-12 18:38:34 +05:30
Guillaume Ballet
cf799e5eaa
whisper: switch all remaining components from v5 to v6
2018-03-26 16:36:14 +02:00
Zhenguo Niu
db9b2f5405
cmd/puppeth: add constraints to network name ( #16336 )
...
* cmd/puppeth: add constraints to network name
* cmd/puppeth: update usage of network arg
* cmd/puppeth: avoid package dependency on utils
2018-03-26 15:21:20 +03:00
Péter Szilágyi
495bdb0c71
cmd: export preimages in RLP, support GZIP, uniform with block export
2018-03-26 14:08:01 +03:00
rjl493456442
b6b6f52ec8
cmd: implement preimage dump and import cmds
2018-03-26 12:51:46 +03:00
Guillaume Ballet
3d013c1939
whisper: some components are still using v5, switch to v6
2018-03-22 15:48:52 +01:00
Felföldi Zsolt
1488fdaf19
cmd/utils: fix maxpeers vs lightpeers logic ( #16125 )
2018-03-09 11:55:03 +02:00
Vlad Bokov
52697fb1b2
cmd/puppeth: allow any vhost in wallet
2018-03-09 00:02:31 +07:00
Kurkó Mihály
39c16c8a1e
cmd, ethdb, vendor: integrate leveldb iostats ( #16277 )
...
* cmd, dashboard, ethdb, vendor: send iostats to dashboard
* ethdb: change names
* ethdb: handle parsing errors
* ethdb: handle iostats syntax error
* ethdb: r -> w
2018-03-08 14:59:00 +02:00
Kurkó Mihály
704840a8ad
cmd, dashboard: use webpack dev server, remove custom assets ( #16263 )
...
* cmd, dashboard: remove custom assets, webpack dev server
* dashboard: yarn commands, small fixes
2018-03-08 10:22:21 +02:00
gluk256
f1d440a437
whisper: final refactoring ( #16259 )
...
whisper: final refactoring
2018-03-06 23:37:43 +01:00
Péter Szilágyi
b7e57ca1d0
cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
2018-03-05 14:01:13 +02:00
Martin Holst Swende
478143d69a
utils: fix #16138 by checking if vhosts flag is set ( #16141 )
...
* utils: fix #16138 by checking if vhosts flag is set
* utils,node: fix defaults for rpcvhosts
* node,utils: address review concerns
2018-03-05 13:02:32 +02:00
Vlad
61a061c9b4
whisper: refactoring go-routines
2018-03-04 23:35:05 +01:00
Vlad
95cca85d6d
whisper: minor refactoring
2018-03-03 21:37:16 +01:00
gluk256
66cd41af1e
Merge pull request #16231 from gluk256/303-reader
...
whisper: filereader mode introduced to wnode
2018-03-03 09:40:01 +01:00
Vlad
6219a33822
whisper: filereader mode introduced to wnode
2018-03-02 14:54:54 +01:00
Péter Szilágyi
49bcb5fbd5
Merge pull request #16228 from karalabe/faucet-background-skip
...
cmd/faucet: update state in background, skip when busy
2018-03-02 12:13:19 +02:00
Péter Szilágyi
6f13e515f4
cmd/faucet: update state in background, skip when busy
2018-03-02 12:02:23 +02:00
Zhenguo Niu
d520bf4503
cmd/swarm: fix some typos in manifest cmd ( #16227 )
...
Replace "atleast" with "at least" in the manifest error message.
2018-03-02 10:59:26 +01:00
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
2018-03-01 16:04:09 +01:00
gluk256
5a150e1b77
whisper: serious security issue fixed ( #16219 )
...
The diagnostic tool was saving the unencrypted version of the messages, which is an obvious
security flaw. As of this commit:
* encrypted messages saved instead of plain text.
* all messages are stored, even that created by the user of wnode.
2018-03-01 09:34:46 +01:00
Saulius Grigaitis
c41f1a3e23
puppeth: fix Parity Chain Spec parameter GasLimitBoundDivision ( #16188 )
2018-02-27 12:56:51 +02:00
Guillaume Ballet
4c845bdc27
Merge pull request #16198 from gluk256/266-wnode
...
whisper: refactor wnode to systematically store messages if a directory is provided
2018-02-26 21:23:51 +01:00
Vlad
f4e676cccd
whipser: comments updated
2018-02-26 19:26:36 +01:00
Vlad
6e0667fa06
whisper: wnode updated - all messages are saved if savedir param is given
2018-02-26 13:58:04 +01:00
Domino Valdano
d398d04e27
cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help ( #16183 )
...
* Fixed broken link to JavaScript-Console wiki in cmd line help
* cmd/geth: Added missing r in 'JavaScript'
2018-02-26 11:38:17 +02:00
Anton Evangelatov
dcca613a0b
swarm: initial instrumentation ( #15969 )
...
* swarm: initial instrumentation with go-metrics
* swarm: initialise metrics collection and add ResettingTimer to HTTP requests
* swarm: update metrics flags names. remove redundant Timer.
* swarm: rename method for periodically updating gauges
* swarm: finalise metrics after feedback
* swarm/network: always init kad metrics containers
* swarm/network: off-by-one index in metrics containers
* swarm, metrics: resolved conflicts
2018-02-23 14:19:59 +01:00
Martin Holst Swende
44d40ffce1
core, vm, common: define constantinople fork + shift ( #16045 )
...
* core, vm, common: define constantinople fork, start implementation of shift instructions
* vm: more testcases
* vm: add tests for intpool erroneous intpool handling
* core, vm, common: fix constantinople review concerns
* vm: add string<->op definitions for new opcodes
2018-02-23 12:32:57 +02:00
Janos Guljas
6a9730edaa
swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
2018-02-22 18:51:34 +01:00
Janos Guljas
a3a07350dc
swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
2018-02-22 14:23:17 +01:00
Péter Szilágyi
72c4c50777
cmd/faucet: resolve twitter user from final redirect
2018-02-22 13:20:36 +02:00
Nilesh Trivedi
085d3fbf72
cmd/puppeth: Don't allow hyphen in network name. Fixes #16155
2018-02-22 00:23:50 +05:30
Péter Szilágyi
01507d9b9d
cmd, console: support all termination signals
2018-02-21 15:23:10 +02:00
Guillaume Ballet
5f9b01a283
whisper: only use the node id as a p2p id, not for sending messages ( #16102 )
...
This is in preparation for the switch to libp2p: the ID generated
will be from a private key created with the help of libp2p's crypto
library, while Whisper will still use Go's default crypto libraries
for encrypting its messages. This change removes a conflict.
It shouldn't have any impact as the person receiving emails is
the user, not the node.
2018-02-15 14:43:48 +02:00
Péter Szilágyi
b92276c700
Merge pull request #16098 from holiman/fix_import
...
main: add gc flags to import-command
2018-02-15 12:34:33 +02:00
Martin Holst Swende
de93a9d437
main: add gc flags to import-command
2018-02-15 09:16:59 +01:00
Felix Lange
a5c0bbb4f4
all: update license information ( #16089 )
2018-02-14 13:49:11 +01:00
Péter Szilágyi
12dab53495
cmd/puppeth: unify discv4 and discv5 ports
2018-02-12 16:27:53 +02:00
Martin Holst Swende
589b603a9b
rpc: dns rebind protection ( #15962 )
...
* cmd,node,rpc: add allowedHosts to prevent dns rebinding attacks
* p2p,node: Fix bug with dumpconfig introduced in r54aeb8e4c0bb9f0e7a6c67258af67df3b266af3d
* rpc: add wildcard support for rpcallowedhosts + go fmt
* cmd/geth, cmd/utils, node, rpc: ignore direct ip(v4/6) addresses in rpc virtual hostnames check
* http, rpc, utils: make vhosts into map, address review concerns
* node: change log messages to use geth standard (not sprintf)
* rpc: fix spelling
2018-02-12 14:52:07 +02:00
Felix Lange
9123eceb0f
p2p, p2p/discover: misc connectivity improvements ( #16069 )
...
* p2p: add DialRatio for configuration of inbound vs. dialed connections
* p2p: add connection flags to PeerInfo
* p2p/netutil: add SameNet, DistinctNetSet
* p2p/discover: improve revalidation and seeding
This changes node revalidation to be periodic instead of on-demand. This
should prevent issues where dead nodes get stuck in closer buckets
because no other node will ever come along to replace them.
Every 5 seconds (on average), the last node in a random bucket is
checked and moved to the front of the bucket if it is still responding.
If revalidation fails, the last node is replaced by an entry of the
'replacement list' containing recently-seen nodes.
Most close buckets are removed because it's very unlikely we'll ever
encounter a node that would fall into any of those buckets.
Table seeding is also improved: we now require a few minutes of table
membership before considering a node as a potential seed node. This
should make it less likely to store short-lived nodes as potential
seeds.
* p2p/discover: fix nits in UDP transport
We would skip sending neighbors replies if there were fewer than
maxNeighbors results and CheckRelayIP returned an error for the last
one. While here, also resolve a TODO about pong reply tokens.
2018-02-12 14:36:09 +02:00
Guillaume Ballet
5cf75a30c1
whisper: get wnode to work with v6 ( #16051 )
...
The bulk of the issue was to adapt to the new requirement
that a v6 filter has to either contain a symmertric key or
an asymmetric one.
This commits revert one of the fixes that I made to remove
a linter warning: unexporting NewSentMessage. This is not
really a problem as I have a cleanup in the pipe that will
solve this issue.
2018-02-10 15:35:32 +02:00
Péter Szilágyi
55599ee95d
core, trie: intermediate mempool between trie and database ( #15857 )
...
This commit reduces database I/O by not writing every state trie to disk.
2018-02-05 17:40:32 +01:00