FIX: issues and improvements to frontend, add lnurlp/lnurladdress, remove split by tag feature (#4)

* deinitialize task
* rework of frontend
* add lnurl and lightningaddresses
* substract fee_reserve from external split, for potential routing fee, add a warning to ui
This commit is contained in:
dni ⚡ 2023-03-24 21:03:33 +01:00 committed by GitHub
commit 5bb234b797
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 269 additions and 344 deletions

View file

@ -9,7 +9,6 @@ class Target(BaseModel):
wallet: str
source: str
percent: float
tag: str
alias: Optional[str]
@classmethod
@ -17,12 +16,11 @@ class Target(BaseModel):
return cls(**dict(row))
class TargetPutList(BaseModel):
class TargetPut(BaseModel):
wallet: str = Query(...)
alias: str = Query("")
percent: float = Query(..., ge=0, lt=100)
tag: str
percent: float = Query(..., ge=0, le=100)
class TargetPut(BaseModel):
__root__: List[TargetPutList]
class TargetPutList(BaseModel):
targets: List[TargetPut]