selsta
a492c4e3ab
blockchain: fix pedantic assert
2021-10-14 02:42:02 +02:00
Howard Chu
3a3fbc3347
ARMv8: detect AES support dynamically
2021-10-11 19:51:11 +01:00
luigi1111
88b80583b8
Merge pull request #7978
...
4d224de
Quicker resource cleanup on p2p socks timeout (Lee *!* Clagett)
2021-10-11 13:03:40 -05:00
luigi1111
e6f07c0379
Merge pull request #7959
...
209c031
rpc: Fix get_transactions failing when not found (Nathan Dorfman)
2021-10-11 12:58:42 -05:00
luigi1111
6f2ebee8ff
Merge pull request #7873
...
d4c7549
node_server: fix race condition (anon)
2909bd1
node_server: add race condition demo (anon)
2021-10-11 12:55:31 -05:00
rbrunner7
4760f8b49b
Wallet2: Update 'approximate_testnet_rolled_back_blocks'
2021-10-07 04:54:03 +02:00
lza_menace
1219c74e80
add singapore.node.xmr.pm to seed nodes
2021-10-06 01:58:51 +02:00
selsta
689dd52a9d
net_node: add seed node
2021-10-06 01:58:51 +02:00
rbrunner7
e2c802f6b2
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
2021-10-06 01:58:50 +02:00
anon
fe6ab93fb0
daemon: allow proxy configuration
...
Co-authored-by: selsta <selsta@sent.at>
Co-authored-by: tobtoht <thotbot@protonmail.com>
2021-10-06 01:58:50 +02:00
xiphon
52dcc03068
bootstrap_daemon: proxy configuration support
2021-10-06 01:58:46 +02:00
moneromooo-monero
a6df656b4e
wallet2: chunk get_outs.bin calls to avoid sanity limits
2021-10-06 01:56:27 +02:00
j-berman
c599b56f2c
Decrease the "recent spend window" in gamma re-select to 15 blocks
...
- combined with patching integer truncation (#7798 ), this gets the algorithm marginally closer to mirroring empirically observed output ages
- 50 was originally chosen assuming integer truncation would remain in the client for that client release version. But patching integer truncation causes the client to select more outputs in the 10-100 block range, and therefore the benefit of choosing a larger recent spend window of 50 has less merit
- 15 seems well-suited to cover the somewhat sizable observable gap in the early window of blocks
2021-10-04 20:12:23 -07:00
Lee *!* Clagett
4d224de6e5
Quicker resource cleanup on p2p socks timeout
2021-09-27 13:47:51 +00:00
luigi1111
2243318000
Merge pull request #7964
...
d51e3f2
RPC and ZeroMQ APIs to support p2pool (SChernykh)
2021-09-23 22:24:48 -05:00
SChernykh
d51e3f21f7
RPC and ZeroMQ APIs to support p2pool
...
Adds the following:
- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts
Both provide the necessary data to create a custom block template. They are used by p2pool.
Data provided:
- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
2021-09-21 20:28:11 +02:00
Nathan Dorfman
209c031b93
rpc: Fix get_transactions failing when not found
2021-09-20 17:22:16 -06:00
anon
d4c754923e
node_server: fix race condition
2021-09-20 20:58:24 +00:00
j-berman
3d9f34875c
Fix precision of average_output_time
...
The fix as suggested by <jberman> on IRC. Before the fix, it would truncate 1.9 to 1 skewing the output selection.
2021-09-12 10:04:25 +02:00
selsta
24f3e4c72e
simplewallet: don't truncate integ. address in export_transfers
2021-09-10 12:27:41 -06:00
mj-xmr
cf65e5b41b
LMDB: protection against UB, by not calling virtual methods from destructor - v0.17
2021-09-09 08:18:21 +02:00
mj-xmr
56589ddab8
UB: virtual methods in destructor at Trezor
2021-09-08 16:19:26 +02:00
mj-xmr
36527c05bd
UB: virtual method in destructor of WalletImpl v0.17
2021-09-08 15:33:07 +02:00
mj-xmr
0ae1cd2413
v0.17: Fix Boost-1.77: Add missing algorithm header to i18n.cpp
2021-08-28 15:32:50 +02:00
luigi1111
317eceb725
Merge pull request #7894
...
c0ce4d5
Wallet2: fix optimize-coinbase for p2pool payouts (SChernykh)
2021-08-26 21:14:12 -04:00
luigi1111
d98787eb1b
Merge pull request #7825
...
ccfed60
cmake: test is a reserved keyword (selsta)
f0fa959
cmake: fix ccache detection (anon)
8dbe2e5
Daemon: Update average block size table (rbrunner7)
94bad34
wallet2: Don't auto lock device on process parsed blocks (tobtoht)
3c23aca
ledger: don't lock for software device (tobtoht)
49beb8d
ledger: use software device if we have view key (tobtoht)
d188b5f
wallet_api: getPassword (tobtoht)
a395f36
depends, docker: fix bintray links (selsta)
0fecd7e
blocks: fix cmake syntax (selsta)
76824bf
Stop adding more outputs than bulletproof allows (Alex Opie)
67ba733
unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
402ba04
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB (selsta)
1565bcb
epee: include public openssl header in cmake (selsta)
2e9af2a
cmake: treat warnings as error in compiler flag tests (selsta)
db564ef
wallet_api: fix typo in exportKeyImages (selsta)
8507917
depends: add getmonero package mirror (selsta)
8716d2a
cmake: fix non portable code (selsta)
2021-08-26 21:10:56 -04:00
luigi1111
ca1b1b7332
Merge pull request #7822
...
99bee1c
Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-26 21:08:56 -04:00
luigi1111
27c5013acd
Merge pull request #7805
...
1e037d3
build: prepare v0.17.2.3 (selsta)
2021-08-26 21:08:04 -04:00
SChernykh
c0ce4d5089
Wallet2: fix optimize-coinbase for p2pool payouts
...
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.
When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now.
With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction.
Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:51:07 +02:00
luigi1111
b864817629
Merge pull request #7879
...
be6c61e
wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:54 -04:00
luigi1111
a520234c51
Merge pull request #7848
...
adcf440
Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:19 -04:00
luigi1111
715ebcb744
Merge pull request #7846
...
2285c66
Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:48:14 -04:00
j-berman
2285c66ef1
Protect client from divide by 0 caused by integer truncation
2021-08-19 15:00:59 -07:00
j-berman
99bee1ccf0
Apply gamma distr from chain tip when selecting decoys
...
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:59:12 -07:00
tobtoht
be6c61e2ee
wallet_api: add make_uri
2021-08-19 15:52:01 +02:00
selsta
1e037d372a
build: prepare v0.17.2.3
2021-08-19 15:00:42 +02:00
woodser
6ec9fd6c08
support freeze, thaw, and frozen in wallet rpc
2021-08-12 09:13:09 -04:00
rbrunner7
8dbe2e57ac
Daemon: Update average block size table
2021-08-12 04:42:46 +02:00
luigi1111
64c320130f
Merge pull request #7839
...
925c6b6
provide key images of spent outputs in wallet rpc (woodser)
2021-08-11 22:41:04 -04:00
luigi1111
9f93fe1539
Merge pull request #7810
...
8eb2b79
p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:36:50 -04:00
luigi1111
db6688f584
Merge pull request #7801
...
07d82af
Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:33:04 -04:00
luigi1111
f00db20a5f
Merge pull request #7792
...
9b84043
fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:53 -04:00
j-berman
adcf440dcd
Make sure node returns to wallet that real output is unlocked
2021-08-11 07:26:56 -07:00
woodser
925c6b60e3
provide key images of spent outputs in wallet rpc
2021-08-07 09:36:45 -04:00
tobtoht
94bad34c26
wallet2: Don't auto lock device on process parsed blocks
2021-08-07 03:04:24 +02:00
tobtoht
3c23aca26b
ledger: don't lock for software device
2021-08-07 03:04:15 +02:00
tobtoht
49beb8da17
ledger: use software device if we have view key
2021-08-07 03:04:04 +02:00
tobtoht
d188b5f51f
wallet_api: getPassword
2021-08-07 03:03:40 +02:00
moneromooo-monero
8eb2b79bad
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 19:05:02 +00:00
luigi1111
3eb8f1458b
Merge pull request #7791
...
7e3f211
wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:40 -04:00
selsta
0fecd7eb86
blocks: fix cmake syntax
2021-08-01 15:47:11 +02:00
Alex Opie
76824bf827
Stop adding more outputs than bulletproof allows
...
If more outputs are requested, they are split across
multiple transactions.
#7322
2021-08-01 15:47:11 +02:00
selsta
db564efe0b
wallet_api: fix typo in exportKeyImages
2021-08-01 15:47:05 +02:00
selsta
8716d2ad9d
cmake: fix non portable code
2021-08-01 15:47:05 +02:00
luigi1111
8b63bb3c75
Merge pull request #7789
...
2161bd0
device: set correct ledger min version (selsta)
2021-07-27 17:05:11 -04:00
luigi1111
56ce7fca6f
Merge pull request #7781
...
4f7c38a
device_trezor_base: fix typo (anon)
2021-07-27 17:03:46 -04:00
SChernykh
07d82af979
Fixed json serialization of rct::RCTTypeNull
...
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 17:19:32 +02:00
Dusan Klinec
9b840439b9
fix #7784 - deinit wallet in wallet dtor
2021-07-14 15:08:06 +02:00
Dusan Klinec
7e3f211791
wallet: rephrase error message on invalid device address
2021-07-14 15:05:28 +02:00
selsta
2161bd0f3a
device: set correct ledger min version
2021-07-14 08:31:11 +02:00
anon
ceb8e7c508
cmake: fix undefined symbols and multiple definitions
2021-07-13 08:01:23 +02:00
anon
4f7c38a444
device_trezor_base: fix typo
2021-07-10 23:52:15 +00:00
luigi1111
a080c0be9c
Merge pull request #7678
...
dedcd63
wallet_api: import / export output function (tobtoht)
6e22710
expose set_offline to wallet api (benevanoff)
02e9a41
wallet_api: add isDeterministic() (tobtoht)
def5819
wallet_api: add seed_offset param to seed() (tobtoht)
73959c6
wallet_api: store fee for incoming txs in history (Ben Evanoff)
712f362
wallet api: allow wallet to fetch all key images via api (benevanoff)
153d08d
Allow tx note edits via TransactionHistory object in wallet/api (dsc)
2abd7b1
wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
9a50bef
Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
22bb6a6
Allow AddressBook description edits via wallet/api interface (dsc)
2021-05-12 16:55:38 -05:00
Nathan Dorfman
70c5c81670
wallet2: Fix rescan_bc keep_ki option
2021-04-22 16:15:01 -06:00
tobtoht
dedcd6304c
wallet_api: import / export output function
2021-04-22 04:33:11 +02:00
benevanoff
6e22710f0e
expose set_offline to wallet api
2021-04-22 04:33:03 +02:00
tobtoht
02e9a41cbe
wallet_api: add isDeterministic()
2021-04-22 04:32:50 +02:00
tobtoht
def58196da
wallet_api: add seed_offset param to seed()
2021-04-22 04:32:41 +02:00
Ben Evanoff
73959c623c
wallet_api: store fee for incoming txs in history
2021-04-22 04:32:32 +02:00
benevanoff
712f362150
wallet api: allow wallet to fetch all key images via api
2021-04-22 04:32:24 +02:00
dsc
153d08d026
Allow tx note edits via TransactionHistory object in wallet/api
2021-04-22 04:32:14 +02:00
xiphon
2abd7b174b
wallet_api: TransactionHistory - fill unconfirmed out payments dests
2021-04-22 04:32:06 +02:00
dsc
9a50bef3cd
Extend TransactionInfo with coinbase and description attributes in wallet/api
2021-04-22 04:31:44 +02:00
dsc
22bb6a654d
Allow AddressBook description edits via wallet/api interface
2021-04-22 04:31:36 +02:00
luigi1111
298208d92b
Merge pull request #7350
...
4a9ae3e
fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:21:28 -05:00
luigi1111
f719b74cd1
Merge pull request #7638
...
c18cdd3
build: prepare v0.17.2.0 (selsta)
2021-03-29 22:00:40 -04:00
luigi1111
daa1376370
Merge pull request #7621
...
21ab1de
cryptonote_protocol_handler: fix race condition (anon)
699e82c
cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:56:07 -04:00
luigi1111
eed63cef36
Merge pull request #7615
...
9ca9f12
Fixed issues found by static analysis (SChernykh)
2021-03-29 21:54:25 -04:00
selsta
c18cdd3623
build: prepare v0.17.2.0
2021-03-26 01:53:45 +01:00
anon
21ab1de89f
cryptonote_protocol_handler: fix race condition
2021-03-22 19:42:45 +00:00
luigi1111
9ec4ce36c7
Merge pull request #7419
...
25588de
trezor: simplify recognition of integrated addresses (Dusan Klinec)
2021-03-20 01:54:52 -04:00
SChernykh
9ca9f1214a
Fixed issues found by static analysis
...
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2021-03-18 21:57:13 +01:00
moneromooo-monero
4a9ae3eb8b
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:41:19 +00:00
luigi1111
af46a291ad
Merge pull request #7336
...
d8137dc
device_trezor: add redundant check (anon)
c6e1d7b
device_trezor: wipe string fields properly (anon)
2021-03-05 13:53:00 -05:00
Dusan Klinec
25588de40c
trezor: simplify recognition of integrated addresses
...
now it is possible to simplify integrated addresses recognition using transaction destination info directly
fixes https://github.com/monero-project/monero-gui/issues/3346
2021-03-03 15:39:12 +01:00
moneromooo-monero
b5667c9f6c
p2p: allow CIDR notation in DNS blocklist
2021-01-21 01:41:31 +00:00
anon
d8137dc523
device_trezor: add redundant check
2021-01-20 22:07:13 +01:00
anon
c6e1d7bcdf
device_trezor: wipe string fields properly
2021-01-20 22:07:13 +01:00
moneromooo-monero
fe6dda9453
p2p: only log to global when a blocked IP is not already blocked
2021-01-08 15:50:10 +00:00
Lee Clagett
ba3c627c57
Command max_bytes moved from dynamic map to static switch
2020-12-23 23:53:27 +00:00
luigi1111
83fa752a84
Merge pull request #7267
...
c2295f5
protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:36 -05:00
luigi1111
7ecdc53e11
Merge pull request #7248
...
3c7eec1
add a max levin packet size by command type (moneromooo-monero)
2021-01-06 21:08:11 -05:00
Alexander Blair
f3de67bc21
Merge pull request #7269
...
1128146c4
blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:29:39 -08:00
moneromooo-monero
3c7eec152c
add a max levin packet size by command type
2021-01-03 14:07:58 +00:00
moneromooo-monero
1128146c49
blockchain: lock access to m_blocks_hash_of_hashes
...
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-02 22:20:24 +00:00
moneromooo-monero
c2295f55b8
protocol: handle receiving a block hash we've not added yet
2021-01-02 22:10:44 +00:00
selsta
31b2572ec7
build: prepare v0.17.1.9
2021-01-02 18:13:47 +01:00
Alexander Blair
a4ffad75ac
Merge pull request #7247
...
57f7c2e53
protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:43:46 -08:00
Alexander Blair
db686707cb
Merge pull request #7239
...
e685f52e2
p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:42:17 -08:00
Alexander Blair
5767e6db90
Merge pull request #7235
...
00253b717
protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:41:54 -08:00