oxen-core/src/common
Jason Rhinelander b51fd0c5db --regtest fixes and mine n blocks ability
`--regtest` didn't work in some edge cases, this fixes various things:

- the genesis block wasn't accepted because it needed to be v7, not
  vMax
- reduce initial uptime proof delay to 5s in regtest mode
- add --regtest flag to the wallet so that it can talk to a daemon in
  --regtest mode.

This also adds two new mining options, available via rpc:

- slow_mining - this avoids the RandomX initialization.  It is much
  slower, but for regtest with fixed difficulty of 1 that is perfectly
  fine.
- `num_blocks` - instruct the miner to mine for the given number of
  blocks, then stop.  (This can overmine if mining with multiple
  threads at a low difficulty, but that's fine).
2019-12-26 12:29:05 -04:00
..
compat Support docker for gitian builds 2019-02-14 23:14:34 +01:00
aligned.c Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
aligned.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
apply_permutation.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
base58.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
base58.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
boost_serialization_helper.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
CMakeLists.txt Use pkg-config for unbound and miniupnpc 2019-12-03 00:51:18 -04:00
combinator.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
combinator.h Merge commit '1f809e7' into LokiMergeUpstream 2019-05-01 17:06:47 +10:00
command_line.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
command_line.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
common_fwd.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
dns_utils.cpp Merge commit '98f4c8a' into LokiMergeUpstream 2019-05-01 17:04:00 +10:00
dns_utils.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
download.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
download.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
error.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
error.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
expect.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
http_connection.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
i18n.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
i18n.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
json_util.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
lock.h macos workaround: use boost::shared_mutex 2019-12-23 15:02:20 -04:00
loki.cpp Remove base32z encoding 2019-11-08 03:03:36 -04:00
loki.h Cleanup on block adding failure (#983) 2019-12-16 08:49:35 +10:00
loki_integration_test_hooks.h --regtest fixes and mine n blocks ability 2019-12-26 12:29:05 -04:00
notify.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
notify.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
osrb.h one_shot_read_buffer to common & accept std::string 2019-11-27 14:07:52 -04:00
password.cpp Merge commit '5e80b3c' into LokiMergeUpstream 2019-05-17 04:14:11 +10:00
password.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
perf_timer.cpp Remove broken timing "optimization" 2019-12-05 21:35:10 -04:00
perf_timer.h Remove broken timing "optimization" 2019-12-05 21:35:10 -04:00
pruning.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
pruning.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
random.cpp Move randomness into new common/random.h 2019-11-27 14:07:52 -04:00
random.h Move randomness into new common/random.h 2019-11-27 14:07:52 -04:00
rpc_client.h Add ssl_options support to monerod's rpc mode. 2019-05-22 00:09:11 -04:00
rules.cpp Per output unlock time rebased (#114) 2018-08-03 11:39:28 +10:00
rules.h Per output unlock time rebased (#114) 2018-08-03 11:39:28 +10:00
scoped_message_writer.cpp Revamp to use semaphores for IPC 2019-01-31 18:29:08 +11:00
scoped_message_writer.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
sfinae_helpers.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
spawn.cpp Merge commit 'c3de019f565674fd19b9d5cafba015d9ea7f69f7' into LokiMergeUpstream 2019-04-12 15:10:33 +10:00
spawn.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
stack_trace.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
stack_trace.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
threadpool.cpp __thread -> thread_local (#951) 2019-12-05 08:12:03 +10:00
threadpool.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
timings.cc timings: fix errno.h mispelt as error.h 2019-03-07 16:03:55 +00:00
timings.h performance_tests: better stats, and keep track of timing history 2019-01-28 15:45:37 +00:00
unordered_containers_boost_serialization.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
updates.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
updates.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
util.cpp explicitly specify UTC (#931) 2019-11-25 15:30:12 +11:00
util.h enum_top, use burn hf in sanity check, fill new construction data 2019-12-04 15:17:55 +11:00
varint.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00