moneromooo-monero
3b47ca2d7d
hardfork: fix rescan on load
2015-11-23 21:12:55 +00:00
Javier Smooth
4cea2b13b2
Add IP blocking for misbehaving nodes (adapted from Boolberry)
...
With minor cleanup and fixes (spelling, indent) by moneromooo
2015-11-23 18:06:20 +00:00
Javier Smooth
9c64b12320
quiet down p2p logging a bit
2015-11-23 17:20:47 +00:00
moneromooo-monero
53c75ab4a0
blockchain: log versions as numbers, not characters
2015-11-23 15:53:59 +00:00
moneromooo-monero
edade8dc81
hardfork: fix actual/voting confusion
2015-11-23 14:04:33 +00:00
moneromooo-monero
06c8b94925
daemon: fix blockchain height display not updating after sync
2015-11-23 13:16:05 +00:00
moneromooo-monero
410c6cf3bd
cn_deserialize: a new tool to decode blocks and transactions
2015-11-22 21:52:14 +00:00
Javier Smooth
3d0b3c5018
add recent static checkpoint
2015-11-22 13:32:19 -08:00
moneromooo-monero
9b945f5211
wallet: make the refresh optimizations selectable via command line
...
Take the opportunity to add a no-coinbase case too, for even faster
sync when an address is known to never have mined to.
2015-11-22 19:03:10 +00:00
Riccardo Spagni
263cc48c48
Merge pull request #495
...
328636c
fixed testnet fork point, added comment data back in (Riccardo Spagni)
aed3038
disable time-stats by default, tweak fast-block-sync description (Riccardo Spagni)
8fe1111
update v2 testnet fork height (Riccardo Spagni)
4d74510
checkpoints update (Riccardo Spagni)
2015-11-22 20:43:35 +02:00
moneromooo-monero
d2c031332e
wallet: speedup refresh from daemon
...
Assume the whole of a coinbase goes to the same address (so that
if the first output isn't for us, none of it is), and only look
for payment id when we received something in the transaction.
2015-11-22 18:07:19 +00:00
moneromooo-monero
ea707c779c
wallet2: minor cleanup
...
- use std::vector::std::deque to not leak when exceptions happen
- use std::unique_ptr instead of the deprecated std::auto_ptr
2015-11-22 18:07:14 +00:00
moneromooo-monero
55a2da7475
wallet2: speedup refresh a bit
...
Use the NoodleDoodle threading technique to speedup a couple
code blocks on the main path when refreshing blocks without
any transactions for us.
2015-11-22 18:07:07 +00:00
Riccardo Spagni
328636cdb3
fixed testnet fork point, added comment data back in
2015-11-22 19:40:38 +02:00
Riccardo Spagni
72a348e734
Merge pull request #496
...
db1fb66
wallet: storing outgoing tx info now defaults to enabled (moneromooo-monero)
9156ba3
wallet: rename store-tx-keys to store-tx-info (moneromooo-monero)
b3d4d41
wallet: improve show_transfers (moneromooo-monero)
725ae4e
wallet: use incoming blocks to keep track of payments too (moneromooo-monero)
00790a8
simplewallet: lessen display flicker confusion (moneromooo-monero)
2015-11-22 16:47:14 +02:00
moneromooo-monero
db1fb66e66
wallet: storing outgoing tx info now defaults to enabled
...
The info is stored encrypted, and is pretty useful, often after
the fact.
2015-11-22 12:40:03 +00:00
moneromooo-monero
9156ba3a3c
wallet: rename store-tx-keys to store-tx-info
...
With backward compatibility
2015-11-22 12:26:27 +00:00
moneromooo-monero
b3d4d41e29
wallet: improve show_transfers
...
More information is now saved and displayed
2015-11-22 12:13:59 +00:00
moneromooo-monero
725ae4e710
wallet: use incoming blocks to keep track of payments too
2015-11-21 23:22:15 +00:00
Riccardo Spagni
aed3038b75
disable time-stats by default, tweak fast-block-sync description
2015-11-21 15:57:23 +02:00
Riccardo Spagni
8fe1111b5b
update v2 testnet fork height
2015-11-21 15:36:13 +02:00
Riccardo Spagni
4d74510a4a
checkpoints update
2015-11-21 15:11:21 +02:00
moneromooo-monero
00790a8921
simplewallet: lessen display flicker confusion
...
Height seemed to be flying all over the place on a rescan here.
Logging to a file shows the heights are actually correct, and
this is some kind of screen refresh artifact. Flush after \r
and update less often to reduce this effect a lot.
2015-11-21 11:52:35 +00:00
Riccardo Spagni
9276233b9e
Merge pull request #493
...
f3724ae
Fix startup crash when using a locale boost does not like (moneromooo-monero)
0c1dae3
i18n: allow language to be passed as a parameter (moneromooo-monero)
2015-11-21 13:08:42 +02:00
Riccardo Spagni
830904ca4e
Merge pull request #492
...
932994c
Relay transactions when they linger too long in the pool (moneromooo-monero)
2015-11-21 13:05:01 +02:00
moneromooo-monero
f3724aef88
Fix startup crash when using a locale boost does not like
...
There are various locale related bugs in various versions of boost,
where exceptions are thrown in boost::filesystem APIs when the
current locale is not to boost's liking. It's not clear what "not
to boost's liking" means in detail, though "en" and "en_US.UTF-8"
are not to its liking.
Fix it by running a test function that's known to throw in such
a case, and resetting LANG and LC_ALL to C if an exception is
thrown. In simplewallet, the locale is queried before that so the
correct translations will still be used.
2015-11-21 10:13:10 +00:00
moneromooo-monero
0c1dae32b4
i18n: allow language to be passed as a parameter
...
If empty, it will still be fetched from the environment
2015-11-21 10:11:50 +00:00
moneromooo-monero
932994c0cb
Relay transactions when they linger too long in the pool
...
The last relayed time of a transaction is maintained, and
transactions will be relayed again if they are still in the
pool after a certain amount of time, which increases with
the transaction's age. All such transactions are resent,
whether or not they originated on the local node.
2015-11-21 00:56:21 +00:00
Riccardo Spagni
0d09e15a1c
Merge pull request #490
...
baf101e
More changes for 2-min blocks Use the correct block time for realtime fuzz on locktime Use the correct block time to calculate next_difficulty on alt chains (will not work as-is with voting) Lock unit tests to original block time for now (Javier Smooth)
4fea1a5
Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block version 2 (Javier Smooth)
2015-11-18 10:37:27 +02:00
Riccardo Spagni
bc7aa988a6
Merge pull request #488
...
036d352
tests: fix build error with CLANG (moneromooo-monero)
2015-11-18 10:37:04 +02:00
Riccardo Spagni
61a015d01d
Merge pull request #487
...
3f611bc
wallet: track outgoing payments and add a show_transfers command (moneromooo-monero)
2015-11-18 10:36:34 +02:00
Riccardo Spagni
a44428e228
Merge pull request #485
...
1b40952
Revert "db_bdb: record numbers for recno databases start at 1" (moneromooo-monero)
2015-11-18 10:36:12 +02:00
moneromooo-monero
036d352210
tests: fix build error with CLANG
2015-11-17 16:33:00 +00:00
moneromooo-monero
3f611bc3dc
wallet: track outgoing payments and add a show_transfers command
...
It's a user friendly display of incoming and outgoing transfers,
listed by height, within an optional height range.
2015-11-15 21:59:40 +00:00
moneromooo-monero
1b40952754
Revert "db_bdb: record numbers for recno databases start at 1"
...
It looks like some of the indices passed to the DB access functions
are already bumped by 1. Moreover, the existing code was not
throwing DB errors with 0 keys, and this is unlikely if it really
was using 0 keys. Last, this patch broke sync from scratch in at
least one case. So I'm calling it bad and reverting it.
This reverts commit bfc97401ae81bb30278a318de7f048c653bf6582.
2015-11-13 09:28:17 +00:00
Javier Smooth
baf101ef4a
More changes for 2-min blocks
...
Use the correct block time for realtime fuzz on locktime
Use the correct block time to calculate next_difficulty on alt chains (will not work as-is with voting)
Lock unit tests to original block time for now
2015-11-13 00:37:35 -08:00
Javier Smooth
4fea1a5fe7
Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block version 2
2015-11-13 00:30:45 -08:00
Riccardo Spagni
ea7380aa7f
Merge pull request #481
...
2f254ff
hardfork: add a get_ideal_version(uint64_t) function (moneromooo-monero)
4187e56
hardfork: allow per-fork voting thresholds (moneromooo-monero)
2015-11-11 11:08:54 +02:00
moneromooo-monero
2f254ff599
hardfork: add a get_ideal_version(uint64_t) function
...
It returns the ideal version for a given height, which is
based on the minimum height for a fork, disregarding votes
2015-11-10 09:45:51 +00:00
moneromooo-monero
4187e569d8
hardfork: allow per-fork voting thresholds
...
And setup the first fork to not vote
2015-11-08 13:04:41 +00:00
Riccardo Spagni
6a01030533
Merge pull request #475
...
ef4c5b5
unit_tests: fix build without berkeleydb (moneromooo-monero)
2015-11-04 10:25:36 +02:00
moneromooo-monero
ef4c5b5d8e
unit_tests: fix build without berkeleydb
2015-11-03 09:53:09 +00:00
Riccardo Spagni
575af61815
Merge pull request #470
...
b1d0c8a
blockchain_dump: fix build without berkeley db (moneromooo-monero)
2015-11-01 14:12:13 +02:00
Riccardo Spagni
71e17abfec
Merge pull request #468
...
c7dc6ef
simplewallet: add a set default-mixin command (moneromooo-monero)
2015-11-01 14:11:29 +02:00
moneromooo-monero
b1d0c8a049
blockchain_dump: fix build without berkeley db
2015-10-30 22:48:04 +00:00
moneromooo-monero
c7dc6ef8e8
simplewallet: add a set default-mixin command
...
The default default mixin is 4. It can now be changed per wallet.
2015-10-30 21:16:51 +00:00
Riccardo Spagni
466706f695
Merge pull request #465
...
5f8baba
wallet2: fix CLANG compile error (moneromooo-monero)
2015-10-30 19:11:17 +02:00
moneromooo-monero
5f8baba26e
wallet2: fix CLANG compile error
2015-10-30 14:35:55 +00:00
Riccardo Spagni
5978fc18f7
Merge pull request #463
...
051ddbc
rpc: fix start_mining and status RPC crashes (moneromooo-monero)
2015-10-30 09:59:22 +02:00
Riccardo Spagni
9ea58ebbae
Merge pull request #461
...
bc110af
blockchain_utilities: properly exit on error (moneromooo-monero)
2015-10-30 09:59:00 +02:00