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