Commit Graph

6982 Commits

Author SHA1 Message Date
moneromooo-monero
586b32a7ca wallet2: don't store 0 amount outputs, they'll fail to be spent
It's better to just ignore them, the user does not really need
to know they're here. If the mask is wrong, they'll fail to be
used, and sweeping will fail as it tries to use it.

Reported by Josh Davis.
2019-03-12 22:07:16 +03:00
wowario
7b06d497f4 debug level for no incoming connections warning 2019-03-11 12:04:49 +03:00
wowario
95a6414342 add v0.5 ASCII art 2019-03-11 08:13:05 +03:00
wowario
d6422cc81c update version to 0.5.1 2019-03-11 01:36:34 +03:00
wowario
661e3841fb rename debug utilities 2019-03-11 00:10:06 +03:00
wowario
ce3c9b1119 update README 2019-03-11 00:10:06 +03:00
wowario
05e391fc54 Build fixes for some platforms 2019-03-11 00:10:05 +03:00
wowario
d77ac12218 update checkpoints.dat 2019-03-11 00:10:05 +03:00
wowario
87d457d4ac support old BP 2019-03-11 00:10:05 +03:00
SChernykh
0dbbd13baa Cryptonight Wow 2019-03-11 00:10:05 +03:00
wowario
dee662ce10 update genesis block timestamp date 2019-03-11 00:10:05 +03:00
wowario
0742c615e2 simplewallet: add churn command 2019-03-11 00:10:05 +03:00
fuwa
8058facbb3 allow system libminiupnp, revert #6b8539 2019-03-11 00:10:05 +03:00
wowario
2e06575559 update snap and add pkgbuild 2019-03-11 00:10:04 +03:00
wowario
bbf8d72e18 move utility binaries to cmake debug 2019-03-11 00:10:04 +03:00
wowario
d6c12cd641 remove warning about reusing keys 2019-03-11 00:10:04 +03:00
wowario
f84028f88c make simplewallet simple 2019-03-11 00:10:04 +03:00
wowario
2fbe9f7730 add lwma-1 2019-03-11 00:09:55 +03:00
wowario
2b1829f649 Captain obvious warning 2019-03-08 22:38:06 +03:00
wowario
3cfc60d416 add cumulative difficulty to diff command 2019-03-08 22:38:05 +03:00
wowario
9b19be69a1 initial commit 2019-03-08 22:37:57 +03:00
Riccardo Spagni
6e093aa478 update version to 0.14.0.2 for tag 2019-03-08 21:17:43 +03:00
moneromooo-monero
eaaa1e5a35 rpc: fix build, ctx does not exist yet on this branch 2019-03-08 21:17:43 +03:00
moneromooo-monero
1ff89b1364 rpc: make fill_pow restricted
It's slow work, so let's not expose it
2019-03-08 21:17:43 +03:00
cslashm
9acb635efd Fix computation of change address + Fix v11 fork
Always send TX public key when generating output destination keys: it may be an additional TX public key in case of subaddress; before we always use R.
Fix the commitment mask generation: It must be delegated to device as it implies the amount key.
Send MONERO_VERSION string in reset command to allow version compatibility check.
Some enhancement of debug log.
2019-03-08 21:17:43 +03:00
moneromooo-monero
5fd8022721 wallet2: fix incorrect patch for determining fork rules
Half of the patch was correct, but half was introducing another bug,
where a wallet asking for a fork that the daemon does not know about
yet would decide to use those rules.
2019-03-08 21:17:42 +03:00
moneromooo
385f232f5e hardfork: fix fork determination for historical heights 2019-03-08 21:17:42 +03:00
moneromooo-monero
41f7e77ca5 blockchain: fix off by one brought by the regtest mode fix 2019-03-08 21:17:42 +03:00
Riccardo Spagni
fb4c29b960 update version to 0.14.0.1 2019-03-08 21:17:42 +03:00
moneromooo-monero
8aee860157 wallet2: fix mishandling rct outputs in coinbase tx
Reported by cutcoin
2019-03-08 21:17:42 +03:00
moneromooo-monero
1c745c3b04 blockchain: fix long term block weight for regtest mode 2019-03-08 21:17:42 +03:00
TheCharlatan
7e9ecf35dd cmake: ARCH_ID fixes for cross compilation 2019-03-08 21:17:41 +03:00
selsta
b4a6c93d94 wallet api/device: set estimated restore height if none is provided 2019-03-08 21:17:41 +03:00
selsta
eaa36e8f26 wallet api: don't truncate address in subaddress_account
Same behaviour as subaddress.cpp now.
2019-03-08 21:17:41 +03:00
moneromooo-monero
1e5f2e4c58 core: fix adding new pre-hoh block when a tx is already in the pool 2019-03-08 21:17:41 +03:00
Riccardo Spagni
39875ebdd4 bump version, update readme to reflect, update checkpoints 2019-03-08 21:17:41 +03:00
Riccardo Spagni
72a1b05c13 update quick sync checkpoints and hash 2019-03-08 21:17:41 +03:00
Dusan Klinec
9fad3c060b wallet: fix payment ID decryption for construction data 2019-03-08 21:17:40 +03:00
moneromooo-monero
b117840c81 blockchain: remove buggy long term block weight cache
It seems to be buggy on reorgs, and prevents the use of
a blockchain with two nodes.
We'll speed this up again if/when the need arises.
2019-03-08 21:17:40 +03:00
moneromooo-monero
0622741c03 blockchain: fix block template creation race
If two create_block_template are called at nearly the same time,
and a block is added at nearly the same time, this could happen:

- the blockchain top block is B0
- thread 1 enters create_block_template, takes blockchain lock
- thread 1 creates a fresh block referencing prev block B0
- thread 1 releases blockchain lock
- thread 0 adds a new block
- thread 0 enters create_block_template
- thread 0 updates block template
- thread 1 takes txpool lock and continues creating block template
- thread 1 overwrites block template with previous data
2019-03-08 21:17:40 +03:00
moneromooo-monero
362ecad06c blockchain: fix long term weight addition on pop/init 2019-03-08 21:17:40 +03:00
stoffu
b45b4e58f4 rpc: fix wrongly formatted JSON for pruned tx
Fix for #4399.
Also unifies code for serializing pruned tx to binary/json into one.

(Cherry-picked from #4586)
2019-03-08 21:17:40 +03:00
moneromooo-monero
4bcb105e6c db_lmdb: fix missing mdb_dbi_close in migration
Fixed by hyc
2019-03-08 21:17:40 +03:00
moneromooo-monero
7553fdcbb3 CMakeLists.txt: detect and use -pthread compiler flag
The cmake thread detection just ain't enough to always work
2019-03-08 21:17:40 +03:00
moneromooo-monero
32745e0696 miner: fix build with boost 1.69 2019-03-08 21:17:39 +03:00
moneromooo-monero
56b6e9a89f mlocker: fix access to global lock map after dtor on exit
as the lock, it now leaks
2019-03-08 21:17:39 +03:00
moneromooo-monero
b91d510669 mlocker: fix dtor ordering problem
leak the mutex instead, it's a one off
2019-03-08 21:17:39 +03:00
moneromooo-monero
93c2e6f521 blockchain: fix m_long_term_block_weight_height initialization
Also check return of that function, it can now return error
2019-03-08 21:17:39 +03:00
moneromooo-monero
0470ea5ac0 blockchain: forbid older BP rct versions from v11 2019-03-08 21:17:37 +03:00
moneromooo-monero
f94c615fc3 Fix v3/v4 db conversion 2019-03-08 21:15:52 +03:00