95 Commits

Author SHA1 Message Date
tomFlowee 7ecf23e391 Follow indexer changes for all services
Separate the log-conf and service-config file locations.
Avoid providing a bind on the commandline, make it come from the
config file instead.
2026-05-22 00:12:45 +02:00
tomFlowee 9e165d07ef Allow basedir to be given in the config file.
A general cleanup of how we start indexer.
2026-05-21 23:51:09 +02:00
tomFlowee 10520122be Remove datadir from serviced file
Having the datadir on the commandline overrides the config file.
Users can't really update service files as they are overwritten on
package update.
2026-05-15 22:21:08 +02:00
tomFlowee c47c174b7f Fix inconsistent argument name
Now we have -bind / -apibind / -rpcbind as a consistent naming of
arguments.
2025-04-14 16:56:52 +02:00
tomFlowee 49324fad28 Limit linking to only needed boost libs.
We now removed the need for Boost:chrono in all the libs, to avoid
accidentally linking to it again this change makes the apps link to
the actual specific libs instead of just all.
2025-03-07 15:36:36 +01:00
tomFlowee 0eefbd28fb Also add the ssl to the exported cmake 2024-08-11 18:49:35 +02:00
tomFlowee 9ad2ec7c02 Be consistent, use a subdir for header files. 2024-01-24 21:03:58 +01:00
tomFlowee 01b7d9eb45 Remove this old file 2024-01-24 21:03:58 +01:00
tomFlowee 0548681605 remove no longer needed qrencoded support 2023-06-15 14:30:29 +02:00
tomFlowee 21759ecfd7 make this work with the latest CMake 2022-10-06 22:53:09 +02:00
tomFlowee 0aa08e4e79 Fixlets to make cmake work more cross-platform. 2022-09-16 17:36:43 +02:00
tomFlowee 66f3ec2fe4 Port to Qt6 2022-09-07 12:01:14 +02:00
tomFlowee e10fd85b03 Use the more standard CMake value NOTFOUND 2022-04-06 13:21:19 +02:00
tomFlowee ae78dd0bb8 Update email address 2021-06-20 22:44:44 +02:00
tomFlowee 5f9def2226 Update maintainer email address 2021-03-26 19:36:46 +01:00
tomFlowee ead61dc357 Auto restart service on fail 2021-02-11 22:50:50 +01:00
tomFlowee 4bfe782eab Add a little more documentation here 2021-02-06 23:18:21 +01:00
tomFlowee 7df9ab4be9 Add details about the way to configure indexer 2021-02-06 20:20:43 +01:00
tomFlowee ae8a05755d Remove outdated files 2021-02-01 22:02:14 +01:00
tomFlowee 2a330fd0a9 Don't limit restarts 2021-01-12 17:29:52 +01:00
tomFlowee ab155e7064 Copy the info here too 2020-12-17 09:07:41 +01:00
tomFlowee 095e69fd01 Add comment to make config easier. 2020-12-16 22:10:36 +01:00
tomFlowee 3927684c33 Remove unused file 2020-12-06 23:10:12 +01:00
tomFlowee 1d8caed5db various small corrections 2020-12-06 23:09:50 +01:00
TomZ d545bf339b match code 2020-12-06 13:19:21 +01:00
TomZ 85cb3c3437 Install bitcore-proxy confs too
Also add some more documentation
2020-11-21 17:14:34 +01:00
TomZ 86e514fc9b update version 2020-11-16 16:47:51 +01:00
TomZ 7df652e9b6 fixlets 2020-10-04 00:16:15 +02:00
Justaphf 1494fa8c1f fixup: typo 2020-10-03 10:39:21 -04:00
Justaphf 18ca7abb7c Add scalenet 2020-10-02 18:43:52 -04:00
Justaphf 13286db582 Add testnet4 2020-10-02 18:43:52 -04:00
TomZ 25c8f7bc5d [Minor] removal of clang-format reference. 2020-09-29 17:34:06 +02:00
TomZ b590d078ae Update debian config 2020-09-20 21:41:54 +02:00
TomZ 7ec1735841 Add rest-service systemd support 2020-09-20 21:12:00 +02:00
TomZ f07ccd81e7 By default, listen on all interfaces 2020-09-20 20:21:10 +02:00
TomZ b2be9720d4 Add default logs config
This is written to be especially useful for packages since it will
create a log dir /usr/log/flowee/
and additionally it will log to stdout, which systemd / journald will
pick up.
2020-09-20 20:16:54 +02:00
TomZ cc3cd396c9 Add missing spend-db config option 2020-09-20 20:16:53 +02:00
TomZ 58deb9d359 Simplify docker scripts
Compress it down to 1 compile and one build-images script
which saves on compilation and simply makes it more managable.
2020-09-20 19:14:59 +02:00
TomZ 4d3b243870 Make POST requests work much more reliably
It now checks after the header has been parsed if we need to wait longer
before the POST data has all arrived and schedule that if needed.
2020-09-08 18:38:46 +02:00
TomZ 67f0535607 Squashed commit of the following:
commit f1c09cbbdf228cefbfbd339567ba337083e93e52
Author: TomZ <tomz@freedommail.ch>
Date:   Wed Sep 2 13:56:38 2020 +0200

    Fix sorting in address/utxo call

