DinhLN
3b16fb98d5
Fixed minimum gas used when deploy SMC.
2019-01-04 11:17:24 +07:00
DinhLN
76d557c4dd
Fixed bug not validate zero gas price for tx deploy SMC.
2018-12-25 14:19:06 +07:00
etienne-napoleone
7623d5660a
update logging
...
Downgrade some errors to warn
Replace a fmt by info
close #269
close #349
2018-12-18 17:08:37 +07:00
Nguyen Ba Tam
8bcb58b070
check nonce special transaction before promote
2018-12-10 09:41:25 +07:00
Nguyen Ba Tam
33ddb251ef
Parallel process block from fetcher
2018-12-10 09:40:15 +07:00
Nguyen Ba Tam
1e930fdb95
refactor RW & pairRW connect for block , transaction
2018-12-10 09:39:24 +07:00
Tuna
1a46b4e618
Merge pull request #273 from nguyenbatam/fix_err_add_sign_tx_to_pool
...
fix error transaction underpriced when add sign tx to pool
2018-11-27 14:22:15 +07:00
Nguyen Ba Tam
2ef491ea4e
change difficulty block in posv
2018-11-21 09:19:52 +07:00
Nguyen Ba Tam
4b00409b8f
fix error transaction underpriced when add sign tx to pool(full)
2018-11-14 16:34:49 +07:00
Nguyen Ba Tam
2006e3240a
limit max threshold nonce in queue
2018-11-10 10:42:46 +07:00
Nguyen Ba Tam
1afaa5f89e
move from SubscribeTx to Subscribe Special Tx in Double Validate
2018-10-23 17:40:38 +07:00
Tuna
959dbec5a6
Revert "Revert "adding double validation layer""
2018-10-23 11:37:57 +07:00
Tuna
740e6076e5
fix after reviewing
2018-10-23 10:07:02 +07:00
Nguyen Ba Tam
bcfb59fe14
Broadcast special Tx through pairRW
2018-10-23 10:02:48 +07:00
Tuna
0f8092389c
Revert "adding double validation layer"
2018-10-12 09:49:37 +07:00
Tuna
247b7bef90
Merge pull request #180 from nguyenbatam/optimize_insert_new_block
...
Optimize insert new block
2018-10-10 11:24:52 +07:00
Tuna
6259641448
init double validation layer
2018-10-09 18:15:55 +07:00
Tuna
6783932836
Revert "Revert "Randomization implementation""
2018-10-05 14:58:48 +07:00
Tuna
c0a5890379
Revert "Randomization implementation"
2018-10-05 10:47:50 +07:00
DinhLN
ec764859fd
Get randomize m2 offer from validators in smart contract.
...
Fixed get and build randomize for m2 from smart contract.
Fixed get m2 list from smart contract randomize.
2018-10-04 10:15:52 +07:00
Nguyen Ba Tam
042376daf2
concurrence init messages from transactions when insert block
...
update number worker base on numberCPU
make up code
prepare cache signer when insert new block and before addTx to pool
fix some error
fix some error
2018-09-26 14:02:42 +07:00
DinhLN
f2fb32a046
Fixed prevent tx zero gas price add to tx pool.
2018-08-10 11:50:40 +07:00
dinhln89
458bb39287
Hot fixed for bug can't deploy smart contract to master node.
2018-06-19 14:31:17 +07:00
dinhln89
11aad42050
Fixed go lint.
2018-06-13 16:12:07 +07:00
dinhln89
524653abf6
Add feature send tx sign (validator block) from coinbase to smart contract signer after insert block into chain.
2018-06-12 17:54:31 +07:00
Péter Szilágyi
2b5d1a4a4c
core: update txpool tests for the removal fix
2018-03-07 10:58:11 +02:00
cui
f8601430fd
core: should enqueue the invalids tx anyway
...
even the pending is empty we shoud enqueue the invalid txs
2018-03-07 10:07:50 +02:00
Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
2018-02-23 11:56:08 +02:00
Péter Szilágyi
6f69cdd109
all: switch gas limits from big.Int to uint64
2018-01-03 14:45:35 +02:00
Péter Szilágyi
7138de7b55
core: silence txpool reorg warning (annoying on import) ( #15725 )
2017-12-21 10:20:10 +02:00
Kurkó Mihály
b4cf57a581
core: fix typos ( #15720 )
2017-12-20 19:08:51 +02:00
Péter Szilágyi
5e1581c2c3
core: fix panic when stat-ing a tx from a queue-only account ( #15714 )
2017-12-20 12:34:43 +02:00
ferhat elmas
9619a61024
all: gofmt -w -s ( #15419 )
2017-11-08 11:45:52 +01:00
Péter Szilágyi
0095531a58
core, eth, les: fix messy code ( #15367 )
...
* core, eth, les: fix messy code
* les: fixed tx status test and rlp encoding
* core: add a workaround for light sync
2017-10-25 12:18:44 +03:00
Felföldi Zsolt
ca376ead88
les, light: LES/2 protocol version ( #14970 )
...
This PR implements the new LES protocol version extensions:
* new and more efficient Merkle proofs reply format (when replying to
a multiple Merkle proofs request, we just send a single set of trie
nodes containing all necessary nodes)
* BBT (BloomBitsTrie) works similarly to the existing CHT and contains
the bloombits search data to speed up log searches
* GetTxStatusMsg returns the inclusion position or the
pending/queued/unknown state of a transaction referenced by hash
* an optional signature of new block data (number/hash/td) can be
included in AnnounceMsg to provide an option for "very light
clients" (mobile/embedded devices) to skip expensive Ethash check
and accept multiple signatures of somewhat trusted servers (still a
lot better than trusting a single server completely and retrieving
everything through RPC). The new client mode is not implemented in
this PR, just the protocol extension.
2017-10-24 15:19:09 +02:00
Péter Szilágyi
0e7d019e0e
core: fire tx event on replace, expand tests
2017-10-20 14:42:19 +03:00
Péter Szilágyi
cc313e78b7
core: use blocks and avoid deep reorgs in txpool
2017-09-05 19:50:29 +03:00
Péter Szilágyi
da7d57e07c
core: make txpool operate on immutable state
2017-09-05 13:34:41 +03:00
Miya Chen
bf1e263128
core, light: send chain events using event.Feed ( #14865 )
2017-08-18 12:58:36 +02:00
Péter Szilágyi
1c45f2f42e
core: fix txpool journal and test races
2017-08-08 12:22:01 +03:00
Péter Szilágyi
3d32690b54
cmd, core, eth: journal local transactions to disk ( #14784 )
...
* core: reduce txpool event loop goroutines and sync structs
* cmd, core, eth: journal local transactions to disk
* core: journal replacement pending transactions too
* core: separate transaction journal from pool
2017-07-28 15:09:39 +02:00
Péter Szilágyi
34ec9913f6
core: test locals support in txpool queue limits, fix
...
The commit reworks the transaction pool queue limitation tests
to cater for testing local accounts, also testing the nolocal flag.
In addition, it also fixes a panic if local transactions exceeded
the global queue allowance (no accounts left to drop from) and also
fixes queue eviction to operate on all accounts, not just the one
being updated.
2017-07-06 11:51:59 +03:00
Péter Szilágyi
88b4fe7d21
core: handle nolocals during add, exepmt locals from expiration
2017-07-05 17:16:42 +03:00
Péter Szilágyi
5e38f7a664
cmd, core: add --txpool.nolocals to disable local price exemptions
2017-07-05 17:06:05 +03:00
Péter Szilágyi
48ee7f9de7
core, eth, les: polish txpool API around local/remote txs
2017-07-05 16:51:55 +03:00
Martin Holst Swende
a633a2d7ea
core: Prevent local tx:s from being discarded
2017-06-30 22:55:10 +02:00
Martin Holst Swende
67aff49822
core: Change local-handling to use sender-account instead of tx hashes
2017-06-30 22:43:26 +02:00
Péter Szilágyi
eebde1a2e2
core: ensure transactions correctly drop on pool limiting
2017-06-22 21:03:54 +03:00
Martin Holst Swende
b0b3cf2eeb
core: add testcase for txpool
2017-06-22 20:36:07 +03:00
Péter Szilágyi
cba33029a8
core: only reorg changed account, not all
2017-05-31 23:26:24 +03:00