sumogr
121cdd5012
remove double includes
4 years ago
SomaticFanatic
bcd71a5af9
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
Doyle
e0a9633557
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.
4 years ago
fuwa
533f58dae6
tests: fix build for wow
4 years ago
Lee Clagett
4c757a7a2a
Fixed bugs for take_slice and byte_stream->byte_slice
4 years ago
Lee Clagett
0b8e49a0aa
Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.
4 years ago
Sarang Noether
ecc2c3b707
Bulletproofs: verification speedup
4 years ago
Sumo Gr
8347fb8d58
unit_tests: fix gcc+ warning
4 years ago
Lee Clagett
9fb542e89c
Use byte_slice for sending zmq messages - removes data copy within zmq
4 years ago
Lee Clagett
b7be110ec3
Fixed string_ref usage bug in epee::from_hex::vector
4 years ago
Lee Clagett
94f4af6cc4
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
4 years ago
luigi1111
d1f3d3376d
Merge pull request #6381
...
e719760
Fix receive order leakage with tx fluffing (vtnerd)
4 years ago
luigi1111
5757d99208
Merge pull request #6361
...
68a6507
Fixed bug in ZMQ JSON-RPC method field (vtnerd)
4 years ago
luigi1111
0150a480fd
Merge pull request #6357
...
42a7a4d
daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
4 years ago
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)
4 years ago
luigi1111
bf70696a85
Merge pull request #6346
...
dbfa4f8
unit_tests: fix missing test names (xiphon)
4 years ago
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
4 years ago
luigi1111
292e2d8f28
Merge pull request #6335
...
0078ce7
wipeable_string: split - treat CR, LF and Tabs as separators (xiphon)
4 years ago
luigi1111
096e2135dd
Merge pull request #6214
...
054b4c7
protocol: request txpool contents when synced (moneromooo-monero)
4 years ago
Lee Clagett
0c29e17581
Fix network unit tests after epee changes
4 years ago
Alexander Blair
7d4a93fab3
Merge pull request #6285
...
d0641b42
net: fix incorrect less operator for top/i2p addresses (Aaron Hook)
4 years ago
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
4 years ago
Aaron Hook
aa93e38862
p2p: remove old debug commands
4 years ago
Alexander Blair
820ab9fdea
Merge pull request #6273
...
0f78b06e
Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
4 years ago
Lee Clagett
e719760253
Fix receive order leakage with tx fluffing
4 years ago
Lee Clagett
5fcc23ae0a
Move hex->bin conversion to monero copyright files and with less includes
4 years ago
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.
4 years ago
Alexander Blair
944e8a4542
Merge pull request #6220
...
a9bdc6e4
Improved performance for epee serialization: (Lee Clagett)
4 years ago
Alexander Blair
e7997cd62a
Merge pull request #6202
...
02b80513
unit_tests: remove invalid bulletproofs unit test (moneromooo-monero)
4 years ago
xiphon
42a7a4dd32
daemon: auto public nodes - cache and prioritize most stable nodes
4 years ago
xiphon
dbfa4f84ee
unit_tests: fix missing test names
4 years ago
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
4 years ago
xiphon
0078ce7fac
wipeable_string: split - treat CR, LF and Tabs as separators
4 years ago
moneromooo-monero
dd8c6b1703
wallet: do not split integrated addresses in address book api
4 years ago
Aaron Hook
d0641b42fe
net: fix incorrect less operator for top/i2p addresses
4 years ago
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)
5 years ago
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.
5 years ago
Lee Clagett
68a6507c3f
Fixed bug in ZMQ JSON-RPC method field
5 years ago
Nathan Dorfman
dce6f055f9
rpc: Only show version string if it matches expected pattern
5 years ago
Lee Clagett
70c9cd3c9c
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
5 years ago
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
5 years ago
Lee Clagett
5d7ae2d279
Adding support for hidden (anonymity) txpool
5 years ago
moneromooo-monero
1554a7768b
unit_tests: fix use after free
5 years ago
luigi1111
bb2bcf3521
Merge pull request #5972
...
9447e72
cryptonote: add function to get weight from a pruned tx (moneromooo-monero)
5 years ago
luigi1111
84ce43a239
Merge pull request #5966
...
be82c40
Support median block size > 4 GB (moneromooo-monero)
5 years ago
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
5 years ago
moneromooo-monero
c65a221549
unit_tests: fix build after rename
5 years ago
xiphon
d4d2b5c79a
p2p+rpc: don't skip p2p or rpc port bind failure by default
5 years ago
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
5 years ago
moneromooo-monero
77afe91db6
unit_tests: fix build with boost 1.69
5 years ago