TomZ
370abe4c1e
Follow several code-check suggestions
...
Also print a line explaining which file the logs go to in case there
is no config.
2020-08-26 14:08:03 +02:00
TomZ
c7818acaeb
Minor cleanups and clarifications
2020-08-26 13:10:46 +02:00
TomZ
3921acaa6c
Merge branch 'master' of gitlab:thehub
2020-08-26 11:38:02 +02:00
TomZ
b39d8f512a
Merge remote-tracking branch 'gitlab/master' into master
2020-08-26 10:29:21 +02:00
TomZ
917304b198
Don't return bool from main()
2020-08-26 09:36:11 +02:00
TomZ
de10e383be
Avoid warning about missing case value
2020-08-26 09:28:49 +02:00
TomZ
23f44439dd
Use spaces consistently
2020-08-26 09:28:28 +02:00
TomZ
3a1c6b8fd6
Avoid comment in comment warning
2020-08-26 08:56:59 +02:00
TomZ
07b11a00b6
Make help output more logical
2020-08-24 18:17:39 +02:00
Tom Zander
469f3b27c6
Merge MR 16 into 'master'
...
Update README
See merge request FloweeTheHub/thehub!16
2020-08-23 21:07:26 +00:00
justBCHit
45fb281fd4
Update README
2020-08-23 19:54:46 +00:00
TomZ
7e59d0c242
Remove loud log message
2020-08-16 14:53:13 +02:00
TomZ
9673a19179
Merge branch '2020.05'
2020-08-16 12:35:39 +02:00
TomZ
127f675bd5
Add logging primitives.
2020-08-16 12:35:33 +02:00
TomZ
dcf40f9161
Upgrade test to use qtestlib
2020-08-16 12:35:33 +02:00
TomZ
acd142a0e6
Fix logic wrt signed/unsigned
...
The typedef was an unsigned type, and comparisons failed.
2020.05.1
2020-08-16 12:22:00 +02:00
TomZ
679374e923
Revert chain-switching idea
...
It becomes messy due to the usage of the compact form on block headers.
2020-08-16 12:03:19 +02:00
TomZ
ac6b4934f2
Fix off-by-one in isStandard
...
Our max tx size has always been 100KB, the implementation rejected 100KB
and above, though.
This follows the major clients doing ths same.
2020-08-16 12:03:12 +02:00
TomZ
b621cf96d2
Merge branch '2020.05'
2020-08-13 18:29:31 +02:00
TomZ
750bd23b27
Work around badly picked default variable value.
...
A not yet saved file has file-index zero, which is valid...
Also check this state and allow deletion of rev zero.
2020-08-13 18:28:43 +02:00
TomZ
c44330f897
Master is not a release
2020-08-13 13:50:42 +02:00
TomZ
59c468decf
We now check if a revert file has become useless and delete it
...
If we are past at least 2000 blocks of the items stored in a data file we
can delete the revert file and save a couple hundred megabytes of
on-disk storage for every blk file.
2020-08-13 13:32:01 +02:00
TomZ
90988c80a9
Fix reindex sometimes taking forever on a block file.
2020-08-13 11:45:02 +02:00
TomZ
cf192d159f
Prepare 2020.5
2020-08-12 22:27:39 +02:00
TomZ
7949db1f10
Merge remote-tracking branch 'gitlab/master'
2020-08-12 21:56:23 +02:00
TomZ
84ebae427e
Import ASERT DAA
...
This includes renaming some methods which makes the import look larger
than it really is.
2020-08-12 21:42:54 +02:00
TomZ
5cefa4981f
Make cachier compile w/o QRencoder lib
2020-08-11 22:06:28 +02:00
TomZ
337b34ea8e
Update error message
...
We seem to be having a LOT of p2sh double spends on mainnet today,
which caused confusion with people reading the logs.
This clarifies that the current version only supports p2pkh and we
need more research to support others too.
2020-08-10 10:13:02 +02:00
TomZ
d2802474c5
Add bchd testnet seeds
2020-08-10 10:13:02 +02:00
TomZ
c4d5304d52
Make findOrphans() method const
2020-08-10 10:13:02 +02:00
TomZ
297a22dfa8
Move and fix partitionCheck()
...
Small refactor; move the partition check away from main and the obsolete
global variables we used to use, instead now just add it to the DB which
owns the data it works on.
This fixes the bug that in various cases we'd incorrectly get a warning
about no blocks being found in the last N hours.
2020-08-10 10:13:02 +02:00
TomZ
dda576b4bc
Fix some warnings
...
Code cleanliness nitpicking.
2020-07-31 15:58:15 +02:00
TomZ
c244c94634
Add new Indexer API message: 'version'.
...
This mirrors the one in the Hub in that it returns the version of the
Indexer running on the server.
2020-07-27 21:27:26 +02:00
TomZ
8e1eefaa81
Improve error message
...
when user specified wrong offset, send them an error.
2020-07-27 21:26:21 +02:00
TomZ
dcff0532dc
Improve error message
...
When missing argument, return to peer a specific message
2020-07-27 12:34:27 +02:00
TomZ
513bde1f7a
Avoid unneeded check
2020-07-23 14:46:15 +02:00
TomZ
6cd6c54140
Avoid duplication of numbers over sourcefiles
...
This simply moves the place where the number is changed to the settings
defaults instead of having various places copy/paste the value.
2020-07-23 14:45:42 +02:00
TomZ
5e28bc14b2
Fix return-type
2020-07-17 22:07:15 +02:00
TomZ
59ac2f259c
Update default timeout
...
Transactions are only kept in the mempool a limited time before they are
removed and have to be re-entered by the owner of the transaction.
To keep mempools from being too different from the rest of the network we
can flush them based on the fact that if a tx hasn't been included yet in
this time, miners are not seeing it.
2020-07-07 11:16:16 +02:00
TomZ
436a061ddc
Port merkle tests to qtestlib
2020-07-05 19:07:02 +02:00
TomZ
7e648699e7
Port some more test to qtestlib
2020-07-05 18:59:09 +02:00
TomZ
3c0367b091
Fix test
...
The test assumed a timing which naturally failed on some machines,
as such the test now checks for either of the two messages.
2020-07-05 16:31:49 +02:00
TomZ
a6c7d1604a
Make possible to just compile/install libs
...
At popular demand, move the installing of the cmake support file
that lets external projects find the Flowee libs to our libs dir.
This has the effect that a user can selectively compile and install
the libs dir only in order to use our libraries.
2020-07-05 16:14:50 +02:00
TomZ
3ca3311ee9
port crypt tests to qtestlib
2020-07-05 16:07:53 +02:00
TomZ
190394f0d7
Move bswap test to use qtestlib
2020-07-05 14:03:27 +02:00
TomZ
6fdbd2dfa9
Move arith_uint256_test to qtestlib
2020-07-05 14:01:54 +02:00
TomZ
f716847705
Move univalue tests to qtestlib
2020-07-05 12:50:50 +02:00
TomZ
648eb56c9d
Drop cmake add_dependencies() calls
...
When we made the 3rdparty libs be build by cmake the need to manually
add dependencies became irrelevant.
2020-07-05 12:50:09 +02:00
TomZ
34db927e0a
Move unit test to qtestlib
2020-07-05 12:34:11 +02:00
TomZ
671bb4e1e1
Add readme for the libs subdir
2020-06-29 22:34:07 +02:00