Crypto City
22bc59cb06
remove unused BlockchainDB method
2021-08-21 14:44:33 +00:00
Crypto City
19b9af508f
functional_tests: some more trader order book tests
2021-08-21 14:44:33 +00:00
selsta
573a0255a8
core_tests: remove unused typedef, fix warning
2021-08-19 15:57:13 +02:00
Crypto City
83ebf8aad4
improve third party matching
2021-08-18 22:38:51 +00:00
Crypto City
f73670b90a
db_tests: add cc_trade_used tests
2021-08-17 13:02:14 +00:00
Crypto City
9079a293d0
functional_tests: fix fire test sometimes breaking
2021-08-16 10:36:46 +00:00
Crypto City
c0e0f7302d
core_tests: fix after txpool changes
2021-08-15 18:22:19 +00:00
Crypto City
64bd5a503b
unit_tests: fix buy_land test after integer overflow fix
2021-08-15 16:17:43 +00:00
Crypto City
5db3e646af
make potential/height functions safer
2021-08-12 11:01:36 +00:00
Crypto City
5206ea2ec3
fix hunts conflicting with each other
2021-08-12 11:01:35 +00:00
Crypto City
b5f7cd94af
functional_tests: fix firefighting test
2021-08-12 11:01:35 +00:00
Crypto City
88c2c3d68a
do not consider commands with bad signatures in chat/pending
...
These are probably from another chain, or malicious, though
they could be due to a reorg
2021-08-12 11:01:35 +00:00
luigi1111
82149bfe44
Merge pull request #7818
...
9c8e3e8
unit_tests: fix broken tests (anon)
2021-08-11 22:40:13 -04:00
luigi1111
521b4d9ded
Merge pull request #7809
...
7354ffb
p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:35:15 -04:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 17:29:25 +00:00
mj-xmr
b2c59af84d
EasyLogging++: new anti-UB test and propagating exception
2021-08-03 17:10:21 +02:00
anon
9c8e3e832e
unit_tests: fix broken tests
...
boosted_tcp_server: check condition before sleep too
cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
2021-07-28 13:38:24 +00:00
Crypto City
ca01aa2221
functional_tests: add basic tests for firefighting
2021-07-23 09:10:52 +00:00
Crypto City
42f430cf08
functional_tests: test derelict buildings
2021-07-20 19:41:53 +00:00
Crypto City
5e1f9e4b8b
wallet2: default to not encrypt keys in memory - faster
...
For a game, it's the better tradeoff
2021-07-19 11:51:19 +00:00
Crypto City
21676e11be
functional_tests: add tests for cc_is_invitation_used
2021-07-07 19:58:22 +00:00
Crypto City
5c29d4356c
fix hunting allowing an empty building as condition
2021-07-06 20:50:44 +00:00
Crypto City
da83f01ff4
make dividend command more flexible
...
it can optionally distribute to unowned items only, as well as
pay per item rather than split
2021-07-06 12:52:33 +00:00
mj-xmr
5e6762d459
EasyLogging++: Add UTests, that protect against regressions
2021-07-06 06:50:52 +02:00
Crypto City
ea37a84d86
functional_tests: fix city spec tests failing due to too high level
2021-07-05 16:33:54 +00:00
Crypto City
7d55777ba9
pass hard fork version to cc command check/execute/revert
2021-07-05 13:55:19 +00:00
Crypto City
3536b1d36a
some things are now affected by how much a flag is south oriented
2021-07-05 00:49:36 +00:00
Crypto City
0e49625986
bonus/penalties based on average flag slope
2021-07-03 15:40:49 +00:00
Crypto City
0eef676e97
unit_tests: add a test for discovery prerequisites
2021-06-27 10:27:32 +00:00
Crypto City
bf5e9909d2
fix inventory bug with mortgages that mature while being auctioned
2021-06-24 08:50:19 +00:00
Crypto City
1928507a29
functional_tests: fix auction bid fee
2021-06-24 08:49:53 +00:00
moneromooo-monero
4251cc0b4d
unit_tests: check for ge_frombytes_vartime failure
...
CID 1446559
2021-06-11 07:51:45 +00:00
luigi1111
7499837a6f
Merge pull request #7661
...
08e4497
Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-10 12:00:54 -05:00
Crypto City
2553304690
unit_tests: remove leftover noisy trace
2021-06-08 12:59:17 +00:00
Crypto City
7ffaf6d3ae
double spendable age to 20
2021-06-03 07:40:21 +00:00
luigi1111
08726ff0f3
Merge pull request #7723
...
3450f4b
Doc: funtional_tests add new mining env vars and how to use them (mj-xmr)
2021-06-01 22:09:54 -05:00
luigi1111
fcb347820d
Merge pull request #7713
...
b40129e
Warnings: unused var in core_tests:chaingen.h (mj-xmr)
2021-06-01 22:08:40 -05:00
Crypto City
449ec733d3
event badges can now have a custom design
2021-05-29 12:32:20 +00:00
Crypto City
6eeea7ed94
coins can now have a custom graphic design
2021-05-29 12:32:20 +00:00
Crypto City
abe2314fad
unit_tests: fix redeem_account tests and add tests for pm keys
2021-05-29 12:32:20 +00:00
Crypto City
96d9ace308
port feather monero changes to townforge
2021-05-23 18:25:51 +00:00
Crypto City
135742961f
add logging/quarrying/maintenance discoveries
2021-05-14 17:22:13 +00:00
Crypto City
5342a8e62c
fix tests and game after placeholder pm keys addition
2021-05-14 17:22:13 +00:00
Crypto City
93c8da0b5c
cc: make all event logs use past tense
2021-05-14 16:40:36 +00:00
mj-xmr
3450f4bc04
Doc: funtional_tests add new mining env vars and how to use them
2021-05-14 11:27:56 +02:00
luigi1111
b7ee587ddb
Merge pull request #7691
...
cbd54ea
cmake: set 3.5 as minimum version (selsta)
2021-05-12 16:59:17 -05:00
luigi1111
342f8c8b97
Merge pull request #7690
...
3cc4428
clang: fix -Wpessimizing-move warning (selsta)
2021-05-12 16:58:34 -05:00
luigi1111
c1a1f2a6ea
Merge pull request #7688
...
451b5a5
clang: fix -Wrange-loop-analysis warnings (selsta)
2021-05-12 16:57:32 -05:00
mj-xmr
b40129e253
Warnings: unused var in core_tests:chaingen.h
2021-05-11 10:22:06 +02:00
Crypto City
cb4ee1182f
embed extra couple of pubkeys in account creation commands
...
to be used for messaging later
2021-05-07 10:14:59 +00:00
selsta
3cc4428d45
clang: fix -Wpessimizing-move warning
2021-04-28 11:33:37 +02:00
Crypto City
5057d39cda
decrease decay and repair costs, bump land tax a little
2021-04-27 18:39:05 +00:00
Crypto City
8249a86017
add badge for number of cities built in
2021-04-27 18:15:30 +00:00
Crypto City
0e3a6ba8c8
functional_tests: fix python3 compatibility
2021-04-27 18:15:30 +00:00
Crypto City
907636077e
functional_tests: more generous timeout for the large sync
2021-04-27 18:15:30 +00:00
Crypto City
514bec111b
store better info (counterparties, all flags/items, fee) in game events
...
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
a395ab3c37
remove various unused variables
2021-04-27 18:15:29 +00:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version
2021-04-27 11:02:05 +02:00
mj-xmr
6799e212cc
Tests: Mining test uses a parametric path for finding the calculation app
...
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27 06:21:02 +02:00
selsta
451b5a510e
clang: fix -Wrange-loop-analysis warnings
2021-04-27 05:30:27 +02:00
Crypto City
931773c40e
Merge remote-tracking branch 'origin/master' into cc
2021-04-24 13:46:11 +00:00
Crypto City
e8f35a87c8
halve block time for user friendliness in gameplay
2021-04-22 23:18:32 +00:00
luigi1111
0a1ddc2eff
Merge pull request #7669
...
679d055
Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
Crypto City
a6b5210c2f
increase tax increase min radius with city level
2021-04-21 13:56:25 +00:00
Crypto City
241b1edf69
add cartography discoveries, and tweak some discovery costs
2021-04-19 10:45:02 +00:00
Crypto City
aefb95a88b
new "playing with fire" badge
2021-04-18 19:23:47 +00:00
mj-xmr
dc81e23e60
Split epee/string_tools.h and encapsulate boost::lexical_cast
2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e
Revert "Merge pull request #7136 "
...
This reverts commit 63c7ca07fb
, reversing
changes made to 2218e23e84
.
2021-04-16 13:52:44 -05:00
luigi1111
d544fd0f52
Merge pull request #7653
...
73d3b00
unit_tests: fix boost 1.58 compatibility (anon)
2021-04-16 12:52:42 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
...
23aae55
Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
Crypto City
56155d4154
functional_tests: add more tests
2021-04-16 11:15:51 +00:00
Crypto City
618388ccab
items can now be auctioned
2021-04-15 11:12:21 +00:00
Crypto City
20256888e3
embed the block 1 tag in invitations and cc signatures
...
to ensure they're only valid in the chain they're created on
2021-04-12 18:06:59 +00:00
Crypto City
7eafb335b1
do not reuse flags, it only leads to mistakes in history
2021-04-12 13:48:34 +00:00
Crypto City
f2cf26638d
invitations can now be tied to a particular recipient address
2021-04-11 10:22:59 +00:00
Crypto City
8c4039aaf2
make it so redeemed invitations can't be hijacked by a miner
2021-04-10 18:29:39 +00:00
Crypto City
2392c7d372
functional_tests: add item ownership checks
2021-04-10 00:06:37 +00:00
Crypto City
42416063bf
fix historical temperature lookups ignoring special events
2021-04-10 00:06:37 +00:00
Crypto City
cf9246ab08
functional_tests: fix random failure in discoveries test
2021-04-10 00:06:37 +00:00
Crypto City
f1fd56f172
functional_tests: give a bit more leeway in wood stocks
2021-04-10 00:06:37 +00:00
anon
73d3b00b35
unit_tests: fix boost 1.58 compatibility
2021-04-08 11:45:27 +00:00
luigi1111
4834bd8aa0
Merge pull request #7646
...
176cea0
Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
2021-04-06 12:25:00 -05:00
luigi1111
1475236810
Merge pull request #7639
...
53683d7
Warnings: fix ut/levin.cpp missing braces (mj-xmr)
2021-04-06 12:24:29 -05:00
luigi1111
3c69596bc9
Merge pull request #7321
...
f9b5b52
fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:20:15 -05:00
Crypto City
71c42575fe
handle runestones properly on defaulted/derelict buildings
2021-04-06 10:46:37 +00:00
Crypto City
2eec2f6371
fix farming not being bothered by not having enough heating material
...
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
mj-xmr
176cea0ec6
Tests: Fix test node_server.bind_same_p2p_port from randomly crashing
2021-04-05 17:36:13 +02:00
Crypto City
dccf609e29
functional_tests: a mortgaged flag can't be demolished, given, traded
2021-04-04 19:42:38 +00:00
Crypto City
b5277a67ef
functional_tests: more runestone tests: demolish, remove blocks
2021-04-02 22:54:56 +00:00
Crypto City
1a8055684e
rpc: remove obsolete width/height in cc_demolish
2021-04-02 22:54:56 +00:00
Crypto City
6d5b0222cf
add runestone carving tests
2021-04-02 22:54:56 +00:00
Crypto City
c663b3b6b6
armour plate various commands' verification code
2021-04-02 15:17:28 +00:00
mj-xmr
45f01f577c
[CI] Adaptive mining timeout, depending on available CPU power
...
Printing also available RAM. Add comprehensive description.
2021-03-30 05:48:55 +02:00
luigi1111
b12e195fba
Merge pull request #7620
...
fe63256
cryptonote_protocol_handler: fix race condition (anon)
ded2f3a
cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:55:11 -04:00
luigi1111
a2b046dafc
Merge pull request #7460
...
2935a0c
async_protocol_handler_config: fix deadlock (anon)
c877705
async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:46:29 -04:00
Crypto City
f6d2d99537
unit_tests: fix build after get_harvest_amount change
2021-03-28 12:36:45 +00:00
mj-xmr
53683d7f90
Warnings: fix ut/levin.cpp missing braces
2021-03-27 09:26:44 +01:00
Crypto City
e3b256215f
functional_tests: add test for fractional amount of gold in item
2021-03-26 20:37:15 +00:00
Crypto City
6261344b9a
remove mime_type from custom items, and add gold content
2021-03-25 14:37:56 +00:00
Crypto City
5b2e27b2ad
functional_tests: fix accounting error
2021-03-25 13:54:24 +00:00
Crypto City
8354848ec8
custom item secondary descriptions can now be updated
2021-03-23 23:36:38 +00:00
Crypto City
20b806a964
rpc: add cc_is_custom_item_data RPC
2021-03-23 23:36:38 +00:00
anon
ded2f3aa85
cryptonote_protocol_handler: add race condition demo
2021-03-22 19:42:46 +00:00
mj-xmr
c836dc11c9
[CI] Use Python3 for funcional tests, instead of Python2
2021-03-20 10:30:57 +01:00
luigi1111
1707cab1a4
Merge pull request #7401
...
b5209a0
functional_tests: hide check_missing_rpc_methods behind requests check (moneromooo-monero)
2021-03-20 01:44:52 -04:00
luigi1111
7bf89dcbd3
Merge pull request #7005
...
249eae5
Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
2021-03-20 01:35:13 -04:00
luigi1111
8d7c1135b8
Merge pull request #6810
...
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
2021-03-20 01:33:10 -04:00
Crypto City
59da6694be
rpc: add a cc_get_predefined_item_info RPC
2021-03-13 19:50:44 +00:00
Crypto City
78bd013b0c
fix issues with city level determination
2021-03-13 18:03:58 +00:00
Crypto City
6be4416f10
functional_tests: fix occasional failure from tx misordering
2021-03-13 10:45:46 +00:00
Crypto City
afc4f6f913
new cc_get_item_ownership RPC and daemon command
2021-03-13 10:45:46 +00:00
Crypto City
b8d4836f2a
add optional hash and MIME type to custom items, and add cc_item_info command
2021-03-13 10:45:46 +00:00
Crypto City
3ffe13df7d
extra land tax for lots left empty for more than 10 days
2021-03-13 10:45:46 +00:00
anon
c877705a53
async_protocol_handler_config: add deadlock demo
2021-03-12 11:59:06 +00:00
moneromooo-monero
f9b5b521e8
fix serialization being different on mac
...
On Mac, size_t is a distinct type from uint64_t, and some
types (in wallet cache as well as cold/hot wallet transfer
data) use pairs/containers with size_t as fields. Mac would
save those as full size, while other platforms would save
them as varints. Might apply to other platforms where the
types are distinct.
There's a nasty hack for backward compatibility, which can
go after a couple forks.
2021-03-05 23:42:33 +00:00
moneromooo-monero
b5209a09d2
functional_tests: hide check_missing_rpc_methods behind requests check
2021-02-23 20:10:03 +00:00
anon
1b51d398fb
async_protocol_handler_config: add segfault demo
2021-02-19 22:27:28 +00:00
luigi1111
1614be4a41
Merge pull request #7371
...
1aecdcf
Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
2021-02-18 14:11:55 -05:00
luigi1111
6556c33f13
Merge pull request #7355
...
bd12984
Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9
Removing unused namespace alias (Lee Clagett)
2021-02-18 14:06:47 -05:00
luigi1111
906a62c6b2
Merge pull request #7352
...
a60d3d8
unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
2021-02-18 14:05:58 -05:00
luigi1111
ce5800a225
Merge pull request #7346
...
85db173
Remove unused variables in monero codebase (Kevin Barbour)
2021-02-18 14:03:31 -05:00
luigi1111
9f6dcbd568
Merge pull request #7308
...
df2f00f
boosted_tcp_server: fix connection lifetime (anon)
3833624
boosted_tcp_server: add segfault demo (anon)
2021-02-15 21:53:43 -05:00
mj-xmr
1aecdcf536
Increase timeout for the mining test 4 times (to 240s)
2021-02-11 13:42:43 +01:00
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining
2021-02-09 11:58:21 +00:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
mj-xmr
dc48de74e8
Reduce compilation time of epee/portable_storage.h
2021-02-06 08:18:42 +01:00
Crypto City
49faf95c40
fix flag destruction not keeping full state
2021-02-03 16:26:08 +00:00
Crypto City
56d5455d9b
functional_tests: fix some python2/python3 differences
2021-02-03 16:26:08 +00:00
Crypto City
d9e81d0c5b
cc: remove obsolete transportation discoveries
2021-02-03 16:26:08 +00:00
Lee Clagett
bd129849f0
Remove copies from foreach loops (thanks to Clang)
2021-01-28 23:42:40 -05:00
xiphon
a60d3d8ff7
unit_tests: fix wipeable_string parse_hexstr test with latest gtest
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
2021-01-27 13:04:08 +00:00
Lee Clagett
08e4497c6e
Improve cryptonote (block and tx) binary read performance
2021-01-23 06:23:39 +00:00
anon
3833624ab1
boosted_tcp_server: add segfault demo
2021-01-19 18:15:30 +01:00
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
2021-01-19 02:22:32 +00:00
Crypto City
4956a6aa5e
Merge remote-tracking branch 'origin/master' into cc
2021-01-18 01:33:53 +00:00
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
2021-01-16 22:53:28 +00:00
Crypto City
a4f6efb6db
add unlock levels for chat colours
2021-01-16 20:44:45 +00:00
Crypto City
e760d4b2ed
cc: remove pig farming discoveries
2021-01-16 20:44:45 +00:00
Crypto City
7e87bcc711
fix functional tests
2021-01-16 20:44:45 +00:00
Crypto City
8c3d9ff405
functional_tests: fix trade tests after matchable fix
2021-01-16 20:44:45 +00:00
luigi1111
7908f848a3
Merge pull request #7245
...
41dfa96
Split fuzz tests during fuzz build (Nym Seddon)
2021-01-15 23:51:23 -05:00
luigi1111
cb21ec30a4
Merge pull request #7149
...
0660db3
fuzz_tests: add a test for utf8canonical (moneromooo-monero)
2021-01-15 23:47:49 -05:00
Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc
Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:54:02 -08:00
Nym Seddon
41dfa96e5a
Split fuzz tests during fuzz build
...
Only build fuzz tests in a fuzz build, and don't build other tests.
Keeps fuzz compilers from instrumenting other tests, which are not fuzzed.
Resolves #7232
2021-01-01 09:09:28 +00:00
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
2020-12-27 14:41:19 +00:00
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
2020-12-27 00:18:05 -05:00
Alexander Blair
609dbe6b92
Merge pull request #7154
...
cf7e1571d
protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544
protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:40:36 -08:00
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
2020-12-22 20:54:16 +00:00
moneromooo-monero
b652d598d1
add a max levin packet size by command type
2021-01-03 14:07:45 +00:00
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6
Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2021-01-01 22:35:59 -08:00
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
2020-12-31 23:33:18 +00:00
Lee Clagett
187b4d7521
Restrict duplicate keys in epee binary format
2020-12-20 03:47:32 +00:00
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
2020-12-17 02:54:02 +00:00
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-17 00:36:10 +00:00
Lee Clagett
4978f69d7a
Fix byte_stream::put_n
2020-12-14 14:45:24 -05:00
moneromooo-monero
0660db3e7a
fuzz_tests: add a test for utf8canonical
2020-12-14 19:40:24 +00:00
Alexander Blair
28e5e42986
Merge pull request #7110
...
d660f22ed
protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10 17:41:59 -08:00
Alexander Blair
1e9483a2d5
Merge pull request #7009
...
7414e2bac
Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10 17:34:50 -08:00
Alexander Blair
6bddd54f9d
Merge pull request #7003
...
08eb0949f
Change to more efficient allocation strategy in byte_stream (Lee Clagett)
2020-12-10 17:33:50 -08:00
moneromooo-monero
d660f22ed1
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
2020-12-10 21:59:18 +00:00
Crypto City
f62f0b0c6c
cc: remove military bonus for production buildings
2020-12-07 11:53:00 +00:00
moneromooo-monero
5ed604fe5b
crypto: fix non zero scalar being 0 after reducing
2020-12-04 01:00:03 +00:00
Crypto City
f13cbdfd16
cc: decrease military influence and penalty
2020-12-03 18:56:38 +00:00
Crypto City
8599ef7f67
sort items before patents and gemstones
2020-12-01 12:54:08 +00:00
Crypto City
e4d77f0996
fix tests after building size balance changes
2020-11-30 16:45:16 +00:00
Crypto City
4810da6cd1
add a few more city specializations
2020-11-30 16:45:16 +00:00
Crypto City
0446bde62c
allow mayors to select who gets styling on runestone messages
2020-11-30 16:45:16 +00:00
Crypto City
1c1e2827e4
functional_tests: default to fast city test
2020-11-29 23:38:03 +00:00
Crypto City
c50b571fa9
allow the game account to enable/disable scripts
2020-11-29 23:38:03 +00:00
Crypto City
171858da4c
cc: balance changes
2020-11-29 23:38:02 +00:00
luigi1111
36d31ba0be
Merge pull request #7018
...
a9cd5d9
cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29 01:58:13 -06:00
luigi1111
c041550ffa
Merge pull request #6973
...
be84f67
Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29 01:54:43 -06:00
luigi1111
7a0334742a
Merge pull request #6937
...
8a282f6
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29 01:49:39 -06:00
luigi1111
450f1325ab
Merge pull request #6856
...
db70af1
Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
2020-11-28 22:35:07 -06:00
Crypto City
e21f521283
functional_tests: fix occasional failure due to firewood burning
2020-11-26 19:48:41 +00:00
Crypto City
1d4273c31e
add prestige ranking and bonus from subsidy
...
also fix a couple bugs in coin collection scoring
2020-11-26 19:48:41 +00:00
xiphon
a9cd5d914e
cryptonote_core: dandelion - use local height or median height if syncing
2020-11-25 01:27:42 +00:00
Crypto City
accda4481e
functional_tests: add test for the total amount of gold
2020-11-22 23:25:50 +00:00
Crypto City
cf6a626937
auction creation and bidding, auction flags on mortgage default
2020-11-22 23:25:50 +00:00
Crypto City
dd434d46d4
functional_tests: only mine past the coin minting window if necessary
2020-11-22 23:25:50 +00:00
Crypto City
4ba0fe2080
functional_tests: fix occasional discovery test failure
2020-11-22 23:25:50 +00:00
Crypto City
203ecd44d6
functional_tests: expand script test
2020-11-22 23:25:50 +00:00
Crypto City
fc43e99043
db_tests: new tests to test low level LMDB blockchain calls
2020-11-22 23:25:49 +00:00
Crypto City
182863edc9
blob deduplication for scripts
2020-11-22 23:25:49 +00:00
Crypto City
7bad65991c
cc: every script state can now have actions
2020-11-22 23:25:49 +00:00
Crypto City
f6498b3f05
db_lmdb: set last service height to current height on construction
2020-11-22 23:25:49 +00:00
Crypto City
0898e11996
use CC_NO_EXTERNAL_DEPS on all urho3d/boost dependencies
2020-11-22 23:25:49 +00:00
Crypto City
80195fb627
functional_tests: fix functional tests
2020-11-22 23:25:49 +00:00
Crypto City
7ef0b0a422
fix off by one between command dry run and block verification
2020-11-22 23:25:49 +00:00
Crypto City
dde3bf4c4a
functional_tests: fix typo in item count retrieval
2020-11-22 15:27:07 +00:00
Crypto City
04f467def6
runestones
...
Currently only a player written message
2020-11-22 15:27:07 +00:00
Crypto City
722fabc6d3
Higher economic powers now depend on civil engineering discoveries
2020-11-22 15:27:07 +00:00
Crypto City
402d9ce769
land can now be given
2020-11-22 15:27:06 +00:00
Crypto City
cb40955cc6
new custom language for scripts
2020-11-22 15:27:06 +00:00
Crypto City
933046c95d
simpler large game update test
2020-11-22 15:27:06 +00:00
Crypto City
7b290450f4
functional_tests: give the discoveries test a bit more money
2020-11-22 15:27:06 +00:00
Howard Chu
91fd634768
Better log message for unusable anon networks
2020-11-16 12:36:37 +00:00
Crypto City
8687b9773f
remove remnants of obsolete resource availability
2020-11-10 18:17:43 +00:00
Crypto City
fb04ef804c
temperature now drops with altitude
2020-11-10 18:17:43 +00:00
Lee Clagett
be84f678b9
Switch to Dandelion++ fluff mode if no out connections for stem mode
2020-11-03 13:58:14 -05:00
Crypto City
25c78c4f5e
functional_tests: more leeway for discovery tests
2020-11-01 18:59:15 +00:00
Crypto City
98d4ae7c2b
land cost now costs more near the city center and far away
...
also fix overflows in land/tax cost
2020-11-01 17:34:31 +00:00
Crypto City
fa9a377279
add player script variables
2020-11-01 17:33:55 +00:00
Crypto City
86639dcd7d
functional_tests: fix discoveries test after cost increase
2020-11-01 16:47:20 +00:00
mj-xmr
8a282f64c9
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-28 20:08:26 +01:00
Crypto City
e349e5694e
give higher level woods more heating power
2020-10-26 13:09:35 +00:00
Crypto City
08433773e1
cc: make bonuses/penalties size dependent on role
2020-10-26 13:09:35 +00:00
Crypto City
e40212a683
cc: make marble easier to get
2020-10-26 13:09:35 +00:00
Crypto City
f2808a6a39
more tile size optimization
...
Tiles are now stored as a single packed byte stream,
including in the game, and unpacked/repacked as necessary
2020-10-25 18:47:26 +00:00
selsta
e79c88e610
functional_tests: inrease mining timeout
2020-10-22 04:17:11 +02:00
Crypto City
34a4d2b618
fixes after monero merge
2020-10-19 12:17:51 +00:00
Crypto City
43b8112c1e
Merge branch 'master' into cc
2020-10-18 00:33:51 +00:00
Crypto City
cb353a875d
daemon: include nonce to txid map in print_pool
2020-10-17 23:30:31 +00:00
Crypto City
110e1d227e
functional_tests: add an item count consistency check
2020-10-17 23:30:31 +00:00
Crypto City
da5d2a429a
fix a few niggles with broken assert_exception in functional tests
2020-10-17 23:30:31 +00:00
Crypto City
c6fc32a423
functional_tests: fix typo testing balances and remove dead code
2020-10-17 23:30:30 +00:00
Crypto City
29fa6c7222
wood can now be chopped into firewood
2020-10-17 23:30:30 +00:00
Crypto City
7b51ad56bc
WIP - mortgages
2020-10-17 23:29:26 +00:00
Crypto City
9b291c45b3
WIP - mortgages
2020-10-17 23:29:26 +00:00
Crypto City
f7bd04fc12
remove custom item amount field, it is now redundant
...
since we track supply for all items
2020-10-17 23:29:26 +00:00
Crypto City
9586a32958
WIP - mortgages
2020-10-17 23:29:26 +00:00
Crypto City
b033e75db0
add more user data space to custom items
2020-10-17 23:28:43 +00:00
Crypto City
5710bb74dd
WIP - scripts
2020-10-17 23:28:43 +00:00
Lee Clagett
08eb0949f3
Change to more efficient allocation strategy in byte_stream
2020-10-13 15:10:54 +00:00
Lee Clagett
249eae5f4a
Allow byte_stream->byte_slice conversion to shrink unused buffer space
2020-10-13 15:09:18 +00:00
xiphon
a12a8174e0
Dandelion++: skip desynced peers in stem phase
2020-10-12 13:44:06 +00:00
Lee Clagett
7414e2bac1
Change epee binary output from std::stringstream to byte_stream
2020-10-10 15:28:40 +00:00
Crypto City
cd61a1024b
functional_tests: fix game update tests going out of labour
2020-10-07 00:54:17 +00:00
TheCharlatan
db70af1bbc
Unit Tests: Remove block reward upper bound size checks
...
Tests running after being compiled with `make debug-test` failed with
```
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight
```
With the introduction of the patch in
be82c40703 (diff-1a57d4e6013984c420da98d1adde0eafL113)
the assertions checking the weight of the median and current block
against a size limit were removed. Since the limit is now enforced by a
long divisor and a uint64_t type, checking in a separate test makes
little sense, so they are removed here.
2020-10-03 02:32:17 +02:00
Crypto City
bd20a169ec
functional_tests: more city and game update tests
2020-09-29 12:14:10 +00:00
Crypto City
7d495bc49c
core_test: fix core tests (not enough labour)
2020-09-28 21:09:07 +00:00
Crypto City
2ed24f1918
functional_tests: fix repairing from the wrong account in farming test
2020-09-28 21:09:07 +00:00
Crypto City
81ac18db00
rewrite city cost function
2020-09-28 21:09:07 +00:00
Crypto City
31e74fba63
tests: fix a few tests after recent changes
2020-09-28 21:09:07 +00:00
Alexander Blair
2e83628d02
Merge pull request #6840
...
6ee9f1260
fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
2020-09-27 16:16:54 -07:00
Crypto City
1aba8c4743
functional_tests: fix cc_repair arguments
2020-09-24 19:29:55 +00:00
Crypto City
029375c6dc
unit_tests: fix influence tests from military after related changes
2020-09-24 19:29:55 +00:00
Crypto City
045c9a7c94
core_tests: fix nonce reuse core test
2020-09-24 19:29:55 +00:00
Crypto City
b7c431c15e
remove cost from buy_land command
2020-09-24 19:29:55 +00:00
iamamyth
163f83720f
functional_tests: rewrite mining code, clearer timeout info
2020-09-24 20:04:05 +02:00
moneromooo-monero
6ee9f12607
fuzz_tests: fix build error in signature fuzz test
2020-09-24 15:17:57 +00:00
Crypto City
967ec1957a
unit_tests: add another better test for harvest overflow
2020-09-17 02:30:44 +00:00
Crypto City
d8a3c29b67
cc: increase heating requirements a fair bit
2020-09-17 02:30:44 +00:00
Crypto City
21e095ab90
fix tests after price changes
2020-09-17 02:30:44 +00:00
Crypto City
a389011f3c
add new plant breeding discoveries
2020-09-17 02:30:44 +00:00
Crypto City
fdd27879f1
add merge mining with monero
2020-09-17 02:30:43 +00:00
moneromooo-monero
f11531d046
add_aux_pow now adds aux hashes at fixed slots in the aux merkle tree
...
To protect against mining multiple blocks of a chain with only one PoW
2020-09-16 22:55:06 +00:00
moneromooo-monero
8cf2bb107e
New add_aux_pow RPC to support merge mining
2020-09-13 22:16:07 +00:00
Crypto City
a3ce8f4290
cc: double last resort prices
2020-09-13 22:16:07 +00:00
luigi1111
fd657c7706
Merge pull request #6798
...
4e44306
enable CLSAG support for Trezor client (ph4r05)
2020-09-07 14:30:41 -05:00
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64
functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8
functional_tests: add randomx tests (moneromooo-monero)
9d42649d5
core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-06 15:49:37 +02:00
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client
2020-09-04 01:24:58 +02:00
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8
threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-03 12:25:59 -05:00
Crypto City
9c61486243
unit_tests: fix failure due to reading uninitialized city data
2020-09-02 23:07:03 +00:00
Crypto City
b648ed500a
new resilient soil city specialization, fix nutrients recovery, add tests
2020-09-02 23:07:03 +00:00
Crypto City
c29d308510
cc: protect against integer overflow in intermediate calculations
2020-09-02 23:07:03 +00:00
Crypto City
3714a4e5b0
fix unbound unit tests link error
2020-09-02 23:07:03 +00:00
Crypto City
7a1ba041e8
tests: fix tests failures now that blockchain init queries cities
2020-09-02 23:07:03 +00:00
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
2020-09-01 14:33:33 +00:00
Crypto City
a8d494074b
coins can now be different gold content based on type
2020-08-30 18:13:56 +00:00
Crypto City
40d58c0c9d
add dependencies where appropriate to make -jN work
2020-08-29 12:17:11 +00:00
Sarang Noether
fa06c39d97
Bind signature to full address and signing mode
2020-08-28 19:38:00 -04:00
moneromooo-monero
743608ec16
wallet: allow signing a message with spend or view key
2020-08-28 19:25:17 -04:00
moneromooo-monero
1dc427def9
core_tests: fix failures after v13
...
v13 enforces claiming the full block reward, so we need to keep
track of tx fees to add them to the coinbase
2020-08-28 00:18:39 +00:00
moneromooo-monero
4a9bd8f70f
core_tests: remove hardcoded hf version
2020-08-28 00:14:04 +00:00
Alexander Blair
44cd8a13ec
Merge pull request #6769
...
b641e0a2c
Add clear method to byte_stream (Lee Clagett)
2020-08-27 12:05:16 -07:00
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test
2020-08-27 15:13:04 +00:00
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
2020-08-27 15:13:03 +00:00
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
2020-08-27 15:13:00 +00:00
Sarang Noether
aff87b5f6a
Added balance check to MLSAG/CLSAG performance tests
2020-08-27 12:44:04 +00:00
Sarang Noether
f964a92c57
Updated MLSAG and CLSAG tests for consistency
2020-08-27 12:44:04 +00:00
Sarang Noether
5aa1575e91
CLSAG verification performance test
2020-08-27 12:44:04 +00:00
Sarang Noether
641b08c920
CLSAG optimizations
2020-08-27 12:44:04 +00:00
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27 12:44:04 +00:00
moneromooo-monero
8cd1d6df8f
unit_tests: add ge_triple_scalarmult_base_vartime test
2020-08-27 12:44:01 +00:00
Sarang Noether
4b328c6616
CLSAG signatures
2020-08-27 12:43:29 +00:00
Alexander Blair
b04da25e4d
Merge pull request #6760
...
844fb4e94
enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27 03:01:28 -07:00
Alexander Blair
bad5d8d6f0
Merge pull request #6690
...
7175dcb10
replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27 02:54:30 -07:00
Alexander Blair
3f392341e7
Merge pull request #6660
...
839e1f4ba
functional_tests: add p2p functional tests (moneromooo-monero)
2020-08-27 02:53:41 -07:00
moneromooo-monero
839e1f4bab
functional_tests: add p2p functional tests
...
Tests tx/block propagation and reorgs
2020-08-26 23:00:27 +00:00
Crypto City
964612aed7
game: mac build fixes
2020-08-25 23:02:41 +00:00
Crypto City
16c084838f
add yearly coins auto creation
2020-08-25 15:27:16 +00:00
Crypto City
3335f8d14f
create collectible coins for player count and city levels
2020-08-25 15:27:16 +00:00
Crypto City
7aea6cbf93
add a daemon RPC to get new unused nonces
2020-08-25 13:20:15 +00:00
Crypto City
5b693a15b1
some material variants are now locked till a player level
2020-08-25 13:20:15 +00:00
Crypto City
61844a1f62
start the year a bit earlier so that we can farm right away
2020-08-25 13:20:15 +00:00
Crypto City
bb9bd2ce50
store command nonce in game events log
...
and store a nonce in all commands (except none) now
2020-08-25 13:20:14 +00:00
Crypto City
c688079acb
commands can now be cancelled
...
if they're not mined yet, or only partially matched trades
2020-08-25 13:20:14 +00:00
Crypto City
dc2cc4b6d5
item groups can now optionally be public
2020-08-25 13:20:14 +00:00
Crypto City
61aa85ad3b
add collectible coins
2020-08-21 18:33:02 +00:00
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
...
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
2020-08-21 12:36:53 +00:00
Lee Clagett
b641e0a2c0
Add clear method to byte_stream
2020-08-17 21:30:34 -04:00
luigi1111
765db1ae7a
Revert "Use domain-separated ChaCha20 for in-memory key encryption"
...
This reverts commit 921dd8dde5
.
2020-08-17 14:08:59 -05:00
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.
For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.
Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.
Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
Alexander Blair
10ad0d7eb2
Merge pull request #6718
...
85efc88c1
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
2020-08-16 12:53:50 -07:00
Alexander Blair
01b512f3a9
Merge pull request #6716
...
76c16822d
wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair
a08df6eb1b
Merge pull request #6603
...
4e2377995
Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16 12:43:38 -07:00
Alexander Blair
009ca6fcd3
Merge pull request #6601
...
98c151ecb
Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2
Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb
Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16 12:43:11 -07:00
Alexander Blair
9eebe01c58
Merge pull request #6593
...
6f5411d30
tests: fix missing error on missing python entry point (moneromooo-monero)
c6dc2850c
python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
2020-08-16 12:41:10 -07:00
Alexander Blair
6d29ee6c52
Merge pull request #6493
...
921dd8dde
Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16 12:39:59 -07:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
...
a11ec4ac1
Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
Alexander Blair
13549d590e
Merge pull request #6329
...
6bfcd3101
Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16 12:37:43 -07:00
Crypto City
be0b26ef25
add item groups
2020-08-15 15:12:35 +00:00
Crypto City
26b298e947
performance_tests: add magica voxel load/save test
2020-08-15 15:12:35 +00:00
Crypto City
20427ca382
functional_tests: add new city test
2020-08-15 15:12:35 +00:00
Crypto City
18da33a330
funtional_tests: guard against special events destroying buildings
2020-08-15 15:12:35 +00:00
Lee Clagett
4e2377995d
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
2020-08-14 23:01:00 +00:00
Lee Clagett
fe96e66ebe
Fix pruned tx for ZMQ's GetBlocksFast
2020-08-14 19:46:33 +00:00
Sarang Noether
921dd8dde5
Use domain-separated ChaCha20 for in-memory key encryption
2020-08-09 19:11:54 -04:00
Sarang Noether
6bfcd31015
Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-09 18:42:15 -04:00
Alexander Blair
c108c5e2f0
Merge pull request #6354
...
67ade8005
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
2020-08-09 06:42:49 -07:00
Crypto City
1e9af40f21
functional_tests: add some more farming tests
2020-08-07 00:41:08 +00:00
Crypto City
1508512920
tests: remove int sqrt test
...
It's slow, and we don't rely on it
2020-08-06 14:15:48 +00:00
Crypto City
0f364a96d7
cc: prevent building too close to the edges of the world
2020-08-05 14:09:06 +00:00
Crypto City
105c45df20
functional_tests: run with CC_FASTER_POW
2020-08-05 14:09:06 +00:00
Crypto City
3b23655a5f
functional_tests: fix game update messing up checks
2020-08-05 14:09:06 +00:00
Crypto City
fb5dd77afa
Farming
2020-08-05 14:09:06 +00:00
Crypto City
db93803916
functional_tests: ensure the resized flag has no building
2020-08-01 17:05:19 +00:00
Crypto City
2a1c79920d
speedup terrain generation
2020-08-01 17:05:19 +00:00
Crypto City
031d32d08e
cc: make cities grow in cost more slowly
2020-07-26 10:31:37 +00:00
Crypto City
34856d0808
keep track of the item supply
2020-07-25 22:43:58 +00:00
Crypto City
b268c5b8c7
add elevation bonus
2020-07-25 22:43:58 +00:00
Crypto City
c598cfec0a
remove building within range of resource generators constraint
2020-07-25 22:43:58 +00:00
Crypto City
664d56f520
Height map
2020-07-25 22:43:53 +00:00
Crypto City
6918004419
cc: fix temperature to heating function
2020-07-24 15:36:50 +00:00
Crypto City
ac171bf477
cc: rewrite potential system and add more potentials
2020-07-24 15:36:50 +00:00
Crypto City
0f71803126
tests: enable unbound tests
2020-07-24 15:36:50 +00:00
koe
85efc88c1e
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test
2020-07-23 03:36:05 -05:00
xiphon
76c16822d0
wallet2_api: implement runtime proxy configuration
2020-07-20 13:45:12 +00:00
Alexander Blair
3ba6c7fd30
Merge pull request #6516
...
8656a8c9f
remove double includes (sumogr)
2020-07-19 03:34:28 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Alexander Blair
65938d26f6
Merge pull request #6497
...
db8563cb
performance_tests: some windows fixes (moneromooo-monero)
2020-07-19 03:27:55 -07:00
luigi1111
3057f52f89
Merge pull request #6599
...
6e4a55b
rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14
functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08 17:20:29 -05:00
luigi1111
35e2520115
Merge pull request #6559
...
15538f7
ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
2020-07-08 17:07:50 -05:00
Crypto City
63a3230fdb
add ignore tests
2020-06-30 11:06:08 +00:00
Crypto City
dc140ff2fc
functional_tests: add some more data in get_state
2020-06-29 22:16:08 +00:00
Crypto City
fffeb1bdae
cc: allow hunting with a population less than actual
2020-06-29 22:16:08 +00:00
Crypto City
8c249305f7
unit_tests: don't link to urho3d
2020-06-24 01:06:54 +00:00
Crypto City
09c272a064
tests: add test for building with palette change
2020-06-22 22:15:13 +00:00
Crypto City
6f4fc81b1d
functional_tests: add chat tests
2020-06-22 22:15:13 +00:00
Crypto City
5d30d10b68
functional_tests: add some more invitations tests
2020-06-22 22:15:13 +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
ef2c7bcca8
functional_tests: use fast pow
2020-06-21 01:18:29 +00:00
Crypto City
f112b180e3
cc: fix unlocking discoveries bug
2020-06-21 01:18:29 +00:00
Crypto City
206b30cb8f
functional_tests: add reorg test
2020-06-21 01:18:29 +00:00
moneromooo-monero
2743357518
functional_tests: add p2p functional tests
...
Tests tx/block propagation and reorgs
2020-06-21 01:18:29 +00:00
Crypto City
b945e80261
functional_tests: add randomx tests
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
luigi1111
93257997bd
Merge pull request #6656
...
bde7f1c
fuzz_tests: fix init check in oss-fuzz mode (moneromooo-monero)
c4b7420
Do not use PIE with OSS-Fuzz (moneromooo-monero)
c4df8b1
fix leaks in fuzz tests (moneromooo-monero)
38ca1bb
fuzz_tests: add a tx extra fuzz test (moneromooo-monero)
2020-06-19 10:17:51 -05:00
Crypto City
23c813cf45
add city specializations
2020-06-14 23:43:30 +00:00
moneromooo-monero
bde7f1c5cc
fuzz_tests: fix init check in oss-fuzz mode
2020-06-14 16:10:49 +00:00
moneromooo-monero
c4df8b1390
fix leaks in fuzz tests
2020-06-14 12:54:13 +00:00
moneromooo-monero
38ca1bb389
fuzz_tests: add a tx extra fuzz test
2020-06-14 12:54:10 +00:00
selsta
58e1c8b031
repo: update donation fund address
2020-06-09 12:19:39 +02:00
luigi1111
967285a9fa
Merge pull request #6522
...
29e563b
Fixed bugs for take_slice and byte_stream->byte_slice (vtnerd)
2020-06-08 14:05:05 -05:00
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
2020-05-31 21:18:11 -04: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
eb6be814ef
functional_tests: processes can now run in a new terminal (off by default)
2020-05-29 23:20:51 +00:00
Crypto City
3af586f748
unit_tests: fix missing roles in influence test
2020-05-29 23:20:51 +00:00
Crypto City
c22e54b850
unlock_time is now valid only for coinbase txes
2020-05-29 23:20:50 +00:00
Crypto City
4d819324dc
tests: fix missing error on missing python entry point
2020-05-29 23:20:50 +00:00
Crypto City
e98aa10308
cc: don't give an attribute point before levelling up
2020-05-29 23:20:50 +00:00
Crypto City
828bb1ba41
allow destroying a flag
2020-05-29 23:20:50 +00:00
Crypto City
0cc8c0c675
game balance updates after all the recent changes
2020-05-29 23:20:50 +00:00
Crypto City
d2949eb3ff
Change the address prefix from CC to TF
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
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
f661248740
functional_tests: add hunt test
2020-05-29 23:20:49 +00:00
Crypto City
e21b669517
functional_tests: fix discovery tests after new discovery additions
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
98ad361d8a
firefighting
2020-05-29 23:20:45 +00:00
moneromooo-monero
9b86e14c5a
functional_tests: add simple relay_tx test
2020-05-28 12:49:17 +00:00
luigi1111
d6d4a03b85
Merge pull request #6535
...
81773f5
fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero)
cb4edc1
cmake: ASAN and PIE don't mix (moneromooo-monero)
2020-05-27 18:27:06 -05:00
moneromooo-monero
6f5411d305
tests: fix missing error on missing python entry point
2020-05-27 13:11:01 +00:00
Crypto City
6a18101b1a
add invitation system
2020-05-26 16:22:42 +00:00
Crypto City
b333b92415
move cc_badge.h away from blockchain_db.h
2020-05-26 16:22:42 +00:00
Doyle
15538f7e3f
ByteSlice: Fix persisting ptr to std::moved SSO buffer
...
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-20 10:13:58 +10:00
Lee Clagett
a11ec4ac1d
Support for supercop ASM in wallet, and benchmark for supercop
2020-05-16 10:25:17 +00:00
moneromooo-monero
81773f55a4
fuzz_tests: refactor and add OSS-Fuzz compatibility
2020-05-15 17:18:27 +00:00
Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
2020-05-15 07:57:35 +00:00
selsta
f35ced6d7f
build: fix boost 1.73 compatibility
2020-05-14 22:57:53 +02:00
Lee Clagett
29e563bb1e
Fixed bugs for take_slice and byte_stream->byte_slice
2020-05-12 01:26:37 -04:00
sumogr
8656a8c9ff
remove double includes
2020-05-11 13:53:17 +00:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
luigi1111
9f3e8e3ff0
Merge pull request #6477
...
afe5a55
Revert functional test changes in babf25d
and 5715460
(vtnerd)
2020-05-06 00:26:16 -05:00
Lee Clagett
e5214a2ca2
Adding ZMQ/Pub support for txpool_add and chain_main events
2020-05-04 02:06:35 +00:00
moneromooo-monero
db8563cb46
performance_tests: some windows fixes
...
Too many iterations cause std::bad_alloc for the timings vector,
and the micro prefix displays as some other character, so use u.
Reported by iDunk
2020-05-03 14:11:45 +00:00
Crypto City
06472348cf
WIP - palettes
2020-04-28 15:43:03 +00:00
Lee Clagett
afe5a55e96
Revert functional test changes in babf25d2e
and 571546067
2020-04-24 18:30:23 -04:00
Crypto City
4863f4684e
unit_tests: fix building settings unit test
2020-04-23 13:16:35 +00:00
Crypto City
6ad068d938
make city levels somewhat easier to achieve
2020-04-22 15:14:48 +00:00
Crypto City
3a0571d578
give some slight share/production edge with building age
...
This should make it somewhat more appealing to build an existing building
rather then buy your own land and build a new building on it, given there
is no land scarcity.
2020-04-21 17:41:07 +00:00
luigi1111
c846c8650e
Merge pull request #6445
...
5715460
Always reject duplicate key-images from second txid (vtnerd)
babf25d
Allow unrestricted rpc calls to get full txpool info (vtnerd)
2020-04-21 09:03:37 -05:00
luigi1111
4540afc51b
Merge pull request #6433
...
7326b69
functional_tests: ensure signatures never reuse a timestamp (moneromooo-monero)
082dd2c
functional_tests: ensure signed timestamps are fresh (moneromooo-monero)
2020-04-21 08:54:44 -05:00
luigi1111
06c81b6527
Merge pull request #6359
...
f9441c5
Fixed string_ref usage bug in epee::from_hex::vector (vtnerd)
2020-04-21 08:38:21 -05:00
luigi1111
2d729fbdf7
Merge pull request #6332
...
87d7558
Allow wallet2.h to run in WebAssembly (woodser)
2020-04-21 08:26:54 -05:00
Crypto City
326f4bc3f2
allow repairing many flags in one command
2020-04-15 17:51:31 +00:00
woodser
87d75584e8
Allow wallet2.h to run in WebAssembly
...
- Add abstract_http_client.h which http_client.h extends.
- Replace simple_http_client with abstract_http_client in wallet2,
message_store, message_transporter, and node_rpc_proxy.
- Import and export wallet data in wallet2.
- Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
2020-04-15 13:22:46 -04:00
Crypto City
3b87070a5d
add hunt system
2020-04-13 17:23:54 +00:00
Crypto City
c7c3944fb0
unit_tests: fix badge score unit tests
2020-04-11 19:11:47 +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
Lee Clagett
c26c93019a
Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.
2020-04-11 04:12:11 +00:00
luigi1111
8185054db7
Merge pull request #6451
...
4ed60b6
Bulletproofs: verification speedup (SarangNoether)
2020-05-02 15:14:41 -05:00
luigi1111
a5cc613a68
Merge pull request #6460
...
f8b1480
unit_tests: fix gcc+ warning (sumogr)
2020-05-01 15:50:19 -05:00
luigi1111
c9b800a787
Merge pull request #6446
...
e509ede
trezor: adapt to new passphrase mechanism (ph4r05)
2020-05-01 15:32:52 -05:00
Dusan Klinec
e509ede2aa
trezor: adapt to new passphrase mechanism
...
- choice where to enter passphrase is now made on the host
- use wipeable string in the comm stack
- wipe passphrase memory
- protocol optimizations, prepare for new firmware version
- minor fixes and improvements
- tests fixes, HF12 support
2020-04-27 18:17:56 +02:00
Sumo Gr
f8b1480f95
unit_tests: fix gcc+ warning
2020-04-18 18:04:20 +03:00
Sarang Noether
4ed60b626a
Bulletproofs: verification speedup
2020-04-14 20:31:30 -04:00
luigi1111
228af683a7
Merge pull request #6403
...
5de2295
Correct key image check in tx_pool (vtnerd)
2020-04-10 16:10:33 -05:00
Crypto City
3c2b07fd15
game: display actual badge counts in badge leaderboard
2020-04-10 01:51:27 +00:00
Crypto City
a0b6a6e8aa
add a dice roll command, for use in story/roleplaying
2020-04-10 01:51:27 +00:00
Crypto City
9153c6f110
Add editable player profile
2020-04-08 11:04:01 +00:00
Crypto City
287fd9cfd1
Add player attributes for storytelling/role playing purposes
2020-04-08 00:15:51 +00:00
moneromooo-monero
7326b691d3
functional_tests: ensure signatures never reuse a timestamp
2020-04-06 16:11:36 +00:00
moneromooo-monero
082dd2c373
functional_tests: ensure signed timestamps are fresh
...
This fixes a test failure now that timestamps are more constrained
2020-04-06 14:06:36 +00:00
Crypto City
3891353d7e
add a new command to destroy owned items
2020-04-04 23:41:15 +00:00
luigi1111
d1f3d3376d
Merge pull request #6381
...
e719760
Fix receive order leakage with tx fluffing (vtnerd)
2020-04-04 13:12:31 -05:00
luigi1111
5757d99208
Merge pull request #6361
...
68a6507
Fixed bug in ZMQ JSON-RPC method field (vtnerd)
2020-04-04 13:01:15 -05:00
luigi1111
0150a480fd
Merge pull request #6357
...
42a7a4d
daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
2020-04-04 12:59:23 -05:00
luigi1111
cfc0f4a7fa
Merge pull request #6351
...
81c5943
Remove temporary std::string creation in some hex->bin calls (vtnerd)
5fcc23a
Move hex->bin conversion to monero copyright files and with less includes (vtnerd)
3387f0e
Reduce template bloat in hex->bin for ZMQ json (vtnerd)
2020-04-04 12:55:02 -05:00
luigi1111
bf70696a85
Merge pull request #6346
...
dbfa4f8
unit_tests: fix missing test names (xiphon)
2020-04-04 12:50:17 -05:00
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
2020-04-04 12:47:31 -05:00
luigi1111
292e2d8f28
Merge pull request #6335
...
0078ce7
wipeable_string: split - treat CR, LF and Tabs as separators (xiphon)
2020-04-04 12:42:50 -05:00
luigi1111
0bd2c14bbb
Merge pull request #6309
...
e69acff
functional_tests: update cookie at 10 seconds interval (moneromooo-monero)
f5a11f0
functional_tests: speed up signature generation (moneromooo-monero)
2020-04-04 12:35:02 -05:00
Crypto City
8f794a4a1e
add temperature and building heating requirements
2020-04-03 15:43:36 +00:00
Crypto City
d7fa5676fe
cc: special events now have a min duration
2020-04-03 15:43:35 +00:00
Crypto City
b3c3647cb9
add food consumption
2020-04-03 15:43:35 +00:00
Crypto City
91465c097b
Rename default town/mayor names and expenses to game
2020-04-03 15:43:35 +00:00
Crypto City
beceb3ce79
cc: bump agricultural building min size requirements
2020-04-03 15:43:35 +00:00
Crypto City
a5d2eb2138
store badge award height
2020-04-03 15:43:35 +00:00
Lee Clagett
da99157462
Use byte_slice for sending zmq messages - removes data copy within zmq
2020-04-03 01:56:17 +00:00
xiphon
6d6af701ec
cryptonote_basic: drop unused verification_context::m_not_rct field
2020-03-31 21:58:25 +00: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
Lee Clagett
f9441c5759
Fixed string_ref usage bug in epee::from_hex::vector
2020-03-30 16:53:34 +00:00
Lee Clagett
0c29e17581
Fix network unit tests after epee changes
2020-03-28 13:30:22 -04:00
Alexander Blair
7d4a93fab3
Merge pull request #6285
...
d0641b42
net: fix incorrect less operator for top/i2p addresses (Aaron Hook)
2020-03-27 12:23:00 -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
moneromooo-monero
f5a11f05fe
functional_tests: speed up signature generation
...
Executing a new binary for each signature can get really slow
2020-03-26 11:33:58 +00:00
moneromooo-monero
e69acffdc8
functional_tests: update cookie at 10 seconds interval
...
Otherwise the daemon will start rejecting
2020-03-26 11:33:55 +00: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
Crypto City
5c198dd7d6
allow resizing flags (when empty)
2020-03-21 16:21:35 +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
bdb53f11b6
blockchain_db: remove buggy and unused set_cc_account_name
2020-03-20 19:27:51 +00:00
Crypto City
2882f6bc80
badges
2020-03-20 19:27:51 +00:00
Crypto City
0d413cf164
merge cc_account data into a structure
2020-03-20 19:27:51 +00:00