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
Crypto City
a0b6a6e8aa
add a dice roll command, for use in story/roleplaying
2020-04-10 01:51:27 +00:00
cslashm
688a3e87e7
Add timelock verification on device
2020-04-08 11:12:32 +02:00
Crypto City
287fd9cfd1
Add player attributes for storytelling/role playing purposes
2020-04-08 00:15:51 +00: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
luigi1111
0bb7191fd6
Merge pull request #6328
...
9bde70e
core: mention time being off in hash rate changes message (moneromooo-monero)
2020-04-04 12:40:18 -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
luigi1111
6c7d928f19
Merge pull request #6336
...
760ecf2
console_handler: do not let exception past the dor (moneromooo-monero)
09c8111
threadpool: lock mutex in create (moneromooo-monero)
e377977
tx_pool: catch theoretical error in get_block_reward (moneromooo-monero)
2020-03-31 15:14:12 -05:00
luigi1111
096e2135dd
Merge pull request #6214
...
054b4c7
protocol: request txpool contents when synced (moneromooo-monero)
2020-03-31 13:32:55 -05:00
Lee Clagett
571546067f
Always reject duplicate key-images from second txid
2020-03-30 17:52:42 +00:00
Lee Clagett
babf25d2ec
Allow unrestricted rpc calls to get full txpool info
2020-03-30 17:52:42 +00:00
Alexander Blair
8cb005b39c
Merge pull request #6289
...
ffe7165e
wallet: reroll fake outs selection on local tx_sanity_check failure (xiphon)
2020-03-27 12:28:29 -07:00
Alexander Blair
aa982a51da
Merge pull request #6284
...
02224e71
Fix check_fee() discrepancy. (UkoeHB)
2020-03-27 12:21:26 -07:00
Alexander Blair
a22cf5de1b
Merge pull request #6275
...
aa93e388
p2p: remove old debug commands (Aaron Hook)
2020-03-27 12:16:30 -07:00
Lee Clagett
02d887c2e5
Adding Dandelion++ support to public networks:
...
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode
- Stem loops detected in tx_pool.cpp
- Embargo timeout for a blackhole attack during stem phase
2020-03-26 15:01:30 +00:00
luigi1111
228af683a7
Merge pull request #6403
...
5de2295
Correct key image check in tx_pool (vtnerd)
2020-04-10 16:10:33 -05: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
moneromooo-monero
054b4c7f41
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
2020-03-22 16:03:31 +00:00
Aaron Hook
aa93e38862
p2p: remove old debug commands
2020-03-20 22:09:44 -07:00
Crypto City
39163c168a
Event badges can now be awarded after creation
2020-03-20 19:27:51 +00:00
Crypto City
2882f6bc80
badges
2020-03-20 19:27:51 +00:00
Crypto City
8d3fbb1727
Add ignore machinery
2020-03-20 19:27:51 +00:00
Lee Clagett
5de2295f3c
Correct key image check in tx_pool
2020-03-14 19:17:15 +00:00
moneromooo-monero
f8d76f395b
core: move the LockedTXN class out of txpool so it may be reused
...
for example, in the RPC server
2020-03-12 11:30:05 +00:00
Alexander Blair
4371ac4265
Merge pull request #6225
...
987c3139
print_coinbase_tx_sum now supports 128 bits sums (moneromooo-monero)
2020-02-28 19:48:11 -08: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
Crypto City
ad356a3bed
tx_pool: do not flush trade txes if they've not expired yet
2020-02-22 14:17:21 +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
c9752a0b3d
some s/monero/townforge/ where appropriate
2020-02-14 13:19:03 +00:00
moneromooo-monero
e3779775d7
tx_pool: catch theoretical error in get_block_reward
...
Coverity 196626
2020-02-12 21:05:28 +00:00
moneromooo-monero
9bde70e567
core: mention time being off in hash rate changes message
2020-02-10 16:56:10 +00: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
Alexander Blair
e552ba14b2
Merge pull request #6127
...
67b4a19e
simplewallet: noob-friendly help menu (wowario)
2020-02-06 00:33:31 -08:00
Alexander Blair
2532567091
Merge pull request #6078
...
b9fc2066
Add a --keep-fakechain option to keep fakechain databases (JamesWrigley)
2020-02-06 00:30:15 -08:00
Alexander Blair
9a08ac98c0
Merge pull request #6050
...
65301c40
core: point out when we hit the block rate visibility limit (moneromooo-monero)
2020-02-06 00:28:18 -08: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
623bc266ca
tx_pool: fix tracking of city/flag trade commands
2020-01-25 23:17:44 +00:00
Crypto City
5a4d63f5f1
cc: new match command, matches trades without trading itself
...
This will be useful for trade ussing accrual
2020-01-25 22:18:04 +00:00
Alexander Blair
d1b08c00cf
Merge pull request #6146
...
70c9cd3c
Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
2020-01-24 20:06:34 -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
Crypto City
df17dcdcda
name binaries and relevant files townforge*
2020-01-24 15:49:34 +00:00
Crypto City
d68801f026
Allow trading cities
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
xiphon
ffe7165ebf
wallet: reroll fake outs selection on local tx_sanity_check failure
2020-01-14 22:56:23 +00: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
e9afc00504
core: add txes to the txpool in parentage order
2020-01-04 13:51:23 +00:00
Crypto City
4b5e70d283
tx_pool: add some debug logs on ready checks
2020-01-04 13:51:23 +00: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
7e4fe631d5
allow large game update commands
2020-01-01 15:14:16 +00:00
Crypto City
87122879af
tx_pool: always send receive time for chat game txes
2019-12-27 19:23:33 +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
moneromooo-monero
618338363a
protocol: request txpool contents when synced
...
A newly synced Alice sends a (typically quite small) list of
txids in the local tpxool to a random peer Bob, who then uses
the existing tx relay system to send Alice any tx in his txpool
which is not in the list Alice sent
2019-12-13 01:31:56 +00:00
Crypto City
b80c323d42
remove some obsolete code
2019-12-13 01:31:25 +00:00
Crypto City
9de3148dd9
Add in-game chat through non-mineable txpool transactions
2019-12-13 01:31:25 +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
8f613351ec
daemon: print cc command type in print_pool_sh
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
a2ff11aee3
rpc: CC locking fix
2019-12-13 01:21:44 +00:00
Crypto City
346f3e9791
game update
2019-12-13 01:21:04 +00:00
Crypto City
0a2797fea5
blockchain: remove some obsolete code
2019-12-13 01:20:37 +00:00
Crypto City
3b318b5bf4
more work on trade command
2019-12-13 01:20:37 +00:00
Crypto City
4d351a682a
more work on trade command
2019-12-13 01:20:37 +00:00
Crypto City
5face5e4c6
more work on trade command - accept only one trade for the same flag
2019-12-13 01:19:10 +00:00
Crypto City
39cfbb1c2d
tx_pool: remove obsolete code
2019-12-13 01:19:10 +00:00
Crypto City
fc3bcb1533
tx_pool: flush txes with unknown parent
2019-12-13 01:19:10 +00:00
Crypto City
35a15567fe
more work on trade command
2019-12-13 01:19:10 +00:00
Crypto City
1979fa16ee
more work on trade command
2019-12-13 01:19:10 +00:00
Crypto City
2c4d9aa8ab
more work on trade command
2019-12-13 01:19:10 +00:00
Crypto City
32f6fe1f8e
don't use the wallet keys for CC, but a derived key, for privacy
2019-12-13 01:19:10 +00:00
Crypto City
fad8355a7e
add functional tests, a few fixes, and a cc_get_info wallet rpc
2019-12-13 01:18:57 +00:00
Crypto City
b36dba06b3
more work on trade commands
2019-12-13 01:18:57 +00:00
Crypto City
b791566140
trade command, and command overhaul it required
2019-12-13 01:18:19 +00:00
Crypto City
b188f4636d
more work on game update command
2019-12-13 01:14:17 +00:00
Crypto City
408fb7b456
preliminary code to allow game commands in coinbase txes
2019-12-13 01:12:39 +00:00
Crypto City
0a4ceb808a
tx_pool: don't leave some txes in the pool without ever rechecking them
2019-12-13 01:12:39 +00:00
Crypto City
3ae27245b7
add nonce/parent in rpc
2019-12-13 01:11:39 +00:00
Crypto City
0ec9932a1f
parent wip
2019-12-13 01:11:39 +00:00
Crypto City
d134c0599b
adjust core tests after taking owned blocks into account when building
2019-12-13 01:10:16 +00:00
Crypto City
917dcd5485
build command
2019-12-13 01:10:16 +00:00
Crypto City
7b6648b77c
buy_land core tests
2019-12-13 01:09:15 +00:00
Crypto City
81ef8e6104
add buy_land wallet command
2019-12-13 01:09:15 +00:00