luigi1111
04e490c8da
Merge pull request #8205
...
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06 00:11:14 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
moneromooo-monero
4c94cfecfc
store outPk/8 in the tx for speed
...
It avoids dividing by 8 when deserializing a tx, which is a slow
operation, and multiplies by 8 when verifying and extracing the
amount, which is much faster as well as less frequent
2022-04-05 18:50:22 +00:00
moneromooo-monero
a0d80b1f95
plug bulletproofs plus into consensus
2022-04-05 18:50:17 +00:00
Sarang Noether
bd27debb2d
Bulletproofs+
2022-04-04 08:23:21 +00:00
Jeffrey
1ce9e9cda4
Remove dead code from parserse_base_utils and fix unit tests
...
* Remove `match_string()`, `match_number()`, and `match_word()`
* Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()`
* Adapt unit test for `match_number()` to `match_number2()`
* Adapt unit test for `match_string()` to `match_string2()`
Note: the unit tests were testing for the old version of the functions, and
the interfaces for these functions changed slightly, so I had to also edit
the tests.
As of writing, this PR has no merge conflicts with #8211
Additional changes during review:
* Explicitly set up is_[float/signed]_val to be changed before each call
* Structify the tests and fix uninitialized variables
2022-03-30 13:29:32 -05:00
luigi1111
d9e6baac42
Merge pull request #8158
...
e5000a9 Balance includes unconfirmed transfers to self (woodser)
2022-03-18 16:28:16 -05:00
mj-xmr
0d6fce8995
Compil. time: cryptonote_core minus portable_storage header
2022-03-04 12:48:35 +01:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
luigi1111
abae63c37d
Merge pull request #8052
...
c36ea26 fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order (koe)
2022-03-02 18:52:51 -05:00
luigi1111
5eaa4434e8
Merge pull request #7877
...
e08abaa multisig key exchange update and refactor (koe)
2022-03-02 18:51:54 -05:00
Crypto City
850b8766d6
functional_tests: fix invalid names tests, "\xff\xff" is now valid
2022-03-01 18:21:19 +00:00
koe
e08abaa43f
multisig key exchange update and refactor
2022-02-22 16:37:42 -06:00
woodser
e5000a9f0c
Balance includes unconfirmed transfers to self
2022-01-31 07:52:38 -05:00
koe
c36ea26e5c
fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order
2022-01-25 07:14:46 -06:00
selsta
e9156d78a3
functional_tests: update uri test with external pid
2021-12-14 23:35:48 +01:00
Crypto City
d8d45c8fba
unit_tests: fix build after set_default_palette change
2021-12-02 12:20:11 +00:00
Crypto City
9f8cbdcb77
unit_tests: fix build after get_building_cost_production api change
2021-11-29 10:41:18 +00:00
Crypto City
8a12d350a8
tests: add a decode_blocks fuzz test
2021-11-27 17:18:58 +00:00
Crypto City
307e97f9e9
v16 with recent consensus changes - with hacks for now
2021-11-25 17:27:14 +00:00
Crypto City
861f378589
speed up account balance access and updates
2021-11-25 12:10:05 +00:00
Crypto City
29c47dcfe9
tune city level progression
2021-11-24 07:08:51 +00:00
Crypto City
0e756771d3
avoid unnecessary repeated read/write of the same flag/account record
2021-11-24 07:08:50 +00:00
Crypto City
9e592619fb
tweak workforce building
...
- add management efficiency discovery levels, increasing output
- add penalties for industry influence
2021-11-24 07:08:50 +00:00
Crypto City
bb203fe647
add new moose disease special event
2021-11-23 16:22:29 +00:00
Crypto City
fe5272b288
add whispers - player messages on arbitrary locations
2021-11-23 16:22:28 +00:00
Crypto City
a8ad4091fa
add restricted item group, may not be sold/given/auctioned etc
2021-11-15 17:04:16 +00:00
Crypto City
d545944400
add a level based build height limit
2021-11-02 08:49:58 +00:00
moneromooo-monero
bbe3b276b8
tx_pool: full tx revalidation on fork boundaries
...
avoids mining txes after a fork that are invalid by this fork's
rules, but were valid by the previous fork rules at the time
they were verified and added to the txpool.
2021-11-01 20:56:38 +00:00
Crypto City
ae4d520621
add a testnet v15 fork at block 60000
2021-10-15 13:29:47 +00:00
Crypto City
8153873cb2
make recent consensus changes activate at v15
2021-10-15 12:41:26 +00:00
Crypto City
0d20478bd2
mayors may now control who can buy/build in their city
2021-10-14 10:47:26 +00:00
Crypto City
c263cba732
cc: allow embedding smaller quantities of gold in items
2021-10-14 10:44:47 +00:00
luigi1111
45920c36f1
Merge pull request #7874
...
9154883 node_server: fix race condition (anon)
8922f96 node_server: add race condition demo (anon)
2021-10-11 12:56:14 -05:00
Crypto City
4d17a7bc26
give road bonuses to flags that are suitable for bridges
2021-10-04 21:31:50 +00:00
luigi1111
e7a1a095ac
Merge pull request #7923
...
5eaedb5 unit_tests: fix use after free in serialization test (moneromooo-monero)
2021-09-23 22:16:38 -05:00
Crypto City
25cc1bf99a
game: plug palette editor in import flow
2021-09-21 12:18:18 +00:00
Crypto City
c3428cf347
game: partial magica voxel extension support
...
Scenegraph support, so models split into submodels can be loaded
2021-09-21 12:18:18 +00:00
Crypto City
9edd5e0966
game: load schematic models
...
These seem to have models fitting in cubes, so the import looks
very blocky and crude
2021-09-21 12:18:18 +00:00
anon
9154883f3e
node_server: fix race condition
2021-09-20 20:58:23 +00:00
anon
8922f96e61
node_server: add race condition demo
2021-09-20 20:58:23 +00:00
Crypto City
18ab361e8b
give spread to match command matcher
2021-09-14 19:59:41 +00:00
Crypto City
92b1a11683
unit_tests: remove tests using overflowing values
2021-09-12 21:25:38 +00:00
Crypto City
a80ff364d6
unit_tests: fix uninitialized field
2021-09-12 21:25:38 +00:00
Crypto City
3e93a91c28
db_lmdb: do not use DUPSORT for cc_events table
...
It increase the size somewhat but can store events of arbitrary
length.
2021-09-12 21:25:38 +00:00
mj-xmr
1b7a708fa3
Mac: UT node server fix IP localhost by aliasing
2021-09-12 15:51:14 +02:00
luigi1111
e48e909911
Merge pull request #7880
...
573a025 core_tests: remove unused typedef, fix warning (selsta)
2021-09-09 15:18:17 -04:00
luigi1111
acfe3f8ded
Merge pull request #7828
...
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-09 15:16:06 -04:00
Crypto City
c5ecf75dd1
unit_tests: fix leaks
2021-09-08 01:43:54 +00:00
moneromooo-monero
5eaedb51b9
unit_tests: fix use after free in serialization test
2021-09-08 01:03:34 +00:00
Crypto City
0be3750452
unit_tests: fix use after free in serialization test
2021-09-08 00:59:40 +00:00
Crypto City
489a261db0
Merge remote-tracking branch 'origin/master' into cc
...
8fde011dbe
2021-09-01 15:50:02 +00:00
Crypto City
996253e3b0
revert test v15 fork
2021-09-01 15:12:14 +00:00
Crypto City
6794309459
functional_tests: ensure number of blocks to mine is integer
2021-09-01 15:12:13 +00:00
Crypto City
f309f1422c
fix sync failure when popping a game update block, but only it
2021-08-21 16:11:28 +00:00
Crypto City
85319d34a8
functional_tests: improve reorg test
2021-08-21 16:11:28 +00:00
Crypto City
fdaaf64a7e
db_tests: add tests for cc_nonces_used
2021-08-21 14:44:33 +00:00
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