Commit Graph

10 Commits

Author SHA1 Message Date
tomFlowee ae78dd0bb8 Update email address 2021-06-20 22:44:44 +02:00
TomZ 00814e24f9 API: Use hash of outscript instead of address
The usage of a ripe160 for bitcoin addresses in the API and in the
Indexer loses some info, specifically what kind of script it is.
Additionally not all types of scripts fit this mold. At best that means
its not future-proof.

This adds a method to the API in order to select from a Tx the hashed
outscript (thats singlehashed sha256) and refactor the address indexer
to use that instead of the ripe160 address.

The API enums broke a little, so I used the opportunity to break it a
lot and clean up the enums in order to make them more future-proof.
But, yeah, software from before this commit is protocol incompatible
with software after this commit.
2019-10-16 22:57:50 +02:00
TomZ 32c45610cd Further fixes for cashier / PoS
Also upgrade the cashier app with logging, ctrl-c catching
and debug + version command line arguments.

Last, this checks the server version and exits if the Hub
version is too old.
2019-05-08 09:07:17 +02:00
TomZ e4e2ef4193 Make the pos commandline use the FloweeServiceApplication
this has the direct effect that logging works better there.
2019-05-07 20:54:26 +02:00
TomZ 5939de8ef0 Move API protocol definition to interfaces dir.
It makes no sense to include the API "library" just to use
the header file.
2019-03-29 21:07:28 +01:00
TomZ 209e955a11 fix some naming TODOs 2019-03-28 10:23:06 +01:00
TomZ ba69da6306 cleanup 2018-05-09 10:48:16 +02:00
TomZ 7a026acee2 Finish up first phase.
Handle incoming payments, show if under/overpaid and
make sure everything is properly inserted into the database.

This makes the process actually work and useful for a small business
2018-03-27 22:24:23 +02:00
TomZ 3d7b8e7ab6 Add ExchangeRateResolver with kraken support 2018-03-26 17:26:46 +02:00
TomZ 3ab384b336 Introduce new pos gui app 2018-03-23 19:06:17 +01:00