Commit graph

1405 commits

Author SHA1 Message Date
David G. Andersen
4d493f6d4f initial doxygen commenting of the CryptoNight proof-of-work code 2014-10-05 12:33:39 -04:00
Riccardo Spagni
e5ac88819a
added other skipped commit 2014-10-05 12:55:59 +02:00
Riccardo Spagni
aa6e8a92f6
added skipped commit 2014-10-05 12:52:40 +02:00
Riccardo Spagni
a04ca4b966
Merge branch 'oranjuice' 2014-10-05 12:44:31 +02:00
Riccardo Spagni
a41f23921c
added trim_length to language_base class, added license to langeuage_base 2014-10-05 12:42:40 +02:00
Riccardo Spagni
7e5331e612
new English word list, trim length of 3, average word size of 6 letters, designed to be a bit unusual and thus easier to memorise 2014-10-05 11:44:06 +02:00
Riccardo Spagni
434095d1f7
fixed conflict in CMakeLists 2014-10-05 11:40:25 +02:00
Oran Juice
41948fa2ec
Uses new Japanese file. Gives credit to dabura667. English file indentation tabs to spaces. 2014-10-05 02:41:15 +05:30
Riccardo Spagni
faca0db9c5
Merge pull request #169
1160505 fixed checkpointing bug (Riccardo Spagni)
c4d6658 quick hacky fix for broken TXT reads (Riccardo Spagni)
2322a94 cleaned up OpenAlias messages in simplewallet (Riccardo Spagni)
1663089 MoneroPulse log wording tweaks (Riccardo Spagni)
1d515b8 boost 1.56 kindly (and officially) patched in msys2 by Alexey Pavlov (Riccardo Spagni)
e3d2400 forgot to add connection context to log line (Riccardo Spagni)
6f7ed13 moved checkpoint log level (Riccardo Spagni)
3e644c2 moved file checkpointing log output to log1 (Riccardo Spagni)
0e1b7c9 moved non-critical p2p errors to l2 (Riccardo Spagni)
a3332e7 remove dangling upnp port mappings, updated miniupnpc (Riccardo Spagni)
6b9a7fc fixed unbound static lib on mingw as libunbound.dll.a (Riccardo Spagni)
bba217a remove pthreads, successfully tested on gcc 4.9.1 without pthreads (Riccardo Spagni)
18281f4 remove dangling upnp port mappings, updated miniupnpc (Riccardo Spagni)
9130e41 fixed unbound static lib on mingw as libunbound.dll.a (Riccardo Spagni)
8c37823 remove pthreads, successfully tested on gcc 4.9.1 without pthreads (Riccardo Spagni)
2014-10-04 07:47:04 +02:00
Riccardo Spagni
1160505454
fixed checkpointing bug 2014-10-03 21:45:29 +02:00
Riccardo Spagni
c4d6658f4c
quick hacky fix for broken TXT reads 2014-10-03 15:10:21 +02:00
Riccardo Spagni
2322a94427
cleaned up OpenAlias messages in simplewallet 2014-10-03 14:21:13 +02:00
Oran Juice
443d46a6f1
Don't show Old English as an available option 2014-10-03 16:25:44 +05:30
Riccardo Spagni
1663089b33
MoneroPulse log wording tweaks 2014-10-03 10:31:36 +02:00
Thomas Winget
aeaa44fe86
fixed signed-unsigned issue from 166
Loss of entropy can be discussed at a later time, but is
not deemed a significant issue for now.
2014-10-02 19:12:12 -04:00
Riccardo Spagni
1d515b8af6
boost 1.56 kindly (and officially) patched in msys2 by Alexey Pavlov 2014-10-03 00:09:48 +02:00
Riccardo Spagni
e3d24002c1
forgot to add connection context to log line 2014-10-02 19:43:21 +02:00
Riccardo Spagni
6f7ed13b72 moved checkpoint log level 2014-10-02 19:39:24 +02:00
Riccardo Spagni
3e644c25c4
moved file checkpointing log output to log1 2014-10-02 19:38:28 +02:00
Riccardo Spagni
0e1b7c9999
moved non-critical p2p errors to l2 2014-10-02 19:15:58 +02:00
Oran Juice
3e6b6bad2d
Had missed const and had to use .at instead of [] 2014-10-02 22:36:02 +05:30
Riccardo Spagni
d5f68170ca Merge branch 'master' of http://github.com/fluffypony/bitmonero 2014-10-02 18:55:30 +02:00
Riccardo Spagni
18281f4d20 remove dangling upnp port mappings, updated miniupnpc 2014-10-02 18:54:55 +02:00
Riccardo Spagni
9130e411e1 fixed unbound static lib on mingw as libunbound.dll.a 2014-10-02 18:54:55 +02:00
Riccardo Spagni
8c37823d45 remove pthreads, successfully tested on gcc 4.9.1 without pthreads 2014-10-02 18:54:55 +02:00
Riccardo Spagni
a3332e7e11
remove dangling upnp port mappings, updated miniupnpc 2014-10-02 18:43:13 +02:00
Oran Juice
b80755063e
Stop copying word list files to build directory 2014-10-02 21:47:49 +05:30
Oran Juice
4498e9efa0
Removed old word list file 2014-10-02 21:46:16 +05:30
Oran Juice
d683c8c724
Use reference types on LHS when using language methods 2014-10-02 21:45:31 +05:30
Oran Juice
fa723d8af8
Cut short word lists to 1626 words, added attribution to Electrum, some bug fixes 2014-10-02 21:44:26 +05:30
Oran Juice
4517bac7f3
Restructured language sources to be singletons 2014-10-02 21:43:28 +05:30
Oran Juice
6c3b85de21
Separated word lists to header files 2014-10-02 21:41:56 +05:30
Riccardo Spagni
1cf22b27a6
Merge pull request #165
c0bdd51 Daemon should now exit on conflicting checkpoints (Thomas Winget)
f0b4138 various changes to runtime checkpoint updating (Thomas Winget)
7568f89 Fixed segfault with checkpoints loading (Thomas Winget)
b261d92 DNS checkpoint updating added, and daemon flag to enforce them (Thomas Winget)
30caebf reload checkpoints file every ~hr and print if any fail (Thomas Winget)
0e14491 updated DNSResolver/things that use it for DNSSEC (Thomas Winget)
6f2c2e1 Adding an identical existing checkpoint should not error (Thomas Winget)
2014-10-02 16:48:05 +02:00
Riccardo Spagni
6b9a7fcd67
fixed unbound static lib on mingw as libunbound.dll.a 2014-10-02 15:49:18 +02:00
Riccardo Spagni
bba217a2a6
remove pthreads, successfully tested on gcc 4.9.1 without pthreads 2014-10-02 15:03:27 +02:00
Riccardo Spagni
0e777d0e65
simplewallet ignoring testnet port in RPC mode 2014-10-01 11:13:46 +02:00
Thomas Winget
c0bdd511c3 Daemon should now exit on conflicting checkpoints
If the "enforce DNS checkpoints" flag is not enabled, it should not exit
if DNS checkpoints conflict with the others, but should still print a
warning to the user.
2014-09-30 16:21:37 -04:00
Thomas Winget
f0b4138f1f various changes to runtime checkpoint updating
json checkpoints will be checked every 10 minutes, dns every 60.

