mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-09 22:34:39 +01:00
Features replaceable and subtractfeefromamount on spend (#178)
* Added replaceable param to spend * Added subtractfeefromamount param to the spend endpoint
This commit is contained in:
@@ -284,7 +284,7 @@ main() {
|
||||
;;
|
||||
spend)
|
||||
# POST http://192.168.111.152:8080/spend
|
||||
# BODY {"address":"2N8DcqzfkYi8CkYzvNNS5amoq3SbAcQNXKp","amount":0.00233,"eventMessage":"eyJ3aGF0ZXZlciI6MTIzfQo=","confTarget":6}
|
||||
# BODY {"address":"2N8DcqzfkYi8CkYzvNNS5amoq3SbAcQNXKp","amount":0.00233,"eventMessage":"eyJ3aGF0ZXZlciI6MTIzfQo=","confTarget":6,"replaceable":true,"subtractfeefromamount":false}
|
||||
|
||||
response=$(spend "${line}")
|
||||
response_to_client "${response}" ${?}
|
||||
|
||||
Reference in New Issue
Block a user