stoffu
d6d78f157b
Allow fractional outputs to be ignored
2018-07-03 18:04:31 +09:00
moneromooo-monero
8c4db68ff7
node_rpc_proxy: factor a few RPC calls using get_info
...
Takes advantage of caching
2018-07-02 17:59:44 +01:00
moneromooo-monero
d95bc44c6b
blockchain: fix getting invalid block data on failure
2018-06-29 15:50:34 +01:00
moneromooo-monero
dead780f8a
abstract_tcp_server2: fix use after free
2018-06-29 15:40:48 +01:00
victorsintnicolaas
207b66ecc2
first new functional tests
2018-06-29 10:06:22 +02:00
victorsintnicolaas
9e1403e155
update get_info RPC and bump RPC version
2018-06-29 10:06:18 +02:00
victorsintnicolaas
34cb6b4b70
add --regtest and --fixed-difficulty for regression testing
...
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
2018-06-29 10:06:11 +02:00
moneromooo-monero
aa0ea0aafc
blockchain: set the m_verifivation_failed flag in a couple more places
...
when a block being added to the main chain is invalid.
This ensures the peer is banned after a number of these.
2018-06-28 16:57:22 +01:00
moneromooo-monero
438d52deaf
remove epee from link lines where it's redundant
...
For some reason, this confuses and kills ASAN on startup
as it thinks const uint8_t ipv4_network_address::ID is
defined multiple times.
2018-06-28 16:45:22 +01:00
moneromooo-monero
ef649f998d
crypto: remove unused unsafe random scalar generator
2018-06-28 16:44:13 +01:00
moneromooo-monero
3474154b75
gtest: use -fPIC with CLANG too
2018-06-28 16:42:52 +01:00
luigi1111
a9b83f5a6e
Merge pull request #4067
...
9a39b7d
wallet2: fix build for windows (std::max again) (moneromooo-monero)
2018-06-27 21:28:34 -05:00
luigi1111
65c09beaf7
Merge pull request #4069
...
49dc78d
util: fix mistakes made in #3994 (stoffu)
2018-06-27 21:25:00 -05:00
luigi1111
8b18401ea0
Merge pull request #4068
...
29254fc
api/wallet: add missing arg to wallet2::refresh() (stoffu)
2018-06-27 21:23:50 -05:00
stoffu
49dc78d99b
util: fix mistakes made in #3994
2018-06-28 10:39:04 +09:00
stoffu
29254fc06e
api/wallet: add missing arg to wallet2::refresh()
2018-06-28 10:24:05 +09:00
luigi1111
ba0a7294d0
Merge pull request #4000
...
4510f41
Wallet API: add some missing override keyword (stoffu)
2018-06-27 20:18:41 -05:00
luigi1111
4c6de54ee2
Merge pull request #3994
...
1d17647
epee.string_tools: add conversion between UTF-8 and UTF-16 (stoffu)
59de6f8
util: add file_locker class (stoffu)
3d623a8
wallet: prevent the same wallet file from being opened by multiple processes (stoffu)
2018-06-27 20:17:25 -05:00
luigi1111
008b9036a3
Merge pull request #4066
...
84d9e7f
blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
2018-06-27 20:15:10 -05:00
luigi1111
0c76dbdd00
Merge pull request #4065
...
9b38551
wallet_rpc_server: fix build - forgot to build rpc version (moneromooo-monero)
2018-06-27 20:13:38 -05:00
stoffu
4510f417f9
Wallet API: add some missing override keyword
...
Also remove dust() from UnsignedTransactionImpl (already in PendingTransactionImpl)
2018-06-28 09:59:09 +09:00
stoffu
3d623a86d1
wallet: prevent the same wallet file from being opened by multiple processes
2018-06-28 09:41:43 +09:00
stoffu
59de6f8d99
util: add file_locker class
2018-06-28 09:40:31 +09:00
stoffu
1d176473e9
epee.string_tools: add conversion between UTF-8 and UTF-16
2018-06-28 09:40:26 +09:00
moneromooo-monero
9a39b7dd7f
wallet2: fix build for windows (std::max again)
2018-06-28 00:47:48 +01:00
moneromooo-monero
84d9e7faec
blockchain: fix build after waiter::wait prototype change
2018-06-28 00:24:39 +01:00
moneromooo-monero
9b38551c3c
wallet_rpc_server: fix build - forgot to build rpc version
2018-06-27 23:34:02 +01:00
luigi1111
2329d2f4c8
Merge pull request #3907
...
dcbc17e
wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
2018-06-27 16:32:33 -05:00
luigi1111
8a27caeb22
Merge pull request #3998
...
8db23df
wallet: on first refresh, start off with a quantized height (moneromooo-monero)
2018-06-27 16:30:38 -05:00
luigi1111
9453573581
Merge pull request #3995
...
0a5292c
wallet2: use decoded amount when reporting repeated output key (stoffu)
2018-06-27 16:28:57 -05:00
luigi1111
c28a2b0d7d
Merge pull request #3992
...
25c15dc
wallet2: use correct fee for split txes (stoffu)
2018-06-27 16:26:23 -05:00
luigi1111
5eb2e01216
Merge pull request #3991
...
798dfcf
wallet: allow unspendable unmixable outputs to be discarded (stoffu)
2018-06-27 16:25:03 -05:00
luigi1111
cbfa0a2a7e
Merge pull request #3987
...
2d10830
db_ldmb: print db version when complaining about incompatibility (moneromooo-monero)
2018-06-27 16:23:17 -05:00
luigi1111
87d7612311
Merge pull request #3986
...
b628503
Remove old logic saved in comments. (jeandudey)
2018-06-27 16:22:03 -05:00
luigi1111
3ad4ecd4ff
Merge pull request #3982
...
08b85a8
cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu)
0cf80ba
net_node: resolve host for node addresses given via command line flags (stoffu)
2018-06-27 15:38:23 -05:00
moneromooo-monero
dcbc17e97e
wallet: include a suggested number of confirmations based on amount
...
This is based on how much an attacking miner stands to lose in block
rewardy by mining a private chain which double spends a payment.
This is not foolproof, since mining is based on luck, and breaks
down as the attacking miner nears 50% of the network hash rate,
and the estimation is based on a constant block reward.
2018-06-27 21:38:21 +01:00
luigi1111
2d92fa5d69
Merge pull request #3979
...
362f5e6
simplewallet: don't confirm missing payment ID when sending to only subaddresses (stoffu)
2018-06-27 15:36:54 -05:00
luigi1111
a844844cda
Merge pull request #3716
...
a2b557f
6795bd0
209ec96
ed2c81e
a830db2
57ea902
31a895e
ba8331c
f7f1917
41be339
f025ae9
ef2cb63
dcfd299
5d3e702
2704624
2771a18
0e4c7d0
(moneromooo-monero)
2018-06-27 15:33:01 -05:00
stoffu
13851b28c7
simplewallet.sweep_all: show usage when parsing fails
2018-06-27 22:54:10 +09:00
moneromooo-monero
80d7c6c730
blockchain_utilities: report file offset where a read error occurs
2018-06-27 14:11:35 +01:00
moneromooo-monero
e6f4d4acf0
unit_tests: do not recreate the same base rct sig all the time
...
Helps a bit when running with valgrind
2018-06-27 11:11:14 +01:00
moneromooo-monero
0e4c7d0fae
wallet2: cache ringdb key while refreshing
...
Speeds up syncing with a lot of outgoing outputs as key generation
runs Cryptonight.
2018-06-26 22:15:38 +01:00
moneromooo-monero
2771a18e85
threadpool: allow leaf functions to run concurrently
...
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
2018-06-26 22:15:22 +01:00
moneromooo-monero
2704624eae
wallet2: remove unneeded divisions
2018-06-26 22:15:20 +01:00
moneromooo-monero
5d3e70229e
wallet2: remove old blockchain size cache hack
2018-06-26 22:15:18 +01:00
moneromooo-monero
dcfd299239
wallet2: speedup refresh
...
key derivation and checking for incoming outputs are threaded
in batch before adding blocks to the local blockchain. Other
minor bits and bobs are also cached.
2018-06-26 22:15:16 +01:00
moneromooo-monero
ef2cb63287
blockchain: simplify/speedup handle_get_objects
2018-06-26 22:15:14 +01:00
moneromooo-monero
f025ae9760
wallet2: avoid re-parsing blocks when refreshing in a loop
2018-06-26 22:15:12 +01:00
moneromooo-monero
41be339655
wallet2: avoid duplicate parsing of tx extra
2018-06-26 22:15:10 +01:00
moneromooo-monero
f7f1917ed4
wallet2: remove useless device locking
2018-06-26 22:14:35 +01:00