json checkpoints always enforced, dns still with flag.

conflicting checkpoints is hard fail, but soft if dns enforce flag not
set and dns checkpoints are wonky.
2014-09-30 16:21:37 -04:00
Thomas Winget
7568f89c55 Fixed segfault with checkpoints loading
Bounds checking on blockchain_storage' m_blocks.size() when validating
against checkpoints.  Also moved initial json & DNS checkpoints load to
after blockchain init.
2014-09-30 16:21:37 -04:00
Thomas Winget
b261d9207b DNS checkpoint updating added, and daemon flag to enforce them
The daemon should now check for updated checkpoints from
checkpoints.moneropulse.org as well as from the configured json file
every ~1hr (and on launch).

The daemon now has a flag to enable enforcing these checkpoints (rather
    than just printing a warning when they fail).

TODO: an easily configurable list of DNS servers to check for
checkpoints as opposed to the hard-coded "checkpoints.moneropulse.org"
2014-09-30 16:21:37 -04:00
Thomas Winget
30caebfce3 reload checkpoints file every ~hr and print if any fail
also some other minor bug squashing and code formatting
2014-09-30 16:21:37 -04:00
Thomas Winget
0e1449135d updated DNSResolver/things that use it for DNSSEC
Note: DNSResolver does not yet *use* DNSSEC, but rather this commit is
preparation for including DNSSEC validation.  The function in
src/wallet/wallet2.cpp that uses DNSResolver still needs its parameters
updated accordingly.
2014-09-30 16:21:37 -04:00
Thomas Winget
6f2c2e1c27 Adding an identical existing checkpoint should not error
For checkpoints being read at runtime to work correctly, the checkpoint
add code needs to not return false if a checkpoint is added that already
exists.  In this case, instead return false if the checkpoint is for a
height that already has a checkpoint and the hashes are different.
2014-09-30 16:17:26 -04:00
Oran Juice
423bf69dca
Added attribution to Electrum for their word-lists 2014-09-30 23:53:02 +05:30
Oran Juice
4cbf8d4243
Is forgiving of spelling mistakes beyond the 1st 4 characters. 2014-09-30 23:30:27 +05:30
Oran Juice
cf70cc7787
Change seed message to '25' words from '24' words 2014-09-30 18:17:56 +05:30
Riccardo Spagni
e00f0551e0
Merge pull request #163
99945a5 dependencies enforced, send que error message log level moved (Riccardo Spagni)
2014-09-30 08:01:47 +02:00
Riccardo Spagni
99945a5c47
dependencies enforced, send que error message log level moved 2014-09-29 20:13:15 +02:00
Oran Juice
4f693d715c
Merge with origin/master 2014-09-28 15:52:05 +05:30
Oran Juice
2b60646c9b
Minor comment changes and code clean-up 2014-09-28 14:10:23 +05:30