jw
65940b75f7
Merge pull request #155 from wowario/upstream
...
Upstream
2019-01-17 21:41:39 -08:00
moneromooo-monero
0138a9a2b9
blockchain: fix wrong hf version when popping multiple blocks
...
Since we keep track of the hf version in the db, we pick it up
from there instead of doing the full reorg call, which is quite
expensive
2019-01-17 00:22:33 +03:00
moneromooo-monero
b0fda7c551
blockchain: use the version passed as parameter, not a new one
2019-01-17 00:21:54 +03:00
binaryFate
64c7ced3ed
Update 2019 copyright
2019-01-16 00:31:13 +03:00
moneromooo-monero
314e24d0ff
blockchain_db: speedup tx output gathering
...
We know all the data we'll want for getblocks.bin is contiguous
2019-01-15 23:44:32 +03:00
moneromooo-monero
ccaffcfbb5
blockchain: fix block rate check for empty blockchains
2019-01-15 23:43:06 +03:00
moneromooo-monero
3f4fc508ff
cryptonote_core: revert extra_tx_map
...
While the lookups are faster, the zeroCommit calls have to be
done again when storing the new outputs in the db, which ends
up making the whole thing slower after all, and the ways this
can be cached aren't very nice code wise, so let's forget it
since the gains aren't very large anyway.
2019-01-15 23:40:06 +03:00
moneromooo-monero
bfd24d58c6
notify: handle arbitrary tags
2019-01-15 23:33:28 +03:00
moneromooo-monero
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
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
83072c2165
core, wallet: remember original text version of destination address
2019-01-15 23:28:34 +03:00
moneromooo-monero
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
wowario
2439d2a39d
update checkpoints
2019-01-13 12:37:24 +03:00
jw
d85d908ddc
Merge pull request #153 from wowario/upstream
...
Upstream
2019-01-08 19:23:19 -08:00
moneromooo-monero
36da8397f8
tx_pool: add a few std::move where it can make a difference
2019-01-08 21:36:13 +03:00
moneromooo-monero
7bb6c00b5e
cryptonote: set tx hash on newly parsed txes when known
2019-01-08 21:36:12 +03:00
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
2019-01-08 21:36:11 +03:00
moneromooo-monero
636ffdc7a1
blockchain: fix race between two external mining threads
2019-01-08 21:36:10 +03:00
wowario
9f2ea08a8e
make simplewallet simple
2018-12-27 22:24:05 +03:00
wowario
28100fbd68
update checkpoints
2018-12-18 01:16:00 +03:00
jw
389d2bc53e
Merge pull request #134 from wowario/old_bp
...
Support old bulletproof
2018-12-16 21:33:53 -08:00
fuwa
65d056aeae
use the predefined diff variable for next-diff
2018-12-15 00:02:07 +03:00
fuwa
fbc506b1f5
fix logic for choosing timestamp-check-window-version
2018-12-15 00:01:51 +03:00
fuwa
10b7f2b45f
forbit old bulletproof after new bulletproof HF
2018-12-14 23:00:23 +03:00
wowario
5bf7ce14c5
support old BP
2018-12-14 22:58:59 +03:00
jw
7e93cdba07
Merge pull request #131 from wowario/misc
...
remove monero stuff
2018-12-14 11:33:06 -08:00
wowario
57e8fce462
remove monero stuff
2018-12-14 19:31:44 +03:00
wowario
d9649d98cd
Merge remote-tracking branch 'upstream/master' into upstream
2018-12-12 14:58:54 +03:00
Riccardo Spagni
fe3c8c9682
Merge pull request #4923
...
aba9a9c2 daemon: stop miner before we bring the whole thing down (moneromooo-monero)
2018-12-12 12:00:37 +02:00
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)
2018-12-12 11:59:43 +02:00
Riccardo Spagni
83684ea515
Merge pull request #4909
...
756684bb blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero)
2018-12-12 11:59:25 +02:00
Riccardo Spagni
0fccc78e39
Merge pull request #4903
...
dc1c1252 add command pop_blocks (Jason Wong)
2018-12-12 11:58:37 +02:00
Riccardo Spagni
dde1e69723
Merge pull request #4787
...
3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero)
2018-12-12 11:53:10 +02:00
jw
61f3a191df
Merge pull request #127 from wowario/dev-v0.5
...
Rebase: Initial commit
2018-12-05 16:55:31 -08:00
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)
2018-12-04 17:33:19 +02:00
wowario
675b879844
initial commit
2018-12-04 18:29:23 +03:00
moneromooo-monero
ec1a62b50d
move int-util.h to epee
2018-12-04 15:14:29 +00:00
Riccardo Spagni
e7d30780de
Merge pull request #4869
...
60f36386 Avoid unnecessary temp block and copy ctor (moneromooo-monero)
2018-12-04 17:12:47 +02:00
Riccardo Spagni
c00ac446fd
Merge pull request #4854
...
bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
2018-12-04 17:08:42 +02:00
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).
2018-11-30 15:10:25 +00:00
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
2018-11-28 12:20:28 +01:00
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.
2018-11-27 14:03:06 +00:00
moneromooo-monero
e98ae34e4b
core: fix adding new pre-hoh block when a tx is already in the pool
2018-11-26 23:45:01 +00:00
moneromooo-monero
fc98f7a0a1
rpc: speedup get_outs.bin
2018-11-26 18:56:23 +00:00
moneromooo-monero
d4f50cb109
remove some unused code
...
Found by codacy.com
2018-11-23 15:37:36 +00:00
moneromooo-monero
611639710d
a few minor (but easy) performance tweaks
...
Found by codacy.com
2018-11-23 15:36:48 +00:00
moneromooo-monero
60f36386e4
Avoid unnecessary temp block and copy ctor
...
block already has a default ctor, and the extra object
churn due to its innards (vectors, etc) is pointless.
2018-11-19 17:57:17 +00:00
moneromooo-monero
31d80027b5
tests: add unit tests for get_output_distribution
2018-11-16 19:21:45 +00:00
moneromooo-monero
0936dae8a4
blockchain: remove "0 is height" shortcut from get_output_distribution
...
This prevents asking for just 0, and the RPC layer already does this
2018-11-16 10:03:02 +00:00
moneromooo-monero
872c7eb26a
Revert "blockchain: simplify output distribution code"
...
This reverts commit b2bb9312a75781e714acf3c406634b3d4cded418.
2018-11-16 10:02:59 +00:00