Crypto City
77e4b7e359
blockchain: update block 1 tag
2020-06-30 11:44:51 +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
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
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
0ae6f713fb
blockchain: empty builtin hashes
2020-05-31 11:51:22 +00:00
Crypto City
396157b032
Merge remote-tracking branch 'origin/master' into cc
2020-05-30 18:55:11 +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
ce07516176
mine only one tx per account per block
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
1654f43ffc
blockchain: revert all game events on pop, not just game update ones
2020-04-21 17:40:25 +00:00
Crypto City
bf738e7524
cc: extend the db to store all game events, not just game update ones
2020-04-11 19:02:00 +00:00
luigi1111
7954f8cb18
Merge pull request #6358
...
8958b4e
blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
2020-04-10 16:01:37 -05:00
luigi1111
44547006bf
Merge pull request #6347
...
fcb06f7
cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
2020-04-04 12:52:46 -05:00
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
2020-04-04 12:47:31 -05:00
Crypto City
b11e194565
blockchain: require the mayor to mine the first block
...
Rather than the game account, to ensure the bootstrap town square
does not go poof at the first game update due to no money for tax
2020-04-03 22:07:34 +00:00
Alexander Blair
aa982a51da
Merge pull request #6284
...
02224e71
Fix check_fee() discrepancy. (UkoeHB)
2020-03-27 12:21:26 -07:00
Alexander Blair
4da37daf67
Merge pull request #6211
...
5985c5af
rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
2020-02-28 19:36:16 -08:00
moneromooo-monero
8958b4e7aa
blockchain_db: faster fetching of consecutive txes
...
Useful for wallet refresh or node sync
2020-02-27 15:05:34 +00:00
xiphon
fcb06f7a82
cryptonote_core: skip block notify on blockchain switching rollback
2020-02-19 16:19:29 +00:00
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
2020-02-17 11:55:15 -05:00
Crypto City
902fa67635
blockchain: enable block 1 check again
2020-02-09 15:41:24 +00:00
Crypto City
5f42d3641a
automatic match commands
2020-02-09 15:41:07 +00:00
luigi1111
d7aeb5a9f8
Merge pull request #6233
...
8a27645
blockchain: fix flushing txes from the txpool (moneromooo-monero)
2020-02-04 14:38:35 -05:00
Crypto City
ee2246d5d0
blockchain: disable block 1 for now
2020-01-31 23:28:38 +00:00
Crypto City
2b55564405
blockchain: guard against large pre-start chain reorg
2020-01-28 15:05:21 +00:00
Crypto City
4183745da4
add price limit for accrual trades
2020-01-28 15:05:21 +00:00
Alexander Blair
8eedc8a390
Merge pull request #6140
...
08635a08
blockchain: speedup fetching pruned contiguous tx blobs (moneromooo-monero)
2020-01-25 16:55:18 -08:00
Crypto City
fb9e5297e8
auto updating trade prices
...
A trade order can be set to update its price every game update,
allowing auctions of sorts
2020-01-24 15:49:34 +00:00
Alexander Blair
c4abfbfbe7
Merge pull request #6124
...
21d4c216
blockchain: error out if the builtin hashes data size is wrong (moneromooo-monero)
2020-01-16 17:31:35 -08:00
UkoeHB
02224e714d
Fix check_fee() discrepancy.
...
M100 = max{300kb, min{100block_median, m_long_term_effective_median_block_weight}}
not
M100 = max{300kb, m_long_term_effective_median_block_weight}
Fix base reward in get_dynamic_base_fee_estimate().
get_dynamic_base_fee_estimate() should match check_fee()
Fee is calculated based on block reward, and the reward penalty takes into account 0.5*max_block_weight (both before and after HF_VERSION_EFFECTIVE_SHORT_TERM_MEDIAN_IN_PENALTY).
Moved median calculation according to best practice of 'keep definitions close to where they are used'.
2020-01-09 09:11:09 -06:00
Crypto City
559c5f7b2e
fix issues with game update event cache and tests
2020-01-03 16:27:51 +00:00
Crypto City
1d8d178f36
blockchain: constrain the large coinbase tx allowance conditions
2020-01-03 15:23:14 +00:00
Crypto City
c13754532c
Remove the unused "commit" version of game update creation
2020-01-01 16:33:15 +00:00
Crypto City
2fa0400d72
Fixups after monero rebase, and fix tests after other recent changes
2019-12-14 16:40:46 +00:00
moneromooo-monero
8a276451b2
blockchain: fix flushing txes from the txpool
2019-12-14 02:13:39 +00:00
Crypto City
d54f907d43
add game subsidy
2019-12-13 01:32:49 +00:00
Crypto City
761d212b53
cc: save events to the db
...
This makes them retrievable from a snapshot, after a restart,
and after a reorg that crosses a game update
2019-12-13 01:31:25 +00:00
Crypto City
3e41959825
players can now select a name when creating an account
2019-12-13 01:31:25 +00:00
Crypto City
c9616f7f83
better error reporting when submitting invalid commands
2019-12-13 01:31:04 +00:00
Crypto City
ac22b43e79
blockchain: fix get_output_distribution assuming monero forks
2019-12-13 01:28:54 +00:00
Crypto City
1bc506271e
blockchain: fix crash in init
2019-12-13 01:28:54 +00:00
Crypto City
70b4a8f594
Fixes after rebasing onto latest monero
2019-12-13 01:27:46 +00:00
Crypto City
02607cbc32
blockchain: verify game update command in miner tx
2019-12-13 01:21:44 +00:00
Crypto City
329ae07c49
blockchain: fix core tests for pre-v12 blocks
2019-12-13 01:21:44 +00:00
Crypto City
4269143cd9
blockchain: allow large blocks, if they're due to the coinbase tx
...
Game update txes might get large
2019-12-13 01:21:44 +00:00
Crypto City
346f3e9791
game update
2019-12-13 01:21:04 +00:00