bark-json: add CLI parity fields to create and invoice requests
-
check or remove this line after you've added a CHANGELOG entry or if your PR doesn't need one (they should go into
CHANGELOG/unreleased/) -
The CLI uses a
--forceflag to be able to create a wallet on a datadir that has an empty db file so it can create after deletion. Barkd lacked that. (the fix for the workflow on barkd create will be fixed in another MR) -
A token can be requested by a server to prevent a DoS on lightning receive. Barkd was also missing it.