Commit Graph

1487 Commits

Author SHA1 Message Date
Crypto City
07af33b237 core: fix --block-sync-size 2020-07-24 15:36:50 +00:00
Crypto City
e762925a34 tx_pool: ensure we don't add two dependent build commands in a block 2020-07-06 16:14:08 +00:00
Crypto City
77e4b7e359 blockchain: update block 1 tag 2020-06-30 11:44:51 +00:00
Crypto City
f6af276e28 Revert "tx_pool: temporary crash if we can't get a batch txn"
This reverts commit 422f80ff86.
2020-06-29 22:16:08 +00:00
Crypto City
c86f0826ce tx_pool: print spammy error only once 2020-06-29 22:16:08 +00:00
Crypto City
eefd589d20 mine all txes in offline mode 2020-06-29 22:16:08 +00:00
Crypto City
6ed94ef015 tx_pool: don't complain about timed out txes, just ignore them 2020-06-29 22:16:08 +00:00
Crypto City
422f80ff86 tx_pool: temporary crash if we can't get a batch txn
It'll trigger if db corruption would ensue
2020-06-24 09:27:35 +00:00
Crypto City
9eeea486e5 cryptonote_core: fix db state corruption
When updating the block template after receiving a block,
the txpool speculative txn ends up reusing the syncing txn,
which means the abort doesn't actually abort, and the db
ends up with the speculative actions committed.
2020-06-24 09:25:47 +00:00
Crypto City
f2586853ee tx_pool: print txid we failed to find meta for 2020-06-22 22:24:58 +00:00
Crypto City
6ef6c7b381 tx_pool: also mine local txes in test mode 2020-06-22 22:15:13 +00:00
moneromooo-monero
80174b8248 tx_pool: mine stem txes in fake chain mode
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-06-21 01:18:30 +00:00
Crypto City
3e05ee54fe tx_pool: do not allow more than one (non kept by block) hunt command at once 2020-06-21 01:18:30 +00:00
Crypto City
3af15d65e0 blockchain: return txes to the txpool when actions fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
9a5e85e35a cryptonote_core: do not sync more than a randomx epoch at once 2020-06-21 01:18:29 +00:00
Crypto City
2b1dce37e6 tx_pool: only allow one research command per discovery per block
The results of a research command are not known yet at the time
a block is filled with transactions
2020-06-21 01:18:29 +00:00
Crypto City
93e1def31d blockchain: log commands that fail to execute 2020-06-21 01:18:29 +00:00
Crypto City
75516e6e34 core: fix mining from a block that's not the current top 2020-06-21 01:18:29 +00:00
Crypto City
a767fb4d4e tx_pool: fix potential exception filling a block template 2020-06-14 23:43:31 +00:00
Crypto City
e394496fca blockchain: add popped txes in original order
since it matters for townforge due to dependencies within a block
2020-06-14 23:43:31 +00:00
Crypto City
a8c61ebb81 tx_pool: copy insert_key_images dandelion changes to insert_cc_nonces 2020-06-14 23:43:30 +00:00
Crypto City
b39bc5406f cryptonote_core: fix incoming tx sorting 2020-06-14 23:43:30 +00:00
Crypto City
0ae6f713fb blockchain: empty builtin hashes 2020-05-31 11:51:22 +00:00
Crypto City
2a90a3df6b fixes after merge 2020-05-31 00:41:03 +00:00
Crypto City
396157b032 Merge remote-tracking branch 'origin/master' into cc 2020-05-30 18:55:11 +00:00
Crypto City
81e8a19880 remove unused/unneeded captures 2020-05-29 23:20:51 +00:00
Crypto City
7ad4e2dc78 tx_pool: remove txes when the parentage chain is too long 2020-05-29 23:20:50 +00:00
Crypto City
c22e54b850 unlock_time is now valid only for coinbase txes 2020-05-29 23:20:50 +00:00
Crypto City
2e2b08830b blockchain: change block 1 tag 2020-05-29 23:20:50 +00:00
Crypto City
1e96286164 only mine txes that are valid as a set 2020-05-29 23:20:49 +00:00
Crypto City
81bb7a114d tx_pool: better error reporting when a command conflicts 2020-05-29 23:20:49 +00:00
Crypto City
ce07516176 mine only one tx per account per block 2020-05-29 23:20:49 +00:00
Crypto City
28fd762094 tx_pool: conflict multiple redemption of the same invitation 2020-05-29 23:20:49 +00:00
Crypto City
69eba00a96 tx_pool: only accept a public key once when creating accounts 2020-05-29 23:20:49 +00:00
Crypto City
cfcae9094d claim cost in firefighting, flag resizing and city founding 2020-05-29 23:20:49 +00:00
Crypto City
2f77fc4051 invitations 2020-05-29 23:20:49 +00:00
Crypto City
a76e62f22c core: sign create_aaccount commands too
with the new pubkey, to prove we know it
2020-05-29 23:20:49 +00:00
Crypto City
6a18101b1a add invitation system 2020-05-26 16:22:42 +00:00
luigi1111
77a008f714
Merge pull request #6510
70609d7 cryptonote_core: take out the time based upgrade warning (moneromooo-monero)
2020-05-07 10:44:34 -05:00
moneromooo-monero
70609d7681
cryptonote_core: take out the time based upgrade warning
It doesn't really work anymore since we don't have a fork soon
2020-05-06 18:27:23 +00:00
luigi1111
0f233c6ad8
Merge pull request #6478
ee58362 Used legacy category to match insert_key_images behavior (vtnerd)
2020-05-06 00:27:13 -05:00
luigi1111
483e5cab5c
Merge pull request #6472
2efbd5f cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
2020-05-06 00:25:18 -05:00
luigi1111
1f505a5eac
Merge pull request #6468
a813c46 cryptonote_core: skip dns checkpoints on startup if not enforced (xiphon)
2020-05-06 00:22:20 -05:00
luigi1111
443f5c6bda
Merge pull request #6436
688a3e8 Add timelock verification on device (cslashm)
2020-05-01 15:20:05 -05:00
Sumo Gr
dd807b8410 txpool.cpp: rename var to fix for old g++ version (xenial default) 2020-04-29 10:03:51 +00:00
Lee Clagett
ee58362b1f Used legacy category to match insert_key_images behavior 2020-04-24 20:19:37 -04:00
Crypto City
63c50b5c08 from monero 2020-04-22 17:16:55 +00:00
moneromooo-monero
2efbd5f0cc
cryptonote: fix reuse of non default tx data when relaying
An automatic tx variable is initialized properly on the first
run through the loop, but not the second. Moving the variable
inside the loop ensures the ctor is called again to init it.
2020-04-22 16:50:20 +00:00
Crypto City
1654f43ffc blockchain: revert all game events on pop, not just game update ones 2020-04-21 17:40:25 +00:00
xiphon
a813c46a1b cryptonote_core: skip dns checkpoints on startup if not enforced 2020-04-20 18:56:22 +00:00