commit c61b03b05de04c9d53c6fdf413dd1b6d33dc17f6
Author: TomZ <tomz@freedommail.ch>
Date:   Wed Sep 2 13:03:43 2020 +0200

    Also catch missing services for more complex searches

    We did catch it on 'start()' which may not actually use a service that
    was missing and only in a followup would the missing service be used.
    So also catch the exception for missing service on the other event
    handling methods.

    This means that we now show a nice "setup needed" message to client when
    a call is done that is not supported because of missing backing service.

commit fbcfe60c7d21b309e9c827dd927de0e196d7f5b6
Author: TomZ <tomz@freedommail.ch>
Date:   Tue Sep 1 16:03:19 2020 +0200

    Also use the complex UTXO lookup to do callbacks.

commit d948225ae7786aa6b62ff9355c2d768a85569642
Author: TomZ <tomz@freedommail.ch>
Date:   Tue Sep 1 15:47:48 2020 +0200

    Add address/utxo call.

commit cbc4695d4abae1404afe03f34b10427e48f819ae
Author: TomZ <tomz@freedommail.ch>
Date:   Tue Sep 1 14:34:31 2020 +0200

    Add address/details API call

    This mostly implements the API call to list an address.

commit 1d215032af09551e2b3eda314c072a200e5fb37a
Author: TomZ <tomz@freedommail.ch>
Date:   Tue Sep 1 14:30:26 2020 +0200

    Fix warnings

    This fixes warnings from the compiler and the linter.

commit b61e7dd42222537b456a79e14439a0d36007e8d7
Author: TomZ <tomz@freedommail.ch>
Date:   Tue Sep 1 14:27:27 2020 +0200

    Blockchain::Search: Clean a little and fix bugs

    This follows the API docs on the utxoLookup() callback and we indeed
    return back the blockheight/etc parameters even if the utxo is already
    spent (represented by unspent=false).

commit 7ec3ebf937d7f2fb6a7a18f21d2e8b645db6fe3e
Author: TomZ <tomz@freedommail.ch>
Date:   Mon Aug 31 12:24:18 2020 +0200

    Fixes and move to v2 url

commit 32b8018af805ce068da7d3e149add66a90c92264
Author: TomZ <tomz@freedommail.ch>
Date:   Mon Aug 31 11:29:35 2020 +0200

    Build the rest service

commit c386adff9d28a0f844916019602ea0032bbc360a
Author: TomZ <tomz@freedommail.ch>
Date:   Sun Aug 30 19:24:29 2020 +0200

    Cleanup old code and make vin work

commit 5b88457863892ff8391e42a7eff61cd243851b41
Author: TomZ <tomz@freedommail.ch>
Date:   Sun Aug 30 18:42:41 2020 +0200

    Output addresses.

commit 46c2ce680409c38f1a67730e23cde942db2ecc46
Author: TomZ <tomz@freedommail.ch>
Date:   Sun Aug 30 17:51:03 2020 +0200

    Make tx-refs easier for the Blockchain::Search

commit b0591b5a6b57e2eb7022db7b7a351c694220e5ad
Author: TomZ <tomz@freedommail.ch>
Date:   Fri Aug 28 18:28:48 2020 +0200

    Make printing of tx work better

commit d337ac91ad4ab9eeb768695c639dcbbbcc463837
Author: TomZ <tomz@freedommail.ch>
Date:   Fri Aug 28 15:46:04 2020 +0200

    Make rest service show a nice help for setup.

commit 5997ff1fa06bd1a6b51ead93eef094a5561fdb53
Author: TomZ <tomz@freedommail.ch>
Date:   Wed Aug 26 17:43:09 2020 +0200

    Parse the json automatically.

commit 5ed7d6e53761828e2e385e085f44d530449b0b3b
Author: TomZ <tomz@freedommail.ch>
Date:   Wed Aug 26 13:07:04 2020 +0200

    Start project rest-service.
2020-09-02 14:58:09 +02:00
TomZ 589932e876 Make dependent projects able to link to secp256k1
As the compile may or may not link to GMP, using projects
need to link to this too. Dynamic libs handle this, we ship
static libs and thus we need to handle this ourselves.
2020-05-13 22:29:23 +02:00
justBCHit 8f386c7d63 Added port selection support for PostgreSQL and MySQL for Indexer 2020-05-13 12:55:07 +00:00
TomZ d71cc4b84b [CMake] rename 'find' files to the package name
Resolve inconsistencies
2020-04-22 17:58:42 +02:00
TomZ 25ffc84f80 Introduce new lib p2p
We reuse the NetworkManager lower level code in order to connect
to the Bitcoin P2P network.
This implements the basics for anyone wanting to be a player on
this network.
2020-04-20 21:49:03 +02:00
TomZ 01bc6a4d71 fix url to online help 2020-04-13 18:15:54 +02:00
TomZ fcdb52d5aa Make leveldb build with cmake
As this now means we completely use cmake, remove some legacy
stuff as well.
2020-04-08 22:48:29 +02:00
TomZ 1144f013a4 Build secp256k1 with cmake 2020-04-08 22:48:29 +02:00
TomZ ba15997b3c Make compile 2020-03-06 11:18:40 +01:00
TomZ 526ce80576 make startHub be more verbose about crashes
When the hub somehow exists uncleanly, report if the OS reported
this as a crash or not and what the signal was.
2020-02-19 16:55:46 +01:00
TomZ 4bea1f55c4 use QElapsedTimer 2020-01-30 15:29:03 +01:00