issues
search
bitcointranscripts
/
transcription-review-backend
7
stars
11
forks
source link
refactor: lightning payment controller
#300
Closed
Extheoisah
closed
3 months ago
Extheoisah
commented
3 months ago
This pr adds the following:
adds an extra validation check for successful and failed lightning payments using the data returned from the lnd node.
introduces the use of sequelize db transactions to ensure the integrity of the data depending of the outcome of the invoice payment
adds a new invoice column to the transaction table to store debit payment ln invoices for easy payment tracking.
adds a script called create-migration to the Makefile so its easier to create new migrations for the database schema changes.
This pr adds the following: