moneromooo-monero
4411a412be
core: include a dummy encrypted payment id when no payment is used
...
For better transaction uniformity, even though this wastes space.
5 years ago
wowario
2439d2a39d
update checkpoints
5 years ago
jw
d85d908ddc
Merge pull request #153 from wowario/upstream
...
Upstream
5 years ago
moneromooo-monero
6cbafa9dd9
wallet_api: fix usage of LOG_ERROR
5 years ago
moneromooo-monero
842bcffbb8
blocks: fix checkpoint code generation on OpenBSD
...
Its od outputs small decimals with leading 0, which means octal in C
5 years ago
moneromooo-monero
c946a35985
message_store: fix error message adding const char * with offset
5 years ago
moneroexamples
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.
5 years ago
moneromooo-monero
6c76c778e7
wallet2: clear all payments on soft rescan_bc
...
They'll get duplicated otherwise
5 years ago
moneromooo-monero
34daa571e3
perf_timer: check allowed categories before logging
5 years ago
moneromooo-monero
70e4e4382e
perf_timer: add a way to get and reset the current time
5 years ago
moneromooo-monero
af2d19cf70
perf_timer: only log to file
5 years ago
moneromooo-monero
28477c75a3
p2p: use vector instead of list for peer lists
5 years ago
moneromooo-monero
0c87b55670
protocol: change standby mode to not wait sleeping
5 years ago
moneromooo-monero
4422b14ac0
epee: avoid string allocation when parsing a pod from string
5 years ago
moneromooo-monero
aad10a6cb0
wallet2: speedup output tracking
...
It can get heavy for large wallets
5 years ago
moneromooo-monero
ed5b588ca3
wallet: optionally keep track of owned outputs uses
5 years ago
Jethro Grassie
9eedf5f087
ignore child process when exec
5 years ago
moneromooo-monero
8ef2437e5d
perf_timer: make all logs Info level
...
and make them not default at log level 1
5 years ago
moneromooo-monero
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
5 years ago
moneromooo-monero
b494943a10
cryptonote: don't serialize for blob size if already known
5 years ago
selsta
d40acef20b
simplewallet: donate command validate amount
5 years ago
moneromooo-monero
36da8397f8
tx_pool: add a few std::move where it can make a difference
5 years ago
moneromooo-monero
7bb6c00b5e
cryptonote: set tx hash on newly parsed txes when known
5 years ago
moneromooo-monero
f97b2edb3c
db_lmdb: avoid pointless division
5 years ago
moneromooo-monero
1b0fe29ee3
db_lmdb: inline check_open, it's trivial and called everywhere
5 years ago
moneromooo-monero
c3fae517a4
blockchain_db: allocate known size vector only once
5 years ago
moneromooo-monero
442b30eee9
blockchain_db: remove a couple unused functions
5 years ago
Dusan Klinec
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
5 years ago
moneromooo-monero
e1355ecd3e
util: use fcntl instead of flock, for compatibility
...
in particular with NFS
5 years ago
moneromooo-monero
a44d54645e
util: set MONERO_DEFAULT_LOG_CATEGORY
...
Otherwise it'd end up with whatever was included last
5 years ago
moneromooo-monero
4bd63dab9d
blockchain: call deinit in dtor
...
This ensures the io service that runs in another thread cannot
access data after it's deleted
5 years ago
TheCharlatan
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.
5 years ago
moneromooo-monero
636ffdc7a1
blockchain: fix race between two external mining threads
5 years ago
moneromooo-monero
e55621dbd2
Remove -Werror
...
It is an annoying piece of garbage
5 years ago
Tadeas Moravec
40d658a327
Simplewallet: Unify usage messages.
...
Help messages describe the commands usage. When users run the command
with wrong arguments, it usually helpfully offers the usage, too.
Unfortunately, these two usage messages were duplicated in the code and
started to get out of sync.
Fixing with constant strings.
5 years ago
jw
4ba5309da0
Merge pull request #143 from wowario/simple
...
make simplewallet simple
5 years ago
jw
751c6beca2
Merge pull request #142 from wowario/cmake
...
move utility binaries to debug build
5 years ago
jw
cf94656674
Merge pull request #141 from wowario/warning
...
simplewallet: remove warning about reusing keys
5 years ago
jw
d984bd95d7
Merge pull request #140 from wowario/pid
...
simplewallet: remove payment_id and integrated_address
5 years ago
jw
23b1e28b8d
Merge pull request #138 from fuwa0529/fix-V-clear
...
remove V.clear
5 years ago
wowario
929e210ad2
update no payment ID message
5 years ago
wowario
9f2ea08a8e
make simplewallet simple
5 years ago
wowario
50fea66409
move utility binaries to cmake debug
5 years ago
wowario
61d21bd236
add warning to wallet rpc
5 years ago
moneromooo-monero
ec18a0df32
simplewallet: remove ability to transfer with detached short payment ids
...
It seemed like a good idea at the time
5 years ago
wowario
2b66b27fe5
remove payment_id and integrated_address
5 years ago
wowario
98031957e1
remove warning about reusing keys
5 years ago
fuwa
c786fb5a13
remove V.clear, fix:
...
389d2bc53e (r31751630)
5 years ago
wowario
2e6174addd
rename to wownero
5 years ago
rbrunner7
afc77b45ba
MMS (Multisig Messaging System): Initial version
5 years ago
jw
48ef3ff466
Merge pull request #136 from wowario/cumulative_difficulty
...
add cumulative difficulty to diff command
5 years ago
wowario
1a8353dd90
add cumulative difficulty to diff command
5 years ago
wowario
28100fbd68
update checkpoints
5 years ago
jw
389d2bc53e
Merge pull request #134 from wowario/old_bp
...
Support old bulletproof
5 years ago
fuwa
8e428f8ef6
fix output by reverting b9b307d
5 years ago
wowario
27c0af7295
get base fee
5 years ago
wowario
72904ee107
update difficulty
5 years ago
fuwa
65d056aeae
use the predefined diff variable for next-diff
5 years ago
fuwa
fbc506b1f5
fix logic for choosing timestamp-check-window-version
5 years ago
fuwa
54040da1a1
use fee-estimate function to calculate min_fee
5 years ago
fuwa
10b7f2b45f
forbit old bulletproof after new bulletproof HF
5 years ago
fuwa
7759d52a25
Add old bulletproof type query
5 years ago
wowario
5bf7ce14c5
support old BP
5 years ago
jw
7e93cdba07
Merge pull request #131 from wowario/misc
...
remove monero stuff
5 years ago
wowario
57e8fce462
remove monero stuff
5 years ago
wowario
b58f12e53e
rename file name
5 years ago
wowario
d9649d98cd
Merge remote-tracking branch 'upstream/master' into upstream
5 years ago
Riccardo Spagni
6bc0c7e685
Merge pull request #4927
...
6456cb41
Bulletproof: Initialize members in default construtor. (Tadeas Moravec)
5 years ago
Riccardo Spagni
5e9225e637
Merge pull request #4925
...
ab783b17
easylogging++: ensure logger is initialized before main (moneromooo-monero)
9b69a0ae
daemon: print monero version at startup when calling a detached daemon (moneromooo-monero)
4d71d463
mlocker: remove early page size log (moneromooo-monero)
5 years ago
Riccardo Spagni
51874e5a40
Merge pull request #4924
...
0c5dd316
cryptonote: add a set_null for transaction_prefix (moneromooo-monero)
5 years ago
Riccardo Spagni
fe3c8c9682
Merge pull request #4923
...
aba9a9c2
daemon: stop miner before we bring the whole thing down (moneromooo-monero)
5 years ago
Riccardo Spagni
e9aa886d9e
Merge pull request #4921
...
ac665418
ringct: fix dummy bulletproofs on ledger in fake mode (moneromooo-monero)
5 years ago
Riccardo Spagni
e19a205ff4
Merge pull request #4920
...
e98ae34e
core: fix adding new pre-hoh block when a tx is already in the pool (moneromooo-monero)
5 years ago
Riccardo Spagni
83684ea515
Merge pull request #4909
...
756684bb
blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero)
5 years ago
Riccardo Spagni
4556f0e2b8
Merge pull request #4908
...
5ca4994c
rpc: speed up the common get_output_distribution case while syncing (moneromooo-monero)
5 years ago
Riccardo Spagni
0fccc78e39
Merge pull request #4903
...
dc1c1252
add command pop_blocks (Jason Wong)
5 years ago
Riccardo Spagni
d855f9bb92
Merge pull request #4901
...
a48f2dab
blockchain_prune_known_spent_data: blackball file is now optional (moneromooo-monero)
17b45725
Outputs where all amounts are known spent can now be pruned (moneromooo-monero)
5 years ago
Riccardo Spagni
85262ca8cd
Merge pull request #4899
...
2be31b4c
blockchain_blackball: spot when all outputs of an amount are spent (moneromooo-monero)
5 years ago
Riccardo Spagni
c73ac91af8
Merge pull request #4897
...
9b5efad2
simplewallet: enable donation on testnet/stagenet for easier testing (stoffu)
5 years ago
Riccardo Spagni
0b31baf6e4
Merge pull request #4839
...
d71f89e2
device/trezor: device/trezor: correct device initialization, status check (Dusan Klinec)
65b9bca7
device/trezor: python2 compatibility - bundle dependencies (Dusan Klinec)
9cf636af
device/trezor: ask for KI sync on first refresh (Dusan Klinec)
d21dad70
device: enable to use multiple independent device wallets (Dusan Klinec)
318cc784
device/trezor: passphrase entry on host (Dusan Klinec)
5 years ago
Riccardo Spagni
dde1e69723
Merge pull request #4787
...
3dba7f25
protocol: option to pad transaction relay to the next kB (moneromooo-monero)
5 years ago
jw
61f3a191df
Merge pull request #127 from wowario/dev-v0.5
...
Rebase: Initial commit
6 years ago
Dusan Klinec
d71f89e2a2
device/trezor: device/trezor: correct device initialization, status check
...
- checks if the device is in the correct usable state
- implements check for the v2.0.9 firmware which does not support payment IDs
- simple transacttion check, payment id fmt consistency
- minor fixes, refactoring, webusb session counting fix
6 years ago
Dusan Klinec
65b9bca70e
device/trezor: python2 compatibility - bundle dependencies
6 years ago
Dusan Klinec
9cf636af69
device/trezor: ask for KI sync on first refresh
...
When doing a first refresh on HW-token based wallet KI sync is required if money were received. Received money may indicate wallet was already used before the restore I.e., some transaction could have been already sent from the wallet. The spent UTXO would not be detected as spent which could lead to double spending errors on submitting a new transaction.
Thus if the wallet is HW-token based with the cold signing protocol and the first refresh detected received money the user is asked to perform the key image sync.
6 years ago
Dusan Klinec
d21dad70dd
device: enable to use multiple independent device wallets
...
- adds a new option `--hw-device-deriv-path` to the simple wallet. Enables to specify wallet derivation path / wallet code (path avoided so it can be misinterpreted as a file path).
- devices can use different derivation mechanisms. Trezor uses standard SLIP-10 mechanism with fixed SLIP-44 prefix for Monero
- Trezor: when empty, the default derivation mechanism is used with 44'/128'/0'. When entered the derivation path is 44'/128'/PATH.
- Trezor: the path is always taken as elements are hardened (1<<31 bit turned on)
6 years ago
Riccardo Spagni
7e957c162a
Merge pull request #4879
...
243f010e
rpc: mask values that are nobody else's business in restricted RPC (moneromooo-monero)
6 years ago
Riccardo Spagni
5ed45acaec
Merge pull request #4906
...
506472e0
protocol: fix use after free when dropping a connection (moneromooo-monero)
6 years ago
Riccardo Spagni
81418cb281
Merge pull request #4894
...
aee7a4e3
wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)
1a0733e5
windows_service: fix memory leak (moneromooo-monero)
0dac3c64
unit_tests: do not rethrow a copy of an exception (moneromooo-monero)
5d9915ab
cryptonote: fix get_unit for non default settings (moneromooo-monero)
d4f50cb1
remove some unused code (moneromooo-monero)
61163971
a few minor (but easy) performance tweaks (moneromooo-monero)
30023074
tests: slow_memmem now returns size_t (moneromooo-monero)
6 years ago
Riccardo Spagni
6d1c2a9304
Merge pull request #4892
...
c28e3d2d
rctOps: add braces to suppress warnings (stoffu)
6 years ago
moneromooo-monero
243f010edc
rpc: mask values that are nobody else's business in restricted RPC
6 years ago
Riccardo Spagni
0e0777e4d1
Merge pull request #4888
...
b0d9d605
cn_deserialize: allow parsing partially valid tx extra (moneromooo-monero)
6 years ago
Riccardo Spagni
6e74aa9a6c
Merge pull request #4885
...
b5573fc2
wallet2: resume processing when tx extra is partially broken (stoffu)
6 years ago
Riccardo Spagni
1bebe99496
Merge pull request #4884
...
56e616e8
wallet2: add n_vouts to capture list (moneromooo-monero)
6 years ago
Riccardo Spagni
302fd80826
Merge pull request #4882
...
6bfcc573
scoped_message_writer: protect all std::cout usage from readline (moneromooo-monero)
6 years ago
Riccardo Spagni
e799fc87ae
Merge pull request #4866
...
9c923bad
epee: fix network packet header field endianness (moneromooo-monero)
ec1a62b5
move int-util.h to epee (moneromooo-monero)
6 years ago
Riccardo Spagni
d4a0fb2b89
Merge pull request #4880
...
96e6b439
blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
6 years ago
wowario
675b879844
initial commit
6 years ago
Riccardo Spagni
e282e9fa40
Merge pull request #4878
...
517f25ef
rpc: add version to get_info (Jethro Grassie)
6 years ago
Riccardo Spagni
868630c1db
Merge pull request #4877
...
c25260f5
protocol: fix incorrect tx hash in log (moneromooo-monero)
6 years ago
moneromooo-monero
ec1a62b50d
move int-util.h to epee
6 years ago
Riccardo Spagni
a605c0da08
Merge pull request #4872
...
fc99f177
lmdb: fix gcc 7.3.0 'implicit-fallthrough' warning (xiphon)
6 years ago
Riccardo Spagni
e7d30780de
Merge pull request #4869
...
60f36386
Avoid unnecessary temp block and copy ctor (moneromooo-monero)
6 years ago
Riccardo Spagni
eba668c6ad
Merge pull request #4862
...
3998a937
Enhance help text for print_ring. (Tadeas Moravec)
3900fb77
Enhance help text for incoming_transfers. (Tadeas Moravec)
6 years ago
Riccardo Spagni
11d86f6008
Merge pull request #4859
...
6f2497bc
Don't cache nettype in core_rpc_server use m_core (doy-lee)
6 years ago
Riccardo Spagni
c00ac446fd
Merge pull request #4854
...
bd98e99c
Removed a lot of unnecessary includes (Martijn Otto)
6 years ago
Riccardo Spagni
398f7076bb
Merge pull request #4853
...
2b3595d0
various: do not propagate exception through dtor (moneromooo-monero)
6 years ago
Riccardo Spagni
94288d7d1d
Merge pull request #4845
...
6732fc7f
Fix issue 4793 - M/N multisig transaction signature (naughtyfox)
6 years ago
Tadeas Moravec
6456cb415a
Bulletproof: Initialize members in default construtor.
...
Fixing a build warning on g++ 7.3.0
6 years ago
moneromooo-monero
9b69a0ae01
daemon: print monero version at startup when calling a detached daemon
...
So people who want a timstamp get a timestamp
6 years ago
moneromooo-monero
0c5dd3161b
cryptonote: add a set_null for transaction_prefix
...
Since it's all inline, I suspect the compiler will merge the
duplicate stores anyway.
6 years ago
moneromooo-monero
aba9a9c277
daemon: stop miner before we bring the whole thing down
...
This avoids the miner erroring out trying to submit blocks
to a core that's already shut down (and avoids pegging
the CPU while we're busy shutting down).
6 years ago
moneromooo-monero
ac665418f0
ringct: fix dummy bulletproofs on ledger in fake mode
...
Ledger does some basic checks on them
6 years ago
Dusan Klinec
318cc78457
device/trezor: passphrase entry on host
...
- simple device callback object added. Device can request passphrase/PIN entry via the callback or notify user some action is required
- callback is routed to wallet2, which routes the callback to i_wallet_callback so CLI or GUI wallets can support passphrase entry for HW tokens
- wallet: device open needs wallet callback first - passphrase protected device needs wallet callback so user can enter passphrase
6 years ago
Jason Wong
dc1c12528d
add command pop_blocks
...
add new public method to Blockchain and update according to code review
update after review: better lock/unlock, try catch and coding style
6 years ago
moneromooo-monero
a48f2dab00
blockchain_prune_known_spent_data: blackball file is now optional
...
If not present, the tool will scan the blockchain, since scanning
for this is fairly fast.
6 years ago
moneromooo-monero
17b45725af
Outputs where all amounts are known spent can now be pruned
...
Only for pre rct for obvious reasons.
Note: DO NOT use a known spent list which includes outputs
which are not known spent. If the list includes any output
that's just strongly thought to be spent, but not provably
so, you risk finding yourself unable to sync past the point
where that output is spent.
I estimate only 200 MB saved on current mainnet though,
unless the new blackballing rule unearths a good amount of
large-amount-set extra spent outs.
6 years ago
moneromooo-monero
756684bb28
blockchain: avoid unnecessary DB lookups when syncing
...
Some of the inputs for block in a span will be from other earlier
blocks in that span. Keep track of those outputs so we don't have
to look them up again after those early blocks are added to the
blockchain.
6 years ago
moneromooo-monero
5ca4994c9c
rpc: speed up the common get_output_distribution case while syncing
6 years ago
moneromooo-monero
e98ae34e4b
core: fix adding new pre-hoh block when a tx is already in the pool
6 years ago
stoffu
0e2a5d75de
simplewallet: use is_transfer_unlocked instead of is_tx_spendtime_unlocked for show_transfers
...
Followup on #4728
6 years ago
Riccardo Spagni
58ce16d4d9
Merge pull request #4821
...
fc98f7a0
rpc: speedup get_outs.bin (moneromooo-monero)
6 years ago
moneromooo-monero
fc98f7a0a1
rpc: speedup get_outs.bin
6 years ago
Riccardo Spagni
3e2abc9eaa
Merge pull request #4834
...
2c7195d8
bulletproofs: avoid std::vector allocations for slice (moneromooo-monero)
6 years ago
Riccardo Spagni
4a64303d71
Merge pull request #4831
...
c5ee14ae
json_archive: initialize inner_array_size in ctor (moneromooo-monero)
6 years ago
Riccardo Spagni
c4fd8ce97e
Merge pull request #4830
...
dffec258
db_lmdb: error out if the db needs migration in read only mode (moneromooo-monero)
6 years ago
Riccardo Spagni
eccb9b08c4
Merge pull request #4825
...
b9b307d1
rpc: speedup get_output_distribution (moneromooo-monero)
6 years ago
Riccardo Spagni
b37ce24cdd
Merge pull request #4824
...
2ffe53d9
device/trezor: webusb transport added, cmake fixes (Dusan Klinec)
6 years ago
Riccardo Spagni
cc1ea0b651
Merge pull request #4816
...
1a4d1603
wallet2: remove redundant chacha key generation in store_keys (stoffu)
6 years ago
moneromooo-monero
506472e0c6
protocol: fix use after free when dropping a connection
6 years ago
Dusan Klinec
2ffe53d9e6
device/trezor: webusb transport added, cmake fixes
...
- webusb transport based on libusb added. Provides direct access to Trezor via USB, no need for Trezor bridge.
- trezor protocol message handler improved, no recursion used. Ready for upcoming integration tests.
- libusb (for docker) bumped from v1.0.9 to v1.0.22, newer version required for webusb transport, for device enumeration.
- cmake improvements and fixes. Cmake Trezor checks are moved to a dedicated CheckTrezor.cmake file. In case of a problem Trezor is excluded from build.
- ifdefs made consistent to Ledger.
- UDP Transport enumeration disabled by default in release mode
6 years ago
moneromooo-monero
2be31b4c9c
blockchain_blackball: spot when all outputs of an amount are spent
6 years ago
stoffu
9b5efad294
simplewallet: enable donation on testnet/stagenet for easier testing
6 years ago
moneromooo-monero
aee7a4e364
wallet_rpc_server: do not use RPC data if the call failed
...
Found by codacy.com
6 years ago
moneromooo-monero
1a0733e534
windows_service: fix memory leak
...
Found by codacy.com
6 years ago
moneromooo-monero
5d9915ab9e
cryptonote: fix get_unit for non default settings
...
Found by codacy.com
6 years ago
moneromooo-monero
d4f50cb109
remove some unused code
...
Found by codacy.com
6 years ago
moneromooo-monero
611639710d
a few minor (but easy) performance tweaks
...
Found by codacy.com
6 years ago
moneromooo-monero
3002307418
tests: slow_memmem now returns size_t
...
Makes more sense than uint64_t for an offset, and agrees with
the %zu used to print results.
Found by codacy.com
6 years ago
stoffu
c28e3d2dae
rctOps: add braces to suppress warnings
6 years ago
moneromooo-monero
b0d9d6051f
cn_deserialize: allow parsing partially valid tx extra
6 years ago
stoffu
b5573fc231
wallet2: resume processing when tx extra is partially broken
...
Motivated by https://monero.stackexchange.com/questions/10483
Some exchanges appear to have customized the wallet software
in an inappropriate way, making the tx extra field partially
unreadable. PR #3716 changed the wallet behavior disallowing
such partially valid tx extra.
An example tx reported by the user is
e87c675a85f34ecac58a8846613d25062f1813e1023c552b705afad32b972c38
where the normal tx pubkey appears again with the aditional
tx pubkeys tag `04` which is inappropriate.
6 years ago
moneromooo-monero
56e616e855
wallet2: add n_vouts to capture list
6 years ago
Jethro Grassie
517f25efd1
rpc: add version to get_info
6 years ago
moneromooo-monero
6bfcc57395
scoped_message_writer: protect all std::cout usage from readline
6 years ago
moneromooo-monero
96e6b43970
blockchain_stats: don't use gmtime_r on Windows
...
In some cases, it doesn't like it (I don't know the details).
Factor into a new epee function
6 years ago
moneromooo-monero
c25260f51c
protocol: fix incorrect tx hash in log
6 years ago
naughtyfox
6732fc7fde
Fix issue 4793 - M/N multisig transaction signature
6 years ago
moneromooo-monero
b9b307d11a
rpc: speedup get_output_distribution
...
and decrease the amount of data carried around
6 years ago
Riccardo Spagni
84dd674cd0
Merge pull request #4781
...
2a48c2a2
slow-hash: some more big endian fixes (xiphon)
b39fdf8e
slow-hash: fix for big endian (moneromooo-monero)
6 years ago