moneromooo-monero and wowario
267e656d8b
blockchain: add --reorg-notify
...
This will trigger if a reorg is seen. This may be used to do things
like stop automated withdrawals on large reorgs.
%s is replaced by the height at the split point
%h is replaced by the height of the new chain
%n is replaced by the number of new blocks after the reorg
2019-01-15 23:33:19 +03:00
moneromooo-monero and wowario
a17a81b3a7
wallet: do not check txpool in background mode
...
This avoids the constant message about needed to run refresh
to enter a password.
Also mention the txpool when asking for the password if the
reason is a pool tx.
2019-01-15 23:32:45 +03:00
moneromooo-monero and wowario
e789d7c324
crptonote_core: do not error out sending unparsable extra field
...
extra is arbitrary, and the user may well want to send custom data
2019-01-15 23:28:45 +03:00
moneromooo-monero and wowario
83072c2165
core, wallet: remember original text version of destination address
2019-01-15 23:28:34 +03:00
moneromooo-monero and wowario
4411a412be
core: include a dummy encrypted payment id when no payment is used
...
For better transaction uniformity, even though this wastes space.
2019-01-15 23:28:02 +03:00
jw and GitHub
d85d908ddc
Merge pull request #153 from wowario/upstream
...
Upstream
2019-01-08 19:23:19 -08:00
moneromooo-monero and wowario
6cbafa9dd9
wallet_api: fix usage of LOG_ERROR
2019-01-08 21:36:17 +03:00
moneromooo-monero and wowario
842bcffbb8
blocks: fix checkpoint code generation on OpenBSD
...
Its od outputs small decimals with leading 0, which means octal in C
2019-01-08 21:36:17 +03:00
moneromooo-monero and wowario
c946a35985
message_store: fix error message adding const char * with offset
2019-01-08 21:36:17 +03:00
moneroexamples and wowario
41e12d4d29
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-08 21:36:17 +03:00
moneromooo-monero and wowario
c7d4338765
update expiry date for both signing and encryption keys
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
6c76c778e7
wallet2: clear all payments on soft rescan_bc
...
They'll get duplicated otherwise
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
34daa571e3
perf_timer: check allowed categories before logging
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
70e4e4382e
perf_timer: add a way to get and reset the current time
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
af2d19cf70
perf_timer: only log to file
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
28477c75a3
p2p: use vector instead of list for peer lists
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
f875a0312e
mlocker: set default log category
2019-01-08 21:36:16 +03:00
moneromooo-monero and wowario
0030100645
easylogging++: check allowed categories before logging
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
0c87b55670
protocol: change standby mode to not wait sleeping
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
70d90326a7
add a once_a_time_milliseconds class
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
76c97e4dbc
epee: speed up string matching a bit
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
4422b14ac0
epee: avoid string allocation when parsing a pod from string
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
aad10a6cb0
wallet2: speedup output tracking
...
It can get heavy for large wallets
2019-01-08 21:36:15 +03:00
moneromooo-monero and wowario
ed5b588ca3
wallet: optionally keep track of owned outputs uses
2019-01-08 21:36:14 +03:00
Jethro Grassie and wowario
9eedf5f087
ignore child process when exec
2019-01-08 21:36:14 +03:00
moneromooo-monero and wowario
8ef2437e5d
perf_timer: make all logs Info level
...
and make them not default at log level 1
2019-01-08 21:36:14 +03:00
moneromooo-monero and wowario
e2095e00ba
singleton: fix missing *this return value in operator=
...
while there, disable both operator= and copy ctor, since they
are not supposed to be around for a singleton
2019-01-08 21:36:13 +03:00
moneromooo-monero and wowario
b494943a10
cryptonote: don't serialize for blob size if already known
2019-01-08 21:36:13 +03:00
selsta and wowario
d40acef20b
simplewallet: donate command validate amount
2019-01-08 21:36:13 +03:00
moneromooo-monero and wowario
36da8397f8
tx_pool: add a few std::move where it can make a difference
2019-01-08 21:36:13 +03:00
moneromooo-monero and wowario
7bb6c00b5e
cryptonote: set tx hash on newly parsed txes when known
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
f97b2edb3c
db_lmdb: avoid pointless division
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
1b0fe29ee3
db_lmdb: inline check_open, it's trivial and called everywhere
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
c3fae517a4
blockchain_db: allocate known size vector only once
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
442b30eee9
blockchain_db: remove a couple unused functions
2019-01-08 21:36:12 +03:00
Dusan Klinec and wowario
8f7add0a05
build: protobuf dependency fixes, libusb build
...
- docker protobuf dependencies, cross-compilation
- device/trezor protobuf build fixes, try_compile
- libusb built under all platforms, used by trezor for direct connect
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
e1355ecd3e
util: use fcntl instead of flock, for compatibility
...
in particular with NFS
2019-01-08 21:36:12 +03:00
moneromooo-monero and wowario
a44d54645e
util: set MONERO_DEFAULT_LOG_CATEGORY
...
Otherwise it'd end up with whatever was included last
2019-01-08 21:36:11 +03:00
moneromooo-monero and wowario
be87172237
unit_tests: strengthen notify test against OS scheduling
2019-01-08 21:36:11 +03:00
moneromooo-monero and wowario
4bd63dab9d
blockchain: call deinit in dtor
...
This ensures the io service that runs in another thread cannot
access data after it's deleted
2019-01-08 21:36:11 +03:00
moneromooo-monero and wowario
a121320fc9
easylogging++: avoid uneeded temporary std::string object
2019-01-08 21:36:11 +03:00
moneromooo-monero and wowario
10d79d1848
CONTRIBUTING: mention not changing spelling/typoes in code
2019-01-08 21:36:11 +03:00
Norman Moeschter and wowario
9736a0a8b9
Changed RECIEVED to RECEIVED in log messages.
2019-01-08 21:36:11 +03:00
TheCharlatan and wowario
0ad6583329
Add glibc back compat code
...
To ensure that the binaries compiled by gitian run across many linux
distributions, enforce 2.17 as the minimum libc version supported.
2019-01-08 21:36:10 +03:00
moneromooo-monero and wowario
636ffdc7a1
blockchain: fix race between two external mining threads
2019-01-08 21:36:10 +03:00
moneromooo-monero and wowario
e55621dbd2
Remove -Werror
...
It is an annoying piece of garbage
2019-01-08 21:36:10 +03:00
jw and GitHub
88735bd65b
Merge pull request #151 from wowario/readme
...
update README
2019-01-07 19:41:31 -08:00
jw and GitHub
47f0f9b3f4
Merge pull request #150 from wowario/cmake
...
disable Trezor support
2019-01-07 19:41:17 -08:00
jw and GitHub
ecaf564d38
Merge pull request #149 from wowario/arch
...
update PKGBUILD
2019-01-07 19:41:07 -08:00
jw and GitHub
0ef925d131
Merge pull request #148 from wowario/unify
...
Simplewallet: Unify usage messages.
2019-01-07 19:40:41 -08:00