Liam
24d02fe2b4
check v2 switch block is epoch number ( #342 )
...
* check v2 switch block is epoch number
* revert sync pr
* add test
* make default block number valid
* fix log
* fix test
2023-10-30 19:03:34 +11:00
Daniel Liu
72c51e2bc9
set new MinGasPrice in function makeConfigNode
2023-10-16 11:24:47 +08:00
Liam Lai
69c38ac490
fix broken the tests and one bug
2023-08-02 09:27:46 +10:00
Liam Lai
5623ce8de0
merge from master
2023-07-30 16:50:45 +10:00
Liam
2df16bbd37
merge waitPeriod into minePeriod ( #274 )
...
* merge waitperiod into mindePeriod
* merge waitperiod into mindePeriod
2023-05-31 23:40:50 +10:00
Liam
767dfde1da
add v2 config into genesis wizard ( #273 )
2023-05-31 16:03:31 +10:00
Anil Chinchawale
21ae43ac15
Merge pull request #198 from Carry-So/fix-test-error
...
cmd/XDC: remove redundant newline in bugcmd.go to pass make test
2023-05-27 13:35:19 +05:30
wgr523
cd74061ac2
Extend masternode candidate ( #261 )
...
* V2 truncate MaxMasternodes from candidates after penalty,
V1 same as before
TestUpdateMultipleMasterNodes: test V2, in snapshot we have all candidates, but at epoch switch, we pick MaxMasternodes
* code looks better
2023-05-16 21:43:56 +08:00
Daniel Liu
87455baf2e
init genesis from source if flag --apothem
2023-04-20 16:52:35 +08:00
Daniel Liu
e00e34c79b
remove duplicate common.TIPTRC21Fee assignment
2023-04-20 14:51:52 +08:00
Liam
c4f9a552e5
Multi config bug fix ( #216 )
...
* refactor multi config
remove pool cleaner
correct message and log level
2022-12-17 20:23:46 +08:00
Daniel Liu
6a768b04f9
add enable-0x-prefix flag ( #194 )
2022-12-09 19:15:13 +08:00
Liam
6ffbd3e141
Xin 259 support multi v2 config ( #210 )
...
* update timeout period and waittime
* remove wrong comment
* update config for preparing test
2022-12-06 20:08:56 +08:00
Daniel Liu
1b3386b60f
cmd/XDC: remove redundant newline in bugcmd.go to pass make test
2022-10-18 15:44:02 +08:00
Liam
833f70bdb7
xin-203 fix wrong config hash and update v2 params on mainnet ( #109 )
...
* fix wrong config hash and update v2 params on mainnet
* update config and all the test
* hard code binary into code
* add default config for testing
* update test timestamp
2022-07-12 16:56:55 +02:00
Jerome
bcffe1ec16
Give the XDC option to use emit metrics ( #89 )
2022-06-19 13:42:48 +02:00
wgr523
8fde52c512
Xin 145 ( #82 )
...
* add HandleProposedBlock() in procFutureBlocks()
* add proposedBlockHandler for downloader
2022-04-22 00:12:44 +08:00
Jianrong
0eb2504db3
Add 1 test for adaptor to switch from v1 to v2
2021-10-17 11:20:57 +11:00
olumuyiwadad
2b326de485
fix C-[a-m] tests.
2021-09-27 16:50:45 +05:30
olumuyiwadad
c0677f03cb
update test C-[a-m] tests.
2021-09-27 12:47:59 +05:30
olumuyiwadad
fb0e9fac89
fix test C-[a-m] tests.
2021-09-27 12:29:05 +05:30
olumuyiwadad
cf18ceba33
Merge branch 'forking-incident-fix' of https://github.com/hash-laboratories-au/XDPoSChain into hash-laboratories-au-forking-incident-fix
2021-09-23 17:01:19 +05:30
olumuyiwadad
b5abbfed79
new EVM Upgrade
...
- Solidity Upgraded up to v0.8.0
- Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891
FIx Bad block error.
2021-09-17 17:59:06 +05:30
Jianrong
fa2b341c9a
resolving broken eth tests
2021-08-29 17:14:10 +10:00
Jianrong
d17f1fdd75
replace comment out tests with t.Skip()
2021-08-29 11:47:19 +10:00
Jianrong
454a4ab8dc
run in parallel
2021-08-26 21:35:42 +10:00
Jianrong
10260b0749
ignore fs_test.go
2021-08-07 14:27:08 +10:00
Jianrong
0fdab2027c
add linting as the first CI task
2021-08-07 14:27:08 +10:00
dev-vadim
dbe8c9d984
upgrade XDC.Network with v1.8.27.
2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036
upgrade codebase with ethereum:v1.8.13
2020-11-23 13:40:30 +05:30
ronakgothi
1d62749437
updated foundation address
2019-05-29 20:33:23 +05:30
ronakgothi
4db94d8917
updated reward
2019-05-27 11:55:38 +05:30
ronakgothi
d32e733510
Initial ValidatorCap changed to 10M
2019-05-25 11:24:28 +05:30
parmarrushabh
637cf2c0f7
created bew checklist
2019-04-29 12:52:04 +05:30
Péter Szilágyi
d8787230fa
eth, les, light: enforce CHT checkpoints on fast-sync too
2019-04-17 14:56:58 +03:00
Jeremy McNevin
45730cfab3
cmd/geth: fix accidental --rpccorsdomain and --rpcvhosts removal
2019-04-09 10:56:50 +03:00
Martin Holst Swende
e872ba7a9e
eth, les, geth: implement cli-configurable global gas cap for RPC calls ( #19401 )
...
* eth, les, geth: implement cli-configurable global gas cap for RPC calls
* graphql, ethapi: place gas cap in DoCall
* ethapi: reformat log message
2019-04-08 15:15:13 +03:00
Martin Holst Swende
af401d03a3
all: simplify timestamps to uint64 ( #19372 )
...
* all: simplify timestamps to uint64
* tests: update definitions
* clef, faucet, mobile: leftover uint64 fixups
* ethash: fix tests
* graphql: update schema for timestamp
* ethash: remove unused variable
2019-04-08 12:00:42 +03:00
AnilChinchawale
2f02ac8043
EVM Changed added
2019-03-22 17:39:27 +05:30
AnilChinchawale
1e77239ede
EVM Changes upgraded.
2019-03-22 17:37:47 +05:30
AnilChinchawale
05287e42e1
Wizard_genesis updated.
2019-03-22 17:06:48 +05:30
AnilChinchawale
f272b5d8cb
Change prefix to xdc
2019-03-17 16:14:04 +05:30
AnilChinchawale
9b13f2279e
Update command prompts
2019-03-16 16:13:35 +05:30
AnilChinchawale
bc31e1e8f0
Change prefix to xdc
...
Add prefix to Str method of Address.
Make jsre works.
2019-03-16 16:12:41 +05:30
AnilChinchawale
a638d2adc0
Minor error fixed.
2019-03-16 16:02:10 +05:30
AnilChinchawale
7de9cee4fb
Trezor data updated
2019-03-14 15:59:48 +05:30
parmarrushabh
1b13b3a305
hot fix
2019-02-24 17:40:26 +05:30
Anton Evangelatov
4f908db69e
cmd/utils: allow for multiple influxdb tags ( #18520 )
...
This PR is replacing the metrics.influxdb.host.tag cmd-line flag with metrics.influxdb.tags - a comma-separated key/value tags, that are passed to the InfluxDB reporter, so that we can index measurements with multiple tags, and not just one host tag.
This will be useful for Swarm, where we want to index measurements not just with the host tag, but also with bzzkey and git commit version (for long-running deployments).
(cherry picked from commit 21acf0bc8d )
2019-02-19 17:34:48 +01:00
holisticode
996230174c
cmd/swarm/swarm-smoke: Trigger chunk debug on timeout ( #19101 )
...
* cmd/swarm/swarm-smoke: first version trigger has-chunks on timeout
* cmd/swarm/swarm-smoke: finalize trigger to chunk debug
* cmd/swarm/swarm-smoke: fixed httpEndpoint for trigger
* cmd/swarm/swarm-smoke: port
* cmd/swarm/swarm-smoke: ws not rpc
* cmd/swarm/swarm-smoke: added debug output
* cmd/swarm/swarm-smoke: addressed PR comments
* cmd/swarm/swarm-smoke: renamed track-timeout and track-chunks
(cherry picked from commit 62d7688d0a )
2019-02-19 13:11:53 +01:00
Janoš Guljaš
85217b08bd
cmd/swarm/global-store: global store cmd ( #19014 )
...
(cherry picked from commit 33d0a0efa6 )
2019-02-19 13:11:51 +01:00
holisticode
d1ace4f344
swarm: Debug API and HasChunks() API endpoint ( #18980 )
...
(cherry picked from commit 41597c2856 )
2019-02-19 13:06:13 +01:00
Anton Evangelatov
637a75d61a
cmd/swarm/swarm-smoke: refactor generateEndpoints ( #19006 )
...
(cherry picked from commit d212535ddd )
2019-02-19 13:05:55 +01:00
Anton Evangelatov
355d55bd34
cmd/swarm/swarm-smoke: remove wrong metrics ( #18970 )
...
(cherry picked from commit c5c9cef5c0 )
2019-02-19 13:05:37 +01:00
Elad
7038b5734c
cmd/swarm/swarm-smoke: sliding window test ( #18967 )
...
(cherry picked from commit b91bf08876 )
2019-02-19 13:05:26 +01:00
holisticode
1ecf2860cf
cmd/swarm: hashes command ( #19008 )
...
(cherry picked from commit 7f55b0cbd8 )
2019-02-19 12:57:53 +01:00
gluk256
e247dcc141
swarm/version: commit version added ( #18510 )
...
(cherry picked from commit ad13d2d407 )
2019-02-19 12:56:31 +01:00
Anton Evangelatov
4976fcc91a
swarm: bootnode-mode, new bootnodes and no p2p package discovery ( #18498 )
...
(cherry picked from commit bbd120354a )
2019-02-19 12:56:30 +01:00
Anton Evangelatov
878aa58ec6
cmd/swarm: use resetting timer to measure fetch time ( #18474 )
...
(cherry picked from commit a0b0db6305 )
2019-02-19 12:56:30 +01:00
holisticode
4625b1257f
cmd/swarm/swarm-smoke: use ResettingTimer instead of Counters for times ( #18479 )
...
(cherry picked from commit 560957799a )
2019-02-19 12:56:30 +01:00
Elad
21d54bcaac
cmd/swarm/swarm-snapshot: disable tests on windows ( #18478 )
...
(cherry picked from commit 632135ce4c )
2019-02-19 12:56:30 +01:00
holisticode
7383db4dac
Upload speed ( #18442 )
...
(cherry picked from commit 257bfff316 )
2019-02-19 12:56:30 +01:00
Elad
a3f31f51f3
cmd/swarm/swarm-snapshot: swarm snapshot generator ( #18453 )
...
* cmd/swarm/swarm-snapshot: add binary to create network snapshots
* cmd/swarm/swarm-snapshot: refactor and extend tests
* p2p/simulations: remove unused triggerChecks func and fix linter
* internal/cmdtest: raise the timeout for killing TestCmd
* cmd/swarm/swarm-snapshot: add more comments and other minor adjustments
* cmd/swarm/swarm-snapshot: remove redundant check in createSnapshot
* cmd/swarm/swarm-snapshot: change comment wording
* p2p/simulations: revert Simulation.Run from master
https://github.com/ethersphere/go-ethereum/pull/1077/files#r247078904
* cmd/swarm/swarm-snapshot: address pr comments
* swarm/network/simulations/discovery: removed snapshot write to file
* cmd/swarm/swarm-snapshot, swarm/network/simulations: removed redundant connection event check, fixed lint error
(cherry picked from commit 34f11e752f )
2019-02-19 12:54:56 +01:00
Martin Holst Swende
048b463b30
common/fdlimit: cap on MacOS file limits, fixes #18994 ( #19035 )
...
* common/fdlimit: cap on MacOS file limits, fixes #18994
* common/fdlimit: fix Maximum-check to respect OPEN_MAX
* common/fdlimit: return error if OPEN_MAX is exceeded in Raise()
* common/fdlimit: goimports
* common/fdlimit: check value after setting fdlimit
* common/fdlimit: make comment a bit more descriptive
* cmd/utils: make fdlimit happy path a bit cleaner
(cherry picked from commit f48da43bae )
2019-02-19 10:57:49 +02:00
Péter Szilágyi
2072c26a96
cmd, core, params: add support for Goerli
...
(cherry picked from commit b0ed083ead )
2019-02-19 10:53:47 +02:00
parmarrushabh
56e1251a94
clean all state of block signer
2019-02-14 14:46:00 +05:30
Péter Szilágyi
18f702faf7
cmd/puppeth: handle pre-set Petersburg number, save changed fork rules
2019-02-09 17:38:00 +01:00
Martin Holst Swende
c7664b0636
core, cmd/puppeth: implement constantinople fix, disable EIP-1283 ( #18486 )
...
This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
but the genesis/config field is ConstantinopleFix.
The block numbers are:
7280000 for Constantinople on Mainnet
7280000 for ConstantinopleFix on Mainnet
4939394 for ConstantinopleFix on Ropsten
9999999 for ConstantinopleFix on Rinkeby (real number decided later)
This PR also defaults to using the same ConstantinopleFix number as whatever
Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
is not set.This means that for private networks which have already transitioned
to Constantinople, this PR will break the network unless ConstantinopleFix is
explicitly set!
2019-01-29 17:49:27 +01:00
Sean
428eabe28d
cmd/geth: support dumpconfig optionally saving to file ( #18327 )
...
* Changed dumpConfig function to optionally save to file
* Added O_TRUNC flag to file open and cleaned up code
2019-01-07 10:56:50 +02:00
AnilChinchawale
1ce4eba0d6
Fixed issue | File updated
2019-01-06 08:32:23 +05:30
AnilChinchawale
a4e35b0a22
Fixed issue | File Modified
2019-01-05 08:32:22 +05:30
Péter Szilágyi
391d4cb9b5
Merge pull request #18390 from realdave/remove-sha3-pkg
...
vendor, crypto, swarm: switch over to upstream sha3 package
2019-01-04 09:51:12 +02:00
Ha ĐANG
3f421aca54
cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses ( #18344 )
...
* cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses
* cmd/puppeth: don't need to handle duplicate set
2019-01-04 09:48:15 +02:00
Dave McGregor
33d233d3e1
vendor, crypto, swarm: switch over to upstream sha3 package
2019-01-04 09:26:07 +02:00
AnilChinchawale
52567157ff
Fixed issue main | File Modified
2019-01-03 08:31:36 +05:30
AnilChinchawale
15e76b17de
Fixed issue Config & consolecmd | File Modified
2018-12-31 23:29:39 +05:30
AnilChinchawale
05a7433768
Fixed issue accountcmd & chaincmd | File Modified
2018-12-31 23:28:15 +05:30
Anton Evangelatov
9e9fc87e70
swarm: remove unused/dead code ( #18351 )
2018-12-23 17:31:32 +01:00
Martin Holst Swende
83a9a73b89
cmd/geth, core, eth: implement Constantinople override flag ( #18273 )
...
* geth/core/eth: implement constantinople override flag
* les: implemnent constantinople override flag for les clients
* cmd/geth, eth, les: fix typo, move flag to experimentals
2018-12-11 14:19:03 +02:00
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP
2018-12-11 13:41:41 +02:00
Péter Szilágyi
69a8d9841a
cmd/faucet: fix faucet static peer regression
2018-12-11 13:41:18 +02:00
Elad
bb724080ca
cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation ( #18274 )
2018-12-11 09:21:58 +01:00
Péter Szilágyi
31b3334922
cmd/utils, eth: minor polishes on whitelist code
2018-12-10 14:47:01 +02:00
Ryan Schneider
48b70ecff1
cmd, eth: Add support for --whitelist <blocknum>=<hash>,... flag
...
* Rejects peers that respond with a different hash for any of the passed in block numbers.
* Meant for emergency situations when the network forks unexpectedly.
2018-12-10 14:30:06 +02:00
Martin Holst Swende
42a914a84f
cmd/evm, core/vm, eth: implement api methods to do stdjson dump to local filesystem
2018-12-10 12:33:50 +02:00
Javier Peletier
c1d462ee5d
cmd/puppeth: fix rogue quote in alethGenesisSpec JSON ( #18262 )
2018-12-10 11:16:19 +02:00
Péter Szilágyi
d2328b604a
Merge pull request #18211 from karalabe/drop-fd-limit
...
cmd/utils: max out the OS file allowance, don't cap to 2K
2018-12-07 14:10:03 +02:00
parmarrushabh
68dbddadc0
Using gas from flag
2018-12-07 10:56:50 +05:30
AnilChinchawale
4a6e8c7f5d
Won't grasp txs at checkpoint
2018-12-07 10:42:40 +05:30
Péter Szilágyi
d4415f5e40
cmd/puppeth: chain import/export via wizard, minor polishes
2018-12-04 12:12:40 +02:00
Martin Holst Swende
8698fbabf6
cmd/puppeth: implement chainspec converters
2018-12-03 12:34:41 +02:00
Péter Szilágyi
4825d9c3dd
cmd/puppeth: enforce lowercase network names
2018-12-03 12:17:08 +02:00
parmarrushabh
4a12d746ff
tmp fix ethash unittests
2018-12-04 14:25:55 +05:30
parmarrushabh
2b7010d51f
add state variable to verifyHeader(), verifyHeaders() in the consensus
2018-12-02 12:21:48 +05:30
Anton Evangelatov
7e7781ffaa
cmd/swarm: add flag for application name (swarm or swarm-private) ( #18189 )
...
* cmd/swarm: add flag for application name (swarm or swarm-private)
* cmd/swarm/swarm-smoke: return correct exit code
* cmd/swarm/swarm-smoke: remove colorable
* remove swarm/grafana_dashboards
2018-11-29 18:43:15 +02:00
Péter Szilágyi
cf62bd2e88
cmd/utils: max out the OS file allowance, don't cap to 2K
2018-11-29 12:47:29 +02:00
Matthew Di Ferrante
3d21d455dc
cmd/evm: commit statedb if dump is requested ( #18208 )
...
Add a call `statedb.Commit(true)` if the `Dump` flag is on, as otherwise the `storage` output in the dump is always empty.
2018-11-29 09:29:12 +01:00
Javier Peletier
4f0d978eaa
cmd/swarm: update should error on manifest mismatch ( #18047 )
...
* cmd/swarm: fix ethersphere/go-ethereum#979 :
update should error on manifest mistmatch
* cmd/swarm: fixed comments and remove sprintf from log.Info
* cmd/swarm: remove unnecessary comment
2018-11-26 17:37:59 +01:00
Javier Peletier
2714e8f091
Remove multihash from Swarm bzz:// for Feeds ( #18175 )
2018-11-26 16:10:22 +01:00
parmarrushabh
c2414371ca
fix error read reward
2018-11-24 17:40:36 +05:30
AnilChinchawale
4624bbb988
updated utils.go
2018-11-24 16:23:43 +05:30
Ferenc Szabo
76f5f662cc
cmd/swarm: FUSE do not require --ipcpath ( #18112 )
...
- Have `${DataDir}/bzzd.ipc` as IPC path default.
- Respect the `--datadir` flag.
- Keep only the global `--ipcpath` flag and drop the local `--ipcpath` flag
as flags might overwrite each other. (Note: before global `--ipcpath`
was ignored even if it was set)
fixes ethersphere#795
2018-11-23 01:32:34 +01:00
parmarrushabh
8d7572ef1c
hot fix
2018-11-22 15:49:29 +05:30
Anton Evangelatov
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster ( #18104 )
2018-11-19 14:58:10 +01:00
Anton Evangelatov
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster ( #18129 )
2018-11-19 14:57:22 +01:00
parmarrushabh
51c88fe8ce
create new api get reward
2018-11-19 11:21:42 +05:30
parmarrushabh
ece14048a5
fixed only three MNs making block when --XDC testnet flag enable
2018-11-17 17:10:09 +05:30
parmarrushabh
5501a5707c
fixed
2018-11-17 16:15:25 +05:30
AnilChinchawale
f0cf0a9f15
Add annouce-txs, maxpeers 25
2018-11-17 14:18:01 +05:30
Péter Szilágyi
434dd5bc00
cmd, core, eth, light, trie: add trie read caching layer
2018-11-15 12:22:13 +02:00
Alexey Sharov
eb8fa3cc89
cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream, swarm/storage, swarm/storage/encryption, swarm/testutil: use pseudo-random instead of crypto-random for test files content generation ( #18083 )
...
- Replace "crypto/rand" to "math/rand" for files content generation
- Remove swarm/network_test.go.Shuffle and swarm/btm/btm_test.go.Shuffle - because go1.9 support dropped (see https://github.com/ethereum/go-ethereum/pull/17807 and comments to swarm/network_test.go.Shuffle)
2018-11-14 09:21:14 +01:00
parmarrushabh
abd494055b
fix err download block on masternode
2018-11-14 11:29:48 +05:30
AnilChinchawale
2bcb530ca6
Update wizard_genesis.go
2018-11-14 18:12:57 +05:30
parmarrushabh
2b21303fc0
Fixed foundation balance to 16m.
2018-11-14 18:11:03 +05:30
parmarrushabh
1596ba2489
Fixed genesis for add team MSW contract.
2018-11-14 18:07:45 +05:30
Andrew Chiw
a0876f7433
Imply that SwarmApiFlag is the API endpoint to connect to, not to listen on ( #18071 )
2018-11-12 13:04:13 +01:00
MestryOmkar
4e1b835434
enable txPool flags
2018-11-12 15:09:35 +05:30
parmarrushabh
7d162336fa
Add MultisigWallet to puppeth for build new genesis.
2018-11-12 11:37:26 +05:30
Corey Lin
1ff152f3a4
rawdb: remove unused parameter for WritePreimages func ( #18059 )
...
* rawdb: remove unused parameter for WritePreimages func and modify a
spelling mistake
* rawdb: update the doc for function WritePreimages
2018-11-09 12:51:07 +02:00
parmarrushabh
3fc36efeb3
Fixed golint.
2018-11-09 10:49:11 +05:30
MestryOmkar
fa90c3eeb0
crypto/bn256: fix issues caused by Go 1.11
2018-11-09 17:58:40 +05:30
parmarrushabh
0c8315163b
extend max peer per node to 200
2018-11-09 17:06:14 +05:30
parmarrushabh
1396b1a10f
Fixed unit test for new m2 block header.
2018-11-09 16:29:54 +05:30
Anton Evangelatov
cf3b187bde
swarm, cmd/swarm: address ineffectual assignments ( #18048 )
...
* swarm, cmd/swarm: address ineffectual assignments
* swarm/network: remove unused vars from testHandshake
* swarm/storage/feed: revert cursor changes
2018-11-07 20:39:08 +01:00
AnilChinchwale
b53a7a111a
add validation to randomize smc
2018-11-07 11:42:03 +05:30
AnilChinchwale
551fd57271
Fixed unit test for penalty feature.
2018-11-07 10:46:09 +05:30
AnilChinchawale
deb79f4a23
push Randomization implementation
2018-11-06 17:27:13 +05:30
parmarrushabh
944494f6e4
Revert Randomization implementation
2018-11-06 16:16:29 +05:30
MestryOmkar
20c5123739
Fixed unit test for block randomize.
2018-11-05 11:45:14 +05:30
parmarrushabh
8f319018b3
adjust signed recently condition
2018-11-05 17:52:53 +05:30
Elad
126dfde6c9
cmd/swarm: auto resolve default path according to env flag ( #17960 )
2018-11-04 07:59:58 +01:00
parmarrushabh
1857fe3991
remove delay when mine new block
2018-11-03 17:12:18 +05:30
parmarrushabh
5afb844e0a
fix option Verbosity in toml file
2018-11-02 12:51:24 +05:30
parmarrushabh
b969dc7790
add some config to toml file
2018-11-02 12:28:39 +05:30
AnilChinchawale
7e7bc37c20
convert update M1 method from async to sync
2018-11-02 12:14:43 +05:30
MestryOmkar
d277d0b444
fix unit tests
2018-11-02 11:45:07 +05:30
MestryOmkar
d281cfb854
remove bootnodes for ETH mainnet
2018-11-02 11:34:25 +05:30
parmarrushabh
b0e95fcc58
fix reduce change code
2018-10-31 11:14:32 +05:30
AnilChinchawale
9bc7680c02
remove rinkby and discovery in bootnode
2018-10-31 10:56:58 +05:30
AnilChinchawale
cb167f9180
move config bootnode to xdc toml file
2018-10-31 10:42:04 +05:30
AnilChinchawale
7597e6ca5e
add option set account , password with flag
2018-10-31 10:34:22 +05:30
parmarrushabh
cb5a55a904
change config from flag to toml file; fix tag listenaddr
2018-10-31 10:30:25 +05:30
parmarrushabh
51ef74203a
update return error when update M1
2018-10-31 18:58:34 +05:30
parmarrushabh
7827a8c35b
decode again value from rlp
2018-10-30 18:15:12 +05:30
AnilChinchwale
90fc55cb91
updated genesis
2018-10-29 17:51:29 +05:30
parmarrushabh
4dfbf08a6f
prepare testnet genesis
2018-10-29 14:53:44 +05:30
Roc Yu
3e1cfbae93
cmd/swarm/swarm-smoke: fix issue that loop variable capture in func ( #17992 )
2018-10-29 10:00:00 +01:00
AnilChinchwale
77bf4b18e1
Fixed default for foundation wallet address at puppeth.
2018-10-29 14:23:45 +05:30
AnilChinchwale
62118bea51
update genesis.Config.Clique.Epoch
2018-10-29 13:17:40 +05:30
parmarrushabh
b2593aa0c3
update default 1 epoch = 900 blocks and gap = 450
2018-10-29 12:24:58 +05:30
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
Johns Beharry
80d3907767
cmd/clef: replace password arg with prompt ( #17897 )
...
* cmd/clef: replace password arg with prompt (#17829 )
Entering passwords on the command line is not secure as it is easy to recover from bash_history or the process table.
1. The clef command addpw was renamed to setpw to better describe the functionality
2. The <password> argument was removed and replaced with an interactive prompt
* cmd/clef: remove undeclared variable
2018-10-25 21:45:56 +02:00
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
Martin Holst Swende
4c0883e20d
core/vm: adds refund as part of the json standard trace ( #17910 )
...
This adds the global accumulated refund counter to the standard
json output as a numeric json value. Previously this was not very
interesting since it was not used much, but with the new sstore
gas changes the value is a lot more interesting from a consensus
investigation perspective.
2018-10-23 16:28:18 +02:00
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
Felix Lange
75060ef96e
cmd/bootnode: fix -writeaddress output ( #17932 )
2018-10-19 16:41:27 +03:00
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
Wenbiao Zheng
6c313fff7b
cmd/geth: don't set GOMAXPROCS by default ( #17148 )
...
This is no longer needed because Go uses all CPUs
by default. The change allows setting GOMAXPROCS in environment if needed.
2018-10-16 02:02:53 +02:00
Grachev Mikhail
3e92c853fb
cmd/clef: fix typos in README ( #17908 )
2018-10-16 00:33:09 +02:00
lash
862d6f2fbf
cmd/swarm: Smoke test for Swarm Feed ( #17892 )
2018-10-12 16:24:00 +02:00
Elad
4868964bb9
cmd/swarm: split flags and cli command declarations to the relevant files ( #17896 )
2018-10-12 14:51:38 +02:00
Felix Lange
6f607de5d5
p2p, p2p/discover: add signed ENR generation ( #17753 )
...
This PR adds enode.LocalNode and integrates it into the p2p
subsystem. This new object is the keeper of the local node
record. For now, a new version of the record is produced every
time the client restarts. We'll make it smarter to avoid that in
the future.
There are a couple of other changes in this commit: discovery now
waits for all of its goroutines at shutdown and the p2p server
now closes the node database after discovery has shut down. This
fixes a leveldb crash in tests. p2p server startup is faster
because it doesn't need to wait for the external IP query
anymore.
2018-10-12 11:47:24 +02:00
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
Elad
da290e9707
cmd/swarm: speed up tests ( #17878 )
...
These minor changes already shaved off around 30s.
2018-10-09 14:08:40 +02:00
Martin Holst Swende
d5c7a6056a
cmd/clef: encrypt the master seed on disk ( #17704 )
...
* cmd/clef: encrypt master seed of clef
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
* keystore: refactor for external use of encryption
* clef: utilize keystore encryption, check flags correctly
* clef: validate master password
* clef: add json wrapping around encrypted master seed
2018-10-09 11:05:41 +02:00
Ryan Schneider
cfcc47529d
cmd/utils: fix bug when checking for flag value conflicts ( #17803 )
2018-10-08 17:08:56 +03:00
Philip Schlump
f95811e65b
cmd/abigen: support for --type flag with piped data ( #17648 )
2018-10-06 16:27:12 +02:00
Felix Lange
b8a0daf0cc
cmd/puppeth: fix node URL in health check ( #17802 )
...
* cmd/puppeth: fix node URL in health check
* cmd/puppeth: set external IP for geth
* cmd/puppeth: fix enode cast issue
2018-10-04 12:34:49 +03:00
cdetrio
bfa0f96822
cmd/evm: fix state dump ( #17832 )
2018-10-04 10:22:41 +02:00
Anton Evangelatov
82a1c771ef
cmd/swarm: disable tests under Windows until they are fixed ( #17827 )
2018-10-04 09:18:03 +02:00
parmarrushabh
cd59b922ed
skip changes if no candidates found
2018-10-04 12:31:18 +05:30
Viktor Trón
e5677114dc
Merge pull request #17796 from epiclabs-io/mru-feeds
...
swarm/storage/feeds: Renamed MRU to Swarm Feeds
2018-10-03 14:59:41 +02:00
Anton Evangelatov
303b99663e
swarm: schemas and migrations ( #17813 )
2018-10-03 14:31:59 +02:00
Javier Peletier
de01178c18
swarm/storage/feed: Renamed package
2018-10-03 09:15:28 +02:00
Javier Peletier
696bc9b01c
swarm/storage/feeds: renamed vars that can conflict with package name
2018-10-03 09:12:06 +02:00
Javier Peletier
58c0879c2f
swarm/storage/feeds: removed capital Feed throughout
2018-10-03 09:12:06 +02:00
Javier Peletier
b6ccc06cda
swarm/storage/feeds: Final package rename and moved files
2018-10-03 09:12:06 +02:00
Javier Peletier
83705ef6aa
swarm/storage/mru: Renamed rest of MRU references
2018-10-03 09:12:06 +02:00
Javier Peletier
f1e86ad9cf
swarm/storage/mru: Renamed all identifiers to Feeds
2018-10-03 09:12:06 +02:00
Elad
bd1f7ebda2
cmd/swarm: fix appveyor build ( #17808 )
2018-10-02 14:59:58 +02:00
Viktor Trón
0bf3065fb4
Merge pull request #17771 from ethersphere/cmd-config-errors
...
swarm: handle errors in cmdLineOverride and envVarsOverride
2018-10-02 09:31:44 +02:00
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
Viktor Trón
83116a3479
Merge pull request #17799 from ethersphere/correct_swarm_version
...
cmd/swarm: correct swarm version on --help
2018-10-02 08:02:30 +02:00
Anton Evangelatov
634e963f02
cmd/swarm: disable export and upload tests on Windows
2018-10-01 13:41:47 +02:00
Alexey Sharov
dc5d643bb5
cmd/swarm, swarm: cross-platform Content-Type detection ( #17782 )
...
- Mime types generator (Standard "mime" package rely on system-settings, see mime.osInitMime)
- Changed swarm/api.Upload:
- simplify I/O throttling by semaphore primitive and use file name where possible
- f.Close() must be called in Defer - otherwise panic or future added early return will cause leak of file descriptors
- one error was suppressed
2018-10-01 13:39:39 +02:00
Anton Evangelatov
9a749dcde5
cmd/swarm: correct swarm version on --help
2018-10-01 13:28:07 +02:00
parmarrushabh
9f5cba7dc7
update new set of masternodes at end of each epoch (distance = m1Gap)
2018-09-30 12:00:33 +05:30
Wenbiao Zheng
01d9f29805
cmd/swarm: remove swarm binary ( #17784 )
2018-09-29 22:15:32 +02:00
Ferenc Szabo
d9e324a331
cmd/swarm: respect --loglevel in run_test helpers ( #17739 )
...
When CLI tests were spanning new nodes, the log level verbosity was
hard coded as 6. So the Swarm process was always polluting the test
output with TRACE level logs.
Now `go test -v ./cmd/swarm -loglevel 0` works as expected.
2018-09-28 22:49:15 +02:00