TomZ
425ee250cb
Fixlets from static code inspector
2019-09-12 15:21:48 +02:00
TomZ
c2fe9629c1
Remove dead code.
2019-09-12 15:20:29 +02:00
TomZ
7f68435818
Fixes in the pos-cli docker documentation
2019-09-08 20:52:23 +02:00
TomZ
c5c25a5e29
Minor usability fix
...
Avoid confusing naming and consistent casing.
2019-09-08 20:51:25 +02:00
TomZ
1160ce6289
fix link
2019-09-08 20:44:30 +02:00
TomZ
d751261eb9
Fix typo
2019-09-08 20:43:01 +02:00
TomZ
d139222976
Document the docker containers
2019-09-08 20:43:01 +02:00
TomZ
0e06708bf7
Merge branch 'macOS'
2019-09-08 17:18:50 +02:00
TomZ
300d959b9e
On MacOS Qt Gui apps don't link.
...
On MacOS compilation requires linking in bundles from the Qt libs,
which on the testers computer didn't happen and as such I'll just
disable the GUI compile for now on MacOS so focus can be had on
already working stuff.
2019-09-08 14:27:12 +02:00
TomZ
be40a7832f
Add another hint for brew users
2019-09-07 22:17:04 +02:00
TomZ
860104c28f
This was needed to find lib event_pthread on macos
2019-09-07 21:43:30 +02:00
TomZ
028fff30a2
Make clang happy
2019-09-07 20:26:53 +02:00
TomZ
139d848bf7
Switch to CMakes CHECK_CXX_SOURCE_COMPILES
2019-09-07 20:04:31 +02:00
TomZ
e1ef92a724
Small MacOS fixes
2019-09-07 19:53:50 +02:00
Tom Zander
55f6aaaed4
Merge branch 'gitignore' into 'master'
...
Add .gitignore
See merge request FloweeTheHub/thehub!11
2019-09-07 17:01:38 +00:00
Jason Dreyzehner
38bfc3e653
Add .gitignore
2019-09-06 19:08:33 -04:00
TomZ
8133ffa782
Update Readme to clarify the copyright origins
2019-09-06 20:01:19 +02:00
TomZ
40f2e67db8
Fix removing of proof after tx removal
...
Including new unit test.
2019-09-04 14:12:38 +02:00
TomZ
fc8360b507
Fix whitespace
2019-09-04 14:12:38 +02:00
TomZ
0412ae756a
Simplify this code
...
This removes some of the experimental additions that no longer are
used and as such restores the older, simpler, design.
2019-09-04 14:12:38 +02:00
TomZ
364918766b
Remove obsolete code
2019-09-04 14:12:28 +02:00
Tom Zander
6620289f8c
Merge branch 'dsproof' into 'master'
...
Doublespendproof
See merge request FloweeTheHub/thehub!10
2019-09-03 14:21:51 +00:00
TomZ
1dbb23224c
Add unit tests for double spend proof
2019-09-02 23:59:52 +02:00
TomZ
37b359cdac
Implement network awareness of double-spend-proof
2019-09-02 23:57:46 +02:00
TomZ
57220bb124
Handle doublespend proof message in AddressMonitor
2019-09-02 23:55:46 +02:00
TomZ
6cda85e79f
Catch DSP exception and pass to interface
2019-09-02 23:54:43 +02:00
TomZ
19bbfe4ce0
Add the concept of DoubleSpendProofs
...
The DSP is owned by the DoubleSpendProofStorage, which in turn
is owned by the mempool.
Each mempool-entry can refer to one proof.
2019-09-02 23:33:12 +02:00
TomZ
9ca3a908fa
move tipValidationFlags() to Validation::Engine
2019-09-02 23:24:28 +02:00
TomZ
83d455a5d4
Help devops with more info.
2019-08-29 22:33:57 +02:00
TomZ
af21b46574
Also support p2sh bitcoincash address entry in the GUI.
...
Notice that the GUI as well as the wallets are not shipped, this is
purely for operator convenience.
2019-08-29 22:33:57 +02:00
TomZ
b6c4ac6f88
Fixes in SQL speed
...
This explicitly detects the initial sync and refuses to create
any indexes on the SQL databases during this massive insert stage.
Some other minor issues got fixed here too.
2019-08-29 22:33:57 +02:00
TomZ
c661cbab68
make CI a bit more stable
2019-08-28 11:55:25 +02:00
TomZ
ca04454251
Mention needed package in readme.
2019-08-26 20:48:37 +02:00
TomZ
0b152570ee
Add ConstBuffer::startsWith()
...
and include unit test.
2019-08-26 20:48:12 +02:00
TomZ
0af7ef1ead
add isEmpty() on ConstBuffer
2019-08-24 22:25:10 +02:00
TomZ
191bc3758d
Add a simpliefied NetworkManager::bind() method
...
One that doesn't require a callback to be passed in.
2019-08-24 22:25:10 +02:00
TomZ
844747fa65
Make configurable which cli options to allow.
2019-08-24 22:25:10 +02:00
TomZ
c3ddab9cd4
Make Indexer bind to localhost as default
2019-08-24 22:25:10 +02:00
TomZ
e7a7ada953
Cleanup dependencies a bit more.
...
This means that for apps like 'pos' no longer link against libSSL
The streams no longer zero-after-free, there are no secrets transported
in datastreams so this is useless and avoids linking in one OpenSSL
call.
The insecure_rand() method depended on the openssl code to seed it with
randomness. Now replaced with a proven current-time-milliseconds.
This is enough in those cases because it was always meant to be an
insecure random.
2019-08-24 22:25:10 +02:00
TomZ
df7de2ecd2
Clean up the hairy ball of util.cpp
...
Move some globals and all stuff pulling in crypto to the
server/serverutil.cpp file
Remove dead code.
Move several items that were used in only one place to the respective
files using them.
Move the class WaitUntilFinishedHelper into its own file.
Made sure no header includes utils.h
remove a handfull of files including utils.h for nothing.
2019-08-24 22:25:09 +02:00
TomZ
9faf50029e
Fix typo
2019-08-24 22:25:09 +02:00
TomZ
2bb06afa9e
Cleanup the link-lines
2019-08-24 22:25:09 +02:00
TomZ
d8248aa821
Small refactor; move code.
...
Move some methods about arguments from util.cpp to Logger.
This makes the logger more stand-alone and this avoids the
global defined in util.h (still to be fixed in future..)
2019-08-23 22:48:39 +02:00
TomZ
1fc9f1fbf8
Add default argument to mid()
2019-08-23 22:34:33 +02:00
TomZ
a3e2b89309
remove stray debug statement
2019-08-20 17:59:27 +02:00
TomZ
f311073312
Avoid DNS lookups and better logging
...
When users type an IP address as hostname we optimistically try
to parse them in order to avoid asking the DNS anyway.
2019-08-19 21:43:08 +02:00
TomZ
da272d7d7f
Fix SQL usage for postgres & better logging
2019-08-19 21:42:43 +02:00
TomZ
d26386965a
Fix defaults
...
This solves the issue that unless you explicitly turn off the txdb you
still get it.
2019-08-18 16:23:32 +02:00
TomZ
253bda673d
Prepare for next release
2019-08-16 23:42:21 +02:00
TomZ
705ef1c97b
more docker generation out of the slow CI
2019-08-16 23:41:52 +02:00