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
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
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
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
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
beceb3ce79
cc: bump agricultural building min size requirements
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
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
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
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
Crypto City
8d3fbb1727
Add ignore machinery
2020-03-20 19:27:51 +00:00
Crypto City
a6b8da5f0e
add player defined custom items
2020-03-20 19:27:51 +00:00
Alexander Blair
820ab9fdea
Merge pull request #6273
...
0f78b06e
Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
2020-03-12 01:13:49 -07:00
Lee Clagett
e719760253
Fix receive order leakage with tx fluffing
2020-03-10 22:30:07 -04:00
Lee Clagett
5fcc23ae0a
Move hex->bin conversion to monero copyright files and with less includes
2020-03-09 05:23:59 +00:00
Lee Clagett
0f78b06e8c
Various improvements to the ZMQ JSON-RPC handling:
...
- Finding handling function in ZMQ JSON-RPC now uses binary search
- Temporary `std::vector`s in JSON output now use `epee::span` to
prevent allocations.
- Binary -> hex in JSON output no longer allocates temporary buffer
- C++ structs -> JSON skips intermediate DOM creation, and instead
write directly to an output stream.
2020-03-05 14:20:56 +00:00
Alexander Blair
944e8a4542
Merge pull request #6220
...
a9bdc6e4
Improved performance for epee serialization: (Lee Clagett)
2020-02-28 19:45:31 -08:00
Alexander Blair
e7997cd62a
Merge pull request #6202
...
02b80513
unit_tests: remove invalid bulletproofs unit test (moneromooo-monero)
2020-02-28 19:33:21 -08:00
Crypto City
10f48689f8
propagating fire special event
2020-02-28 19:37:11 +00:00
xiphon
42a7a4dd32
daemon: auto public nodes - cache and prioritize most stable nodes
2020-02-28 08:06:43 +00:00
Crypto City
6c5570b814
special events
2020-02-23 01:31:27 +00:00
Crypto City
30e260511f
unit_tests: add a test for quadtree intersection
2020-02-22 14:17:21 +00:00
Crypto City
52da390658
add town levels (aesthetic only for now) and use weighted shares for subsidy
2020-02-22 14:17:21 +00:00
Crypto City
6d4f2a20bc
cc: make additional cities scale on 2^n, not 10^n
2020-02-22 14:17:21 +00:00
Crypto City
11c5ca898b
We can now remove materials already on the blockchain
2020-02-22 14:17:21 +00:00
Crypto City
13040bf4f4
cc: bump min buy size a bit
2020-02-22 14:17:20 +00:00
xiphon
dbfa4f84ee
unit_tests: fix missing test names
2020-02-18 23:56:21 +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
xiphon
0078ce7fac
wipeable_string: split - treat CR, LF and Tabs as separators
2020-02-12 21:16:07 +00:00
Crypto City
fb8b3af6fd
game: merge faces into larger rectangles for performance
2020-02-11 18:17:16 +00:00
Crypto City
5f42d3641a
automatic match commands
2020-02-09 15:41:07 +00:00
Crypto City
a4ea6a7767
ensure generator production does not overflow
2020-01-29 18:44:17 +00:00
Crypto City
aad82022a3
cc: give new towns only the town square
2020-01-28 21:08:20 +00:00
Crypto City
4183745da4
add price limit for accrual trades
2020-01-28 15:05:21 +00:00
Crypto City
86448078f5
cc: basic residential does not need commercial influence anymore
...
make it just a bonus
2020-01-28 15:05:21 +00:00
moneromooo-monero
dd8c6b1703
wallet: do not split integrated addresses in address book api
2020-01-26 00:03:53 +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
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
f8fddabe81
add a give (items) command
2020-01-24 15:49:34 +00:00
Crypto City
c82864acfc
New cities can now be created, price goes down with world size
2020-01-24 15:49:34 +00:00
Aaron Hook
d0641b42fe
net: fix incorrect less operator for top/i2p addresses
2020-01-18 19:18:56 -08:00
Crypto City
302aade6cb
cc: tweak requirements/cost/production
...
Scale all requirements up by 8 times, so small flags have enough
blocks to build something. Larger ones will have too many, but
we don't care since they don't have to use a minimum anymore.
Tweak sawmill/stonecutter so they still get some profit with
those new numbers
2020-01-08 00:07:02 +00:00
Crypto City
559c5f7b2e
fix issues with game update event cache and tests
2020-01-03 16:27:51 +00:00
Crypto City
18696fe6a1
include construction height in flag trade commands
...
This prevents someone from demolishing their building and selling
the now empty land to a waiting buyer
2019-12-31 11:16:38 +00:00
Crypto City
2e136c18c4
replace more arrays of NUM_ITEMS by a std::map
2019-12-28 16:33:17 +00:00
Crypto City
bdbc367c8e
keep track of building age
2019-12-28 16:33:17 +00:00
Crypto City
c5583c224f
more research tweaking
2019-12-27 17:37:46 +00:00
Crypto City
0d0ac253b9
make budget count against research difficulty decrease instead
2019-12-27 13:52:38 +00:00
Crypto City
dbfac813e3
add some research/discoveries tests
2019-12-27 01:51:08 +00:00
Crypto City
bcb5f8e885
unit_tests: fix buy_land test after land cost change
2019-12-26 18:43:19 +00:00
Crypto City
54c462ed22
change item balances from uint32_t[NUM_ITEMS] to std::map<uint32, uint32>
...
We have a lot more item space now, and a lot of it is sparse
2019-12-26 16:23:16 +00:00
Crypto City
3fba4e24a1
unit_tests: fix tests after production changes
...
also a bug in the test code
2019-12-26 01:59:56 +00:00
Crypto City
4fc5db3f78
small research fixes and factor some code
2019-12-25 23:19:02 +00:00
Crypto City
86a1517139
Discoveries and research
2019-12-25 20:36:51 +00:00
Crypto City
513b4564b8
tests: fix after recent changes
2019-12-21 17:57:20 +00:00
Crypto City
51d6704a08
cc: connection_squares now also returns direction
...
of the first building compared to the second building
2019-12-21 17:56:58 +00:00
Crypto City
b9146035de
cc: add adjecent squares calc
...
I'm sure it'll come handy soon
2019-12-21 17:56:58 +00:00
Crypto City
2cc1144b19
cc: slowly increase land tax with distance from the town center
2019-12-17 13:56:16 +00:00
Crypto City
7eeaa75acd
cc: disable BUILD_RATIO_ACTIVE_THRESHOLD_PERCENT
...
It seemed like a good idea to push people to build, but it
might instead push people to build anything quick even if
they don't have a nice idea yet
2019-12-17 13:56: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
Crypto City
87b2d3e165
we can now build below existing blocks
2019-12-13 01:33:06 +00:00
Crypto City
5cc149c89f
tests: fix tests after recent emission changes
2019-12-13 01:33:06 +00:00
Crypto City
20d7fdb5a3
unit_tests: fix tests after recent emission changes
2019-12-13 01:33:06 +00:00
Crypto City
11cf7f532b
new demolish command
...
Recovers 20% of the flag budget, and the flag may now be reused
for another building role
2019-12-13 01:33:06 +00:00
Crypto City
349ddcb8b2
change emission parameters
...
1 minute target
raise tail emission
decrease the number of decimals to 8
4 game updates per day
2019-12-13 01:32:49 +00:00
Crypto City
b185d9127a
cc: some more tweaking
2019-12-13 01:32:49 +00:00
Crypto City
d54f907d43
add game subsidy
2019-12-13 01:32:49 +00:00
Crypto City
2041f2e4f0
rework production/requirements some
...
Will need more
2019-12-13 01:31:56 +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
80d2269217
player names are now unique and format restricted
2019-12-13 01:31:25 +00:00
Crypto City
9770001686
Cities can now have a name
2019-12-13 01:31:25 +00:00
Crypto City
d7063d99d8
flags (with a building) can now be named and renamed
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
b89e696a80
flag 0 is now invalid
...
makes it possible to have a "no flag applies" semantic
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
be0ebbe148
fix fresh clone build
2019-12-13 01:31:04 +00:00
Crypto City
6b7bb1493b
cc: repair command now takes a delta repair
...
rather than a from/to pair, which avoids it getting invalid if
a game update occurs before it gets mined
2019-12-13 01:31:04 +00:00
Crypto City
c9616f7f83
better error reporting when submitting invalid commands
2019-12-13 01:31:04 +00:00
Crypto City
6d1c0dfcf8
unit_tests: test get_cc_influence does not overflow
2019-12-13 01:30:29 +00:00
Crypto City
b2ce755525
cc: fix get_distance, and add unit tests
2019-12-13 01:30:28 +00:00
Crypto City
c42899adc9
unit_tests: fix missing parameter in flag_t ctor
2019-12-13 01:30:28 +00:00
Crypto City
075119b46b
unit_tests: fix overread in influence calculation
2019-12-13 01:28:54 +00:00
Crypto City
c9c91ccb08
cc: add staff (extra payments per building count)
...
to incentivize richer people towards larger buildings rather
than many small ones
2019-12-13 01:28:54 +00:00
Crypto City
341ed8ed53
rejig repair a bit
...
Repair is now 0 before anything is built, and goes to 100% when
building. This makes it easier when building anew after a building
got destroyed due to decay
2019-12-13 01:28:54 +00:00
Crypto City
836b362159
fix reverting buy_land after trading flags
2019-12-13 01:28:21 +00:00
Crypto City
210882c66f
remove tile data and set repair to 0 for derelict buildings
2019-12-13 01:26:54 +00:00
Crypto City
475ff2dcdb
unit_tests: fix cc unit tests build
2019-12-13 01:26:54 +00:00
Crypto City
84106cbcbe
allow 50-1000 economic level (in steps of 50)
2019-12-13 01:21:44 +00:00
Crypto City
7c2f33c660
game: display "buildable" zone around generators
2019-12-13 01:21:44 +00:00
Crypto City
e484e3eda8
unit_tests: fix tests
2019-12-13 01:21:44 +00:00
Crypto City
d9176ad644
add repair command and UI
2019-12-13 01:21:44 +00:00
Crypto City
e6b2da4bb9
generators basics
2019-12-13 01:21:44 +00:00
Crypto City
3fb509b796
more work in influence
2019-12-13 01:21:44 +00:00
Crypto City
455c859823
new command to assign items to a flag
2019-12-13 01:21:44 +00:00
Crypto City
445d59c650
city support in game update command
2019-12-13 01:21:04 +00:00
Crypto City
7b26b94e56
make shares 64 bit
2019-12-13 01:21:04 +00:00
Crypto City
346f3e9791
game update
2019-12-13 01:21:04 +00:00
Crypto City
96bbe1857c
keep land if a building decays to 0
2019-12-13 01:20:38 +00:00
Crypto City
6e8c42868d
more work on influence
2019-12-13 01:20:38 +00:00
Crypto City
13f61e7e16
some work on potential
2019-12-13 01:20:38 +00:00
Crypto City
1795477cdd
replace monetary cost by labour cost in building
2019-12-13 01:20:37 +00:00
Crypto City
9b9aed1c56
make blocks and labour items
2019-12-13 01:20:37 +00:00
Crypto City
29a7b2f954
more work on building settings
2019-12-13 01:20:37 +00:00
Crypto City
fb318fbf16
building settings
2019-12-13 01:20:37 +00:00
Crypto City
2bdb7be38c
add role flag field
2019-12-13 01:20:37 +00:00
Crypto City
4e1b8e14b9
add cc influence building blocks
2019-12-13 01:20:37 +00:00
Crypto City
70179de428
potential maps
2019-12-13 01:20:37 +00:00
Crypto City
8a9b3f0e66
more work on game update
2019-12-13 01:20:37 +00:00
Crypto City
2dbab85c58
quadtree: move to cc, and use std::shared_ptr instead of Urho3D's
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
1248fc2dc7
more work on trade command
2019-12-13 01:20:37 +00:00
Crypto City
33c36e8d8b
fix up tests after recent changes
2019-12-13 01:18:57 +00:00
Crypto City
257c6279fc
make create_account not a cc_command_base_t subclass
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
634e477278
"game" command, for consensus driven changes
2019-12-13 01:12:39 +00:00
Crypto City
98533616d3
add a repair field to flag
2019-12-13 01:12:39 +00:00
Crypto City
9dbb2c2f02
save support for magica models
2019-12-13 01:12:39 +00:00
Crypto City
5d74ba6159
don't accept "short" build commands
...
It'll increase tx size a bit, but is safer
2019-12-13 01:12:39 +00:00
Crypto City
26b36eb282
union/difference selection
2019-12-13 01:12:39 +00:00
Crypto City
fe57281088
fix unit tests
2019-12-13 01:12:39 +00:00
Crypto City
822d3796a1
buying blocks in game
2019-12-13 01:12:39 +00:00
Crypto City
5e9c11a642
quadtree fixes and unit tests
2019-12-13 01:10:16 +00:00
Crypto City
2369d280dd
buy_blocks command
2019-12-13 01:10:16 +00:00
Crypto City
392e0fc84b
some more build tests, and adjust build cost curve
2019-12-13 01:10:16 +00:00
Crypto City
917dcd5485
build command
2019-12-13 01:10:16 +00:00
Crypto City
20a2108f94
fix buy land unit test
2019-12-13 01:09:15 +00:00
Crypto City
7b6648b77c
buy_land core tests
2019-12-13 01:09:15 +00:00
Crypto City
647734e59b
remove address book payment_id left after rebase
2019-12-13 01:08:07 +00:00
Crypto City
24f9900670
cleaner code to handle command specific code
...
also add the start of a cc consensus rules class
2019-12-13 01:08:07 +00:00
Crypto City
b8df9f7adb
even more unit tests
2019-12-13 01:07:45 +00:00
Crypto City
9ba3a6e427
more unit tests
2019-12-13 01:07:45 +00:00
Crypto City
aaf0f5098a
remove now obsolete view public key, abortive subaddress support, etc
2019-12-13 01:07:45 +00:00
Crypto City
0a36d2a12b
unit tests
2019-12-13 01:07:03 +00:00
Crypto City
a57e103b31
rework cc_command
2019-12-13 01:07:03 +00:00
Crypto City
dc153a504e
bare txes
2019-12-13 01:05:08 +00:00
Crypto City
2f135eedbd
basic account system and tests
2019-12-13 01:01:05 +00:00
Crypto City
b17da7dd40
transactions can now involved cc accounts (wip)
2019-12-13 01:00:34 +00:00
Crypto City
b9ea0d835c
foo!
2019-12-13 00:55:07 +00:00
luigi1111
dad4cf121e
Merge pull request #6018
...
dce6f05
rpc: Only show version string if it matches expected pattern (ndorf)
3293780
daemon: Use rpc for 'version' command (ndorf)
2019-12-12 13:36:05 -06:00
moneromooo-monero
02b8051339
unit_tests: remove invalid bulletproofs unit test
...
It was intended to check a case which is actually valid (0 gamma),
but was actually duplicating the bad amount test.
Reported by WhatDo_ on IRC.
2019-12-01 15:40:59 +00:00
Lee Clagett
68a6507c3f
Fixed bug in ZMQ JSON-RPC method field
2019-11-18 12:59:41 +00:00
Nathan Dorfman
dce6f055f9
rpc: Only show version string if it matches expected pattern
2019-11-12 18:19:24 -07:00
Lee Clagett
70c9cd3c9c
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
2019-11-04 09:23:20 +00:00
Lee Clagett
a9bdc6e4c4
Improved performance for epee serialization:
...
- Removed copy of field names in binary deserialization
- Removed copy of array values in binary deserialization
- Removed copy of string values in json deserialization
- Removed unhelpful allocation in json string value parsing
- Removed copy of blob data on binary and json serialization
2019-11-04 01:46:41 +00:00
Lee Clagett
5d7ae2d279
Adding support for hidden (anonymity) txpool
2019-11-02 20:36:03 +00:00
moneromooo-monero
1554a7768b
unit_tests: fix use after free
2019-10-30 18:40:20 +00:00
luigi1111
bb2bcf3521
Merge pull request #5972
...
9447e72
cryptonote: add function to get weight from a pruned tx (moneromooo-monero)
2019-10-22 10:52:14 -05:00
luigi1111
84ce43a239
Merge pull request #5966
...
be82c40
Support median block size > 4 GB (moneromooo-monero)
2019-10-22 10:08:32 -05:00
moneromooo-monero
be82c40703
Support median block size > 4 GB
...
add a 128/64 division routine so we can use a > 32 bit median block
size in calculations
2019-10-21 10:41:07 +00:00
moneromooo-monero
c65a221549
unit_tests: fix build after rename
2019-10-15 13:15:19 +00:00
xiphon
d4d2b5c79a
p2p+rpc: don't skip p2p or rpc port bind failure by default
2019-10-13 13:27:46 +00:00
moneromooo-monero
9447e7276d
cryptonote: add function to get weight from a pruned tx
...
The weight of the prunable data is deterministic from the
unpruned data, so it can be determined from a pruned tx
2019-10-11 12:08:36 +00:00
moneromooo-monero
77afe91db6
unit_tests: fix build with boost 1.69
2019-10-11 01:16:03 +00:00
luigi1111
bf525793c7
Merge pull request #5915
...
8330e77
monerod can now sync from pruned blocks (moneromooo-monero)
2019-10-08 15:55:03 -05:00
luigi1111
0e4ab6091c
Merge pull request #5960
...
ae34e1b
unit_tests: fix ringdb unit tests (moneromooo-monero)
2019-10-08 14:49:57 -05:00
luigi1111
342e7f844f
Merge pull request #5921
...
2a7d915
Fixed i2p/tor tx flooding bug (white noise disabled) (vtnerd)
2019-10-08 14:31:53 -05:00
moneromooo-monero
ae34e1ba1c
unit_tests: fix ringdb unit tests
2019-10-04 21:11:46 +00:00
luigi1111
40501cc131
Merge pull request #5895
...
fdc00d0
unit tests: replace global var with lambda returning static local var (stoffu)
2019-09-30 18:46:34 -05:00
moneromooo-monero
8330e772f1
monerod can now sync from pruned blocks
...
If the peer (whether pruned or not itself) supports sending pruned blocks
to syncing nodes, the pruned version will be sent along with the hash
of the pruned data and the block weight. The original tx hashes can be
reconstructed from the pruned txes and theur prunable data hash. Those
hashes and the block weights are hashes and checked against the set of
precompiled hashes, ensuring the data we received is the original data.
It is currently not possible to use this system when not using the set
of precompiled hashes, since block weights can not otherwise be checked
for validity.
This is off by default for now, and is enabled by --sync-pruned-blocks
2019-09-27 00:10:37 +00:00
luigi1111
3f6096867d
Merge pull request #5916
...
7b076d5
p2p: fix bans taking port into account (moneromooo-monero)
2019-09-24 10:42:29 -05:00
luigi1111
06bee964a8
Merge pull request #5878
...
f9b3f6e
Removed Berkeley DB and db switching logic (JesusRami)
2019-09-24 10:10:28 -05:00
luigi1111
ee6e849627
Merge pull request #5877
...
2cd4fd8
Changed the use of boost:value_initialized for C++ list initializer (JesusRami)
4ad191f
Removed unused boost/value_init header (whyamiroot)
928f4be
Make null hash constants constexpr (whyamiroot)
2019-09-24 10:08:44 -05:00
moneromooo-monero
7b076d5170
p2p: fix bans taking port into account
2019-09-16 22:45:45 +00:00
moneromooo-monero
32f725d32f
Properly format multiline logs
...
As a side effect, colouring on Windows should now work
regardless of version
2019-09-16 16:58:01 +00:00
Jesus Ramirez
f9b3f6ef3b
Removed Berkeley DB and db switching logic
2019-09-16 16:18:05 +02:00
luigi1111
d663e1e3db
Merge pull request #5818
...
f91a06c
Dropping cppzmq dependency; adding some zmq utils (vtnerd)
2019-09-14 13:25:14 -05:00
stoffu
fdc00d0906
unit tests: replace global var with lambda returning static local var
...
Fixes assertion failure (curstate == 1) in random.c in debug mode
2019-09-09 11:44:06 +09:00
luigi1111
d0d76f771a
Merge pull request #5876
...
a5c7eeb
unit_tests: fix build with CLANG 8 and boost 1.69 (moneromooo-monero)
2019-09-08 20:10:44 -05:00
luigi1111
d91393daaf
Merge pull request #5856
...
f56e160
unit_tests: Fix uninitialized values (liptakmatyas)
2019-09-08 20:06:04 -05:00
moneromooo-monero
0e2fda5bf0
unit_tests: fix levin unit test on big endian
2019-09-04 14:53:58 +00:00
moneromooo-monero
d046ca1db0
difficulty: fix check_hash on big endian
2019-09-04 14:53:53 +00:00
Jesus Ramirez
2cd4fd8972
Changed the use of boost:value_initialized for C++ list initializer
2019-09-02 14:16:29 +02:00
moneromooo-monero
a5c7eebaea
unit_tests: fix build with CLANG 8 and boost 1.69
2019-08-30 11:43:03 +00:00
luigi1111
98af2e954b
Merge pull request #5793
...
bdfc63a
Add ref-counted buffer byte_slice. Currently used for sending TCP data. (vtnerd)
3b24b1d
Added support for 'noise' over I1P/Tor to mask Tx transmission. (vtnerd)
2019-08-29 14:36:41 -05:00
luigi1111
85014813cf
Merge pull request #5707
...
3a0451a
MLSAG speedup and additional checks (SarangNoether)
2019-08-28 02:22:00 -05:00
Sarang Noether
3a0451a8be
MLSAG speedup and additional checks
2019-08-27 16:22:44 -04:00
Matyas Liptak
f56e160217
unit_tests: Fix uninitialized values
...
- Initialize the `hash` in the `get_block_hash()` function of the
`output_distribution` unit test explicitly, to silence `valgrind`
warnings.
2019-08-27 09:17:34 +02:00
luigi1111
a8e99198bf
Merge pull request #5748
...
b350726
boost: update obsolete usage of endian API (moneromooo-monero)
2019-08-21 15:18:38 -05:00
luigi1111
f205d28e96
Merge pull request #5727
...
7b9a420
Replace std::random_shuffle with std::shuffle (tomsmeding)
2019-08-19 17:31:39 -05:00
luigi1111
2da11baecc
Merge pull request #5718
...
c8709fe
wallet: do not print log settings when unset (moneromooo-monero)
7b18e83
unit_tests: check return values on test data parsing (moneromooo-monero)
2019-08-19 17:17:11 -05:00
moneromooo-monero
eeca5ca0c8
epee: support unicode in parsed strings
2019-08-16 17:06:03 +00:00
luigi1111
86ee631212
Merge pull request #5652
...
f81cb4f
unit_tests: add more leeway to the 'same distribution' check (moneromooo-monero)
2019-08-15 17:13:18 -05:00
Tom Smeding
7b9a420787
Replace std::random_shuffle with std::shuffle
...
According to [1], std::random_shuffle is deprecated in C++14 and removed
in C++17. Since std::shuffle is available since C++11 as a replacement
and monero already requires C++11, this is a good replacement.
A cryptographically secure random number generator is used in all cases
to prevent people from perhaps copying an insecure std::shuffle call
over to a place where a secure one would be warranted. A form of
defense-in-depth.
[1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
2019-08-15 16:33:15 +02:00
Lee Clagett
2a7d91523b
Fixed i2p/tor tx flooding bug (white noise disabled)
2019-07-29 12:27:00 +00:00
luigi1111
7fc76451a5
Merge pull request #5529
...
de27651
use crypto::rand instead of libc rand in a few tests (moneromooo-monero)
2019-07-24 14:06:11 -05:00
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
2019-07-24 13:57:06 -05:00
Lee Clagett
f91a06c6d7
Dropping cppzmq dependency; adding some zmq utils
2019-07-22 06:37:16 +00:00
Lee Clagett
3b24b1d082
Added support for "noise" over I1P/Tor to mask Tx transmission.
2019-07-17 14:22:37 +00:00
Lee Clagett
bdfc63ae4d
Add ref-counted buffer byte_slice. Currently used for sending TCP data.
2019-07-16 16:30:35 +00:00
moneromooo-monero
65c4004963
allow blocking whole subnets
2019-07-16 11:35:53 +00:00
moneromooo-monero
b350726a5a
boost: update obsolete usage of endian API
2019-07-09 15:07:13 +00:00
moneromooo-monero
c2238327d0
keccak: guard against misaligned memory accesses on ARM
...
The code generated is exactly the same as the direct access
one on x86_64
2019-07-04 22:13:16 +00:00
moneromooo-monero
7b18e838ea
unit_tests: check return values on test data parsing
...
Won't trigger in practice, but you never know when that code changes
Coverity 199723, 199685
2019-07-01 15:17:30 +00:00
moneromooo-monero
f81cb4f24b
unit_tests: add more leeway to the "same distribution" check
...
This is an inherently probabilistic check, which occasionally fails
for a matching distribution
2019-06-16 12:18:28 +00:00
moneromooo-monero
dbecfe7d5d
unit_tests: make the density test a bit less stringent
...
It's an inherently random test
2019-05-20 10:42:50 +00:00
moneromooo-monero
de27651f80
use crypto::rand instead of libc rand in a few tests
...
We don't need secure randomness here, but it should shut coverity up
2019-05-10 14:15:35 +00:00
Riccardo Spagni
f64f59627d
Merge pull request #5510
...
e9809382
fix wide difficulty conversion with some versions of boost (moneromooo-monero)
2019-05-07 17:36:27 +02:00
Riccardo Spagni
97cb1c9436
Merge pull request #5508
...
1c44e658
wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
2019-05-07 17:35:28 +02:00
Riccardo Spagni
2d04b0e500
Merge pull request #5499
...
a4c4a2d8
blockchain: keep a rolling long term block weight median (moneromooo-monero)
2019-05-07 17:31:45 +02:00
Riccardo Spagni
9d91301faa
Merge pull request #5496
...
0eb0d6b8
rpc: improve get_output_distribution (moneromooo-monero)
2019-05-07 17:30:27 +02:00
moneromooo-monero
a4c4a2d8aa
blockchain: keep a rolling long term block weight median
2019-05-02 09:47:01 +00:00
moneromooo-monero
e980938210
fix wide difficulty conversion with some versions of boost
2019-05-01 19:58:09 +00:00
moneromooo-monero
1c44e65863
wallet2: reject standalone short payment IDs in monero: URI API
2019-05-01 18:41:39 +00:00
moneromooo-monero
1a66a86f94
remove unused code
2019-04-29 20:52:40 +00:00
moneromooo-monero
25a7cfdb4a
add a few checks where it seems appropriate
2019-04-29 20:52:40 +00:00
moneromooo-monero
a59c27465b
unit_tests: fix crash in debug in output_distribution test
...
updating the block size limit needs recent block sizes,
so we feed it dummy ones
2019-04-25 22:49:10 +00:00
moneromooo-monero
0eb0d6b802
rpc: improve get_output_distribution
...
It can now handle small reorgs without having to rescan the
whole blockchain.
Also add a test for it.
2019-04-25 16:49:29 +00:00
moneromooo-monero
c07366430a
unit_tests: don't delete log file on windows, it will fail
2019-04-23 15:27:54 +00:00
Lee Clagett
55aae6a9a3
Fix socks tests in windows and handle errors better
2019-04-19 01:10:02 -04:00
moneromooo-monero
35e0a968bd
wallet2: "output lineup" fake out selection
...
Based on python code by sarang:
https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
2019-04-18 15:14:38 +00:00
Riccardo Spagni
e9464eb5e3
Merge pull request #5413
...
5fafb90e
testdb: add override keyword where missing (stoffu)
2019-04-17 08:27:36 +02:00
stoffu
5fafb90e91
testdb: add override keyword where missing
...
and delete obsolete BlockchainBDB::get_tx_output_indices along the way
2019-04-17 10:26:25 +09:00
moneromooo-monero
e3dea47859
unit_tests: undo is_blocked implementation factoring
...
The is_host_blocked method is not on master yet
2019-04-16 22:23:15 +00:00
Riccardo Spagni
8d16e92dcb
Merge pull request #5425
...
58585986
p2p: fix integer overflow in host bans (moneromooo-monero)
2019-04-16 22:38:56 +02:00
Riccardo Spagni
a1ea611e24
Merge pull request #5424
...
93bb2f48
ringct: prevent use of full ringct signatures for more than one input (moneromooo-monero)
2019-04-16 22:38:32 +02:00
Riccardo Spagni
0d2aaac15b
Merge pull request #5414
...
e9fac29a
unit_tests/long_term_block_weight: some tweaks that seem to make more sense (stoffu)
467f4c7e
tests/block_weight: use integer division when computing median (stoffu)
815d08dc
tests/block_weight: remove unused MULTIPLIER_SMALL (stoffu)
661f1fb8
blockchain: remove unused calc of short_term_constraint (stoffu)
2019-04-16 22:37:02 +02:00
moneromooo-monero
5e673c03fe
blockchain_db: fix db txn ending too early
...
The db txn in add_block ending caused the entire overarching
batch txn to stop.
Also add a new guard class so a db txn can be stopped in the
face of exceptions.
Also use a read only db txn in init when the db itself is
read only, and do not save the max tx size in that case.
2019-04-14 08:35:38 +00:00
moneromooo-monero
5858598604
p2p: fix integer overflow in host bans
2019-04-11 21:59:27 +00:00
moneromooo-monero
93bb2f48f7
ringct: prevent use of full ringct signatures for more than one input
2019-04-11 19:44:06 +00:00
stoffu
e9fac29a4b
unit_tests/long_term_block_weight: some tweaks that seem to make more sense
2019-04-09 20:21:45 +09:00
Riccardo Spagni
c34930c207
Merge pull request #5391
...
71907980
unit_tests: fix long term block weight test after cache change (moneromooo-monero)
2019-04-06 16:04:27 +02:00
Riccardo Spagni
c96fc4bf59
Merge pull request #5341
...
0218bc49
test: hmac_keccak - fix number of chunks counting (Dusan Klinec)
2019-04-06 15:57:28 +02:00
moneromooo-monero
7190798049
unit_tests: fix long term block weight test after cache change
2019-04-03 00:10:48 +00:00
Riccardo Spagni
e55b3f9dda
Merge pull request #5239
...
91f4c7f4
Make difficulty 128 bit instead of 64 bit (moneromooo-monero)
2019-04-01 17:19:10 +02:00
Lee Clagett
7acfa9f3cc
Added socks proxy (tor/i2pd/kovri) support to wallet
2019-03-25 01:35:13 +00:00
moneromooo-monero
91f4c7f45f
Make difficulty 128 bit instead of 64 bit
...
Based on Boolberry work by:
jahrsg <jahr@jahr.me>
cr.zoidberg <crypto.zoidberg@gmail.com>
2019-03-24 21:03:19 +00:00
Dusan Klinec
0218bc497d
test: hmac_keccak - fix number of chunks counting
2019-03-24 20:24:28 +01:00
Riccardo Spagni
37ee4acf48
Merge pull request #5274
...
dc0c0c91
tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
2019-03-24 19:35:11 +02:00
Riccardo Spagni
5ac46c5310
Merge pull request #5256
...
4b21d38d
blockchain: speed up getting N blocks weights/long term weights (moneromooo-monero)
2019-03-21 14:48:40 +02:00
Riccardo Spagni
48e3a341f8
Merge pull request #5211
...
c9b13fbb
tests/trezor: HF9 and HF10 tests (Dusan Klinec)
a1fd1d49
device/trezor: HF10 support added, wallet::API (Dusan Klinec)
d74d26f2
crypto: hmac_keccak added (Dusan Klinec)
2019-03-21 14:44:04 +02:00
Dusan Klinec
d74d26f2c9
crypto: hmac_keccak added
2019-03-20 21:11:01 +01:00
Lee Clagett
0c7e7bce18
Adding classes, functions, and utilities for common LMDB operations.
2019-03-19 17:52:26 +00:00
moneromooo-monero
dc0c0c91c5
tests: disable wallet SSL init for tests involving wallet2
2019-03-12 20:43:02 +00:00
moneromooo-monero
4b21d38dfd
blockchain: speed up getting N blocks weights/long term weights
2019-03-08 12:04:14 +00:00
binaryFate
1f2930ce0b
Update 2019 copyright
2019-03-05 22:05:34 +01:00
Riccardo Spagni
5bbbe3902b
Merge pull request #4852
...
057c279c
epee: add SSL support (Martijn Otto)
2019-03-05 16:21:30 +02:00
Martijn Otto
057c279cb4
epee: add SSL support
...
RPC connections now have optional tranparent SSL.
An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.
SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.
Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.
To generate long term certificates:
openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT
/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.
SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
2019-03-05 14:16:08 +01:00
moneromooo-monero
88c85c18e0
cryptonote: avoid double parsing blocks when syncing
2019-03-05 11:58:18 +00:00
moneromooo-monero
79b4e9f377
save some database calls when getting top block hash and height
2019-03-05 11:58:05 +00:00
moneromooo-monero
b044d03a51
Avoid repeated (de)serialization when syncing
2019-03-05 11:57:55 +00:00
Riccardo Spagni
d3f39da7c8
Merge pull request #5117
...
fcd00079
unit_tests: remove leftover debug print (moneromooo-monero)
2019-03-04 21:26:14 +02:00
moneromooo-monero
b8787f4302
ArticMine's new block weight algorithm
...
This curbs runaway growth while still allowing substantial
spikes in block weight
Original specification from ArticMine:
here is the scaling proposal
Define: LongTermBlockWeight
Before fork:
LongTermBlockWeight = BlockWeight
At or after fork:
LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight)
Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time.
Define: LongTermEffectiveMedianBlockWeight
LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight))
Change Definition of EffectiveMedianBlockWeight
From (current definition)
EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight))
To (proposed definition)
EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight)
Notes:
1) There are no other changes to the existing penalty formula, median calculation, fees etc.
2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork.
3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty.
Note: the long term block weight is stored in the database, but not in the actual block itself,
since it requires recalculating anyway for verification.
2019-03-04 09:33:58 +00:00
moneromooo-monero
fcd0007952
unit_tests: remove leftover debug print
2019-02-01 19:14:55 +00:00
Lee Clagett
973403bc9f
Adding initial support for broadcasting transactions over Tor
...
- Support for ".onion" in --add-exclusive-node and --add-peer
- Add --anonymizing-proxy for outbound Tor connections
- Add --anonymous-inbounds for inbound Tor connections
- Support for sharing ".onion" addresses over Tor connections
- Support for broadcasting transactions received over RPC exclusively
over Tor (else broadcast over public IP when Tor not enabled).
2019-01-28 23:56:33 +00:00
moneromooo-monero
f6db59b011
notify: handle arbitrary tags
2019-01-28 19:32:28 +00:00
Riccardo Spagni
8fafdc4767
Merge pull request #5064
...
5ecc5cc7
added two tests for partial word and case tolerance in mnemonics (Paul Shapiro)
2019-01-28 21:30:54 +02:00
Riccardo Spagni
0daa00e035
Merge pull request #5052
...
b6534c40
ringct: remove unused senderPk from ecdhTuple (moneromooo-monero)
7d375981
ringct: the commitment mask is now deterministic (moneromooo-monero)
99d946e6
ringct: encode 8 byte amount, saving 24 bytes per output (moneromooo-monero)
cdc3ccec
ringct: save 3 bytes on bulletproof size (moneromooo-monero)
f931e16c
add a bulletproof version, new bulletproof type, and rct config (moneromooo-monero)
2019-01-28 21:24:55 +02:00
moneromooo-monero
b6534c40e6
ringct: remove unused senderPk from ecdhTuple
...
This was an early ringct field, which was never used in production
2019-01-22 23:17:42 +00:00
moneromooo-monero
7d37598158
ringct: the commitment mask is now deterministic
...
saves space in the tx and is safe
Found by knaccc
2019-01-22 23:17:39 +00:00
moneromooo-monero
99d946e619
ringct: encode 8 byte amount, saving 24 bytes per output
...
Found by knaccc
2019-01-22 23:17:31 +00:00
moneromooo-monero
f931e16c6e
add a bulletproof version, new bulletproof type, and rct config
...
This makes it easier to modify the bulletproof format
2019-01-22 23:17:24 +00:00
moneromooo-monero
b750fb27b0
Pruning
...
The blockchain prunes seven eighths of prunable tx data.
This saves about two thirds of the blockchain size, while
keeping the node useful as a sync source for an eighth
of the blockchain.
No other data is currently pruned.
There are three ways to prune a blockchain:
- run monerod with --prune-blockchain
- run "prune_blockchain" in the monerod console
- run the monero-blockchain-prune utility
The first two will prune in place. Due to how LMDB works, this
will not reduce the blockchain size on disk. Instead, it will
mark parts of the file as free, so that future data will use
that free space, causing the file to not grow until free space
grows scarce.
The third way will create a second database, a pruned copy of
the original one. Since this is a new file, this one will be
smaller than the original one.
Once the database is pruned, it will stay pruned as it syncs.
That is, there is no need to use --prune-blockchain again, etc.
2019-01-22 20:30:51 +00:00
Riccardo Spagni
aa5b0c7f71
Merge pull request #5028
...
464097e5
blockchain_ancestry: allow getting ancestry of a single output (moneromooo-monero)
a6216d1a
blockchain_db: allow getting output keys without commitment (moneromooo-monero)
2019-01-18 09:25:34 +02:00
moneromooo-monero
a6216d1ac2
blockchain_db: allow getting output keys without commitment
...
Since the commitment has to be calculated for non rct outputs,
it slows down a lot unnecessarily if we don't need it
2019-01-16 20:13:08 +00:00
moneromooo-monero
21777daf6e
epee: speedup word/number matching
...
Number matching semantics are slightly changed: since this is used
as a filter to check whether a number is signed and/or floating
point, we can speed this up further. strto* functions are called
afterwards and will error out where necessary. We now also accept
numbers like .4 which were not accepted before.
The strto* calls on a boost::string_ref will not access unallocated
memory since the parsers always stop at the first bad character,
and the original string is zero terminated.
in arbitrary time measurement units for some arbitrary test case:
match_number2: 235 -> 70
match_word2: 330 -> 108
2019-01-16 19:59:40 +00:00
Riccardo Spagni
9d57ee9ff6
Merge pull request #4984
...
008647d7
blockchain_db: speedup tx output gathering (moneromooo-monero)
2019-01-16 19:06:07 +02:00
Riccardo Spagni
846362842c
Merge pull request #4976
...
85665003
epee: better network buffer data structure (moneromooo-monero)
2019-01-16 19:04:22 +02:00
Paul Shapiro
5ecc5cc790
added two tests for partial word and case tolerance in mnemonics
2019-01-11 13:46:20 -06:00
moneroexamples
ec68cf822f
Make get_output_key method const
...
get_output_key method is commonly used when working with txs and their key images. Because the method is not const, passing blockchain object though const& or pointers to const is not possible in this context. This is especially problematic in external projects (e.g., projects in moneroexamples) that use monero C++ api to operate on the blockchain and txs.
Thus, having get_output_key method will simplify moving blockchain object around through const references and pointers to const objects.
2019-01-07 05:53:14 +08:00
Riccardo Spagni
577a8f5c84
Merge pull request #4952
...
570dd369
p2p: use vector instead of list for peer lists (moneromooo-monero)
2019-01-06 20:39:07 +02:00
luigi1111
4a78bcd275
Merge pull request #4941
...
1cfd6f1
unit_tests: strengthen notify test against OS scheduling (moneromooo-monero)
2018-12-31 15:48:52 -06:00
moneromooo-monero
85665003a7
epee: better network buffer data structure
...
avoids pointless allocs and memcpy
2018-12-23 16:46:07 +00:00
moneromooo-monero
008647d7eb
blockchain_db: speedup tx output gathering
...
We know all the data we'll want for getblocks.bin is contiguous
2018-12-18 11:55:21 +00:00
Riccardo Spagni
d855f9bb92
Merge pull request #4901
...
a48f2dab
blockchain_prune_known_spent_data: blackball file is now optional (moneromooo-monero)
17b45725
Outputs where all amounts are known spent can now be pruned (moneromooo-monero)
2018-12-12 11:57:31 +02:00
Riccardo Spagni
dde1e69723
Merge pull request #4787
...
3dba7f25
protocol: option to pad transaction relay to the next kB (moneromooo-monero)
2018-12-12 11:53:10 +02:00
moneromooo-monero
570dd3690e
p2p: use vector instead of list for peer lists
2018-12-07 13:20:34 +00:00
moneromooo-monero
1cfd6f1060
unit_tests: strengthen notify test against OS scheduling
2018-12-05 00:32:02 +00:00
Riccardo Spagni
36219feff1
Merge pull request #4895
...
3de7d52f
unit_tests: fix malloc/delete mismatch (moneromooo-monero)
2018-12-04 17:33:31 +02:00
Riccardo Spagni
81418cb281
Merge pull request #4894
...
aee7a4e3
wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)
1a0733e5
windows_service: fix memory leak (moneromooo-monero)
0dac3c64
unit_tests: do not rethrow a copy of an exception (moneromooo-monero)
5d9915ab
cryptonote: fix get_unit for non default settings (moneromooo-monero)
d4f50cb1
remove some unused code (moneromooo-monero)
61163971
a few minor (but easy) performance tweaks (moneromooo-monero)
30023074
tests: slow_memmem now returns size_t (moneromooo-monero)
2018-12-04 17:33:19 +02:00
moneromooo-monero
ec1a62b50d
move int-util.h to epee
2018-12-04 15:14:29 +00:00
Riccardo Spagni
c00ac446fd
Merge pull request #4854
...
bd98e99c
Removed a lot of unnecessary includes (Martijn Otto)
2018-12-04 17:08:42 +02:00
Riccardo Spagni
40650b43b8
Merge pull request #4850
...
b36353e2
unit_tests: add some hex parsing test for non hex input (xiphon)
6671110c
unit_tests: add a test for parse_hexstr_to_binbuff (moneromooo-monero)
f6187cd8
epee: speed up parse_hexstr_to_binbuff a little (Howard Chu)
2018-12-04 17:07:19 +02:00
Riccardo Spagni
3552553f89
Merge pull request #4848
...
80be2dca
unit_tests: don't take the address of an unwrapped secret key (moneromooo-monero)
2018-12-04 17:06:47 +02:00