diff --git a/community_server b/community_server index 164e1e715..7ebc7909e 160000 --- a/community_server +++ b/community_server @@ -1 +1 @@ -Subproject commit 164e1e715bd773814fba10dade7a4b3aff65d0ed +Subproject commit 7ebc7909eaf9e74ca81f561b0aac64797c3d0112 diff --git a/docu/community-server.api.md b/docu/community-server.api.md index 329881fda..0c889d7ae 100644 --- a/docu/community-server.api.md +++ b/docu/community-server.api.md @@ -73,11 +73,12 @@ Normally a forwarding to login-server check transactions side is neccessary to m POST http://localhost/transaction-send-coins/ajaxCreate ```json -{"session_id" : -127182, "amount": 2000000, "email": "maxim.mustermann@gmail.com", "memo":"Thank you :)"} +{"session_id" : -127182, "amount": 2000000, "email": "maxim.mustermann@gmail.com", "memo":"Thank you :)", "auto_sign": true} ``` - amout: amount to transfer, 2000000 = 200,00 GDD - email: receiver email address, must be differ from user email - memo: Details about transaction +- auto_sign: set to true to directly sign transaction if unsecure.allow_auto_sign_transactions = 1 is set return if everything is ok: ```json @@ -85,8 +86,11 @@ return if everything is ok: ``` - timeUsed: time used for getting data from db in seconds, only for analyse backend performance -Than the transaction was created on community server, send to login-server, signed (if unsecure.allow_auto_sign_transactions = 1) +Than the transaction was created on community server, send to login-server, signed (if unsecure.allow_auto_sign_transactions = 1 and auto_sign = true) and send back to community server and put into db. -After you get this answear you see the new transaction if you list transactions or call for the balance +After you get this answear you see the new transaction if you list transactions or call for the balance. + +Without auto-sign the transaction is pending on login-server and waits for the user to review it at +http://localhost/account/checkTransactions diff --git a/login_server b/login_server index 98d52617c..9b9115290 160000 --- a/login_server +++ b/login_server @@ -1 +1 @@ -Subproject commit 98d52617c896a1a50c0a2bab2305eb6e890e882b +Subproject commit 9b9115290c8d2ead756d64b70ae63a6571aa4693