moneromooo-monero
2af2c74000
blockchain_dump: fix build without berkeley db
2015-10-30 22:48:58 +00:00
Riccardo Spagni
cc2a3aadad
Merge pull request #464
...
e200dd4
rpc: fix start_mining and status RPC crashes (moneromooo-monero)
2015-10-30 09:13:18 +02:00
Riccardo Spagni
2c4ff0fce7
Merge pull request #462
...
f8fd7f5
blockchain_utilities: properly exit on error (moneromooo-monero)
2015-10-30 09:12:34 +02:00
Riccardo Spagni
e288de1bc6
Merge pull request #459
...
8670c6a
Remove some old/obsolete/unused code (moneromooo-monero)
2015-10-30 09:11:48 +02:00
Riccardo Spagni
ce44d75993
Merge pull request #458
...
8db441a
common: const and init list pedantry (moneromooo-monero)
2015-10-30 09:11:10 +02:00
Riccardo Spagni
1a5755cf24
Merge pull request #456
...
9c6c1be
Fix a possibly-unused warning, and rationalize types (moneromooo-monero)
2015-10-30 09:10:29 +02:00
moneromooo-monero
e200dd4eb3
rpc: fix start_mining and status RPC crashes
...
They check whether they're running on testnet by accessing the
m_rpc_server object, which does not exist when in RPC mode.
Also, fix hard_fork_info being called with the wrong API.
2015-10-28 18:11:16 +00:00
moneromooo-monero
f8fd7f5500
blockchain_utilities: properly exit on error
...
Replace boolean values and exceptions where appropriate
2015-10-27 16:17:29 +00:00
moneromooo-monero
8670c6a301
Remove some old/obsolete/unused code
...
git history's here if needed to get any of this back
2015-10-27 11:30:37 +00:00
moneromooo-monero
8db441a2b1
common: const and init list pedantry
2015-10-27 09:38:04 +00:00
moneromooo-monero
9c6c1be7ad
Fix a possibly-unused warning, and rationalize types
2015-10-27 09:11:10 +00:00
Riccardo Spagni
a34b3a1f8e
Merge pull request #454
...
9d4e0d8
Build fixes for the old blockchain_storage version (moneromooo-monero)
2015-10-27 09:07:08 +02:00
Riccardo Spagni
d317e57cde
Merge pull request #452
...
7ea55d7
db_bdb: add versioning, to detect incompatible format changes (moneromooo-monero)
ebd8711
db_lmdb: add versioning, to detect incompatible format changes (moneromooo-monero)
2015-10-27 09:06:33 +02:00
moneromooo-monero
9d4e0d82cf
Build fixes for the old blockchain_storage version
2015-10-26 22:37:16 +00:00
moneromooo-monero
7ea55d72d8
db_bdb: add versioning, to detect incompatible format changes
2015-10-26 18:10:49 +00:00
moneromooo-monero
ebd871199d
db_lmdb: add versioning, to detect incompatible format changes
2015-10-26 18:10:42 +00:00
Riccardo Spagni
12508cb35c
Merge pull request #439
...
36252b9
hardfork: switch voting to block minor version (moneromooo-monero)
2015-10-26 18:07:26 +02:00
Riccardo Spagni
a014be40e1
renamed folder
2015-10-26 18:05:26 +02:00
Riccardo Spagni
6665ae4e61
Merge pull request #449
...
87425c2
rpc: fix hard_fork_info RPC (moneromooo-monero)
33b96d8
rpc: fix a few commands not working as command line (moneromooo-monero)
2015-10-26 18:04:23 +02:00
Riccardo Spagni
63d27665d4
Merge pull request #447
...
36b2863
daemon: add a status command (moneromooo-monero)
2015-10-26 18:03:56 +02:00
Riccardo Spagni
d061c22012
Merge pull request #445
...
ac92a1b
Fix leak on real output when using a very recent output (moneromooo-monero)
2015-10-26 18:03:26 +02:00
Riccardo Spagni
49a9ce5261
Merge pull request #443
...
3ba97a2
blockchain_utilities: new blockchain_dump diagnostic tool (moneromooo-monero)
e3fe459
Add functions to iterate through blocks, txes, outputs, key images (moneromooo-monero)
bfc9740
db_bdb: record numbers for recno databases start at 1 (moneromooo-monero)
03b15c4
db_bdb: DB_KEYEMPTY is also not found for non-top recon fields (moneromooo-monero)
45d73a4
blockchain_db: use the DNE exceptions where appropriate (moneromooo-monero)
2015-10-26 18:01:45 +02:00
Riccardo Spagni
d76ce2ba0c
Merge pull request #441
...
9556017
console_handler: silence spurious message when exiting daemon (moneromooo-monero)
2015-10-26 18:00:41 +02:00
moneromooo-monero
87425c2460
rpc: fix hard_fork_info RPC
...
I had never tested it, obviously
2015-10-26 10:20:47 +00:00
moneromooo-monero
33b96d838b
rpc: fix a few commands not working as command line
...
The method name to the "json_rpc" commands are names, not part
of URLs.
2015-10-26 10:20:41 +00:00
moneromooo-monero
36b28631b1
daemon: add a status command
...
Displays current block height and target, net hash, hard fork
basic info, and connections.
Useful as a basic user friendly "what's going on here" command.
2015-10-25 21:38:46 +00:00
moneromooo-monero
ac92a1b26b
Fix leak on real output when using a very recent output
...
The wallet and the daemon applied different height considerations
when selecting outputs to use. This can leak information on which
input in a ring signature is the real one.
Found and originally fixed by smooth on Aeon.
2015-10-25 16:36:55 +00:00
moneromooo-monero
3ba97a21e9
blockchain_utilities: new blockchain_dump diagnostic tool
...
It dumps data from the blockchain to a JSON format, and is
intended to help detect differences between data held in
different database formats.
2015-10-25 12:39:55 +00:00
moneromooo-monero
e3fe4597cf
Add functions to iterate through blocks, txes, outputs, key images
2015-10-25 12:39:29 +00:00
moneromooo-monero
bfc97401ae
db_bdb: record numbers for recno databases start at 1
2015-10-25 12:37:18 +00:00
moneromooo-monero
03b15c45bd
db_bdb: DB_KEYEMPTY is also not found for non-top recon fields
2015-10-25 12:37:11 +00:00
moneromooo-monero
45d73a4469
blockchain_db: use the DNE exceptions where appropriate
2015-10-25 12:37:05 +00:00
moneromooo-monero
9556017698
console_handler: silence spurious message when exiting daemon
...
The daemon registers a custom exit command, which cause the
loop to stop. Catch this case before printing "Failed to read line"
as this is an expected case.
2015-10-21 20:00:00 +01:00
moneromooo-monero
36252b9ee8
hardfork: switch voting to block minor version
...
Using major version would cause older daemons to reject those
blocks as they fail to deserialize blocks with a major version
which is not 1. There is no such restriction on the minor
version, so switching allows older daemons to coexist with
newer ones till the actual fork date, when most will hopefully
have updated already.
Also, for the same reason, we consider a vote for 0 to be a
vote for 1, since older daemons set minor version to 0.
2015-10-21 19:30:06 +01:00
Riccardo Spagni
d929d4cd19
Merge pull request #436
...
e62e51a
blockchain_export can now export to a blocks.dat format (moneromooo-monero)
41c9c1e
bootstrap_file: do not try to create a directory with an empty name (moneromooo-monero)
a2c5398
hardfork: use DB transactions when reorganizing (moneromooo-monero)
fba870c
hardfork: simplify work done on reload (moneromooo-monero)
2015-10-20 20:57:52 +02:00
moneromooo-monero
e62e51aefc
blockchain_export can now export to a blocks.dat format
...
Also make the number of blocks endian independant, and add
support for testnet
2015-10-17 00:19:00 +01:00
moneromooo-monero
41c9c1e17b
bootstrap_file: do not try to create a directory with an empty name
...
This will happen if the chosen output file does not have a
path specified
2015-10-17 00:13:05 +01:00
moneromooo-monero
a2c5398583
hardfork: use DB transactions when reorganizing
...
It speeds up a lot, which can be significant when reorganizing
from the genesis block to create the hard fork data.
2015-10-17 00:12:58 +01:00
moneromooo-monero
fba870c361
hardfork: simplify work done on reload
...
There is no need to fully recalculate and rewrite state, just
refill state from the DB.
2015-10-17 00:12:52 +01:00
Riccardo Spagni
e92ea7976e
Merge pull request #434
...
4adba9b
Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget)
3189671
remove defunct code from cryptonote::core (Thomas Winget)
9366319
cryptonote::core doxygen documentation (Thomas Winget)
f2cc3a9
doxygen documentation for difficulty functions (Thomas Winget)
37fa7b4
Move checkpoint functions into checkpoints class (Thomas Winget)
04055a0
doxygen documentation for checkpoints.{h,cpp} (Thomas Winget)
910bcc0
documentation updates to Blockchain (Thomas Winget)
6fe7aed
minor bugfixes and refactoring (Thomas Winget)
94f7615
Remove unnecessary or defunct code (Thomas Winget)
3ba43b3
doxygen include private and static members (Thomas Winget)
a3834f9
Updated documentation for blockchain.* (Thomas Winget)
2015-10-15 19:26:49 +02:00
Riccardo Spagni
d25631f3ad
Merge pull request #422
...
60a6919
Update to compile with latest miniupnpc (warptangent)
2015-10-15 19:26:10 +02:00
Riccardo Spagni
86b1371f56
Merge pull request #433
...
bb25d8e
wallet2: really include non canonical outputs in dust sweep (moneromooo-monero)
2015-10-15 19:25:20 +02:00
Riccardo Spagni
c8aca79e26
Merge pull request #430
...
8a5b742
simplewallet: add a check_tx_key command (moneromooo-monero)
2015-10-15 19:24:47 +02:00
Thomas Winget
d23d46356a
Merge recent changes from upstream into branch
2015-10-14 15:56:14 -04:00
moneromooo-monero
8a5b7421de
simplewallet: add a check_tx_key command
...
It allows one to check the amount of monero sent to a particular
address in a particular transaction, given that transaction's tx key
2015-10-14 17:32:38 +01:00
moneromooo-monero
bb25d8e55b
wallet2: really include non canonical outputs in dust sweep
2015-10-14 01:10:33 +01:00
Riccardo Spagni
ee27c31c59
Merge pull request #428
...
594fe47
simplewallet: add a --trusted-daemon flag (moneromooo-monero)
2015-10-11 21:55:23 +02:00
Riccardo Spagni
47f0b03c5c
Merge pull request #426
...
9da825e
simplewallet: bump default mixin from 3 to 4 (moneromooo-monero)
492f45b
from hard fork 2, all outputs must be decomposed (moneromooo-monero)
4794fb9
from hard fork 2, claim a quantized reward in coinbase (moneromooo-monero)
708c0ed
cryptonote_format_utils: add a function to tell if an amount is canonical (moneromooo-monero)
2015-10-11 21:54:24 +02:00
Riccardo Spagni
b96b7c0177
Merge pull request #424
...
be2764a
miniupnpc: quick fix for buffer overflow (moneromooo-monero)
2015-10-11 21:49:02 +02:00
moneromooo-monero
594fe471a2
simplewallet: add a --trusted-daemon flag
...
It allows enabling the rescan_spent command only for trusted
daemon
2015-10-11 19:48:25 +01:00