jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Lost money transactions #214

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

Looks almost OK from sender side. jro test on old laptop:

screenshot from 2017-10-14 10-57-11

10:56:02.851 MoneyNetworkAPI.js:286 Uncaught undefinederror. ZeroNet API operation with seq 140 was not found
debug_z_api_operation_end @ MoneyNetworkAPI.js:286
debug_z_api_operation_end @ all.js:10101
(anonymous) @ all.js:13551
ZeroFrame.onMessage @ 30-ZeroFrame.js:42
(anonymous) @ 30-ZeroFrame.js:7
10:56:02.851 MoneyNetworkAPI.js:286 Uncaught undefinederror. ZeroNet API operation with seq 140 was not found
debug_z_api_operation_end @ MoneyNetworkAPI.js:286
debug_z_api_operation_end @ all.js:10101
(anonymous) @ all.js:13551
ZeroFrame.onMessage @ 30-ZeroFrame.js:42
(anonymous) @ 30-ZeroFrame.js:7
10:56:02.852 MoneyNetworkAPI.js:286 Uncaught undefinederror. ZeroNet API operation with seq 140 was not found

mn-jro-test-old-laptop-127.0.0.1-1507971537721.log

Lost msg in receiver side. jro on new laptop:

screenshot from 2017-10-14 11-00-54

mn-jro-new-laptop-127.0.0.1-1507971725287.log

jaros1 commented 6 years ago

Partly solved. Now receiving chat msg with money transaction but as normal chat message without money transaction

screenshot from 2017-10-14 13-16-01

mn-sender-jro-test-on-old-laptop-127.0.0.1-1507979694887.log mn-receiver-jro-on-new-laptop-127.0.0.1-1507979860001.log

jaros1 commented 6 years ago

Maybe just some missing html code. Only dif between incoming and outgoing money transaction is missing $$hashKey:

todo: outgoing money transaction. money transaction is displayed in UI

13:47:17.705 all.js:5074 MoneyNetworkHubService.add_message:
message = {
  "msgtype":"chat msg","message":"test money trans 5 - json error - https://github.com/jaros1/Money-Network/issues/199",
  "money_transactions":[{
      "wallet_url":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","wallet_sha256":"e488d78dc26af343688045189a714658ed0f7975d4db158a7c0c5d0a218bfac7","wallet_name":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1",
      "action":"Send","code":"tBTC","name":"Test Bitcoin","amount":0.0001,"json":{"return_address":"2NBxWVaRGpmDW13KyJ1b1N5Q3AhrZFR5xxh"},"$$hashKey":"object:1349"}],"feedback":{"sent":[5637,5673,5676,5677,5678]}}
  }
}

todo: ingoing money transaction. money transaction is missing in UI

13:47:17.706 all.js:5074 MoneyNetworkHubService.add_message:
message = {
  "msgtype":"chat msg","message":"send money test 3 - jro test - https://github.com/jaros1/Money-Network/issues/214",
  "money_transactions":[{
      "wallet_url":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1","wallet_sha256":"e488d78dc26af343688045189a714658ed0f7975d4db158a7c0c5d0a218bfac7","wallet_name":"1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1",
      "action":"Send","code":"tBTC","name":"Test Bitcoin","amount":0.0001,"json":{"return_address":"2N7uFovqj3FWEGPnqTxusJc1rU8wKLMMP2i"}}],"local_msg_seq":1069,"feedback":{"sent":[1053,1056,1068]}}
  }
}

jaros1 commented 6 years ago

Added missing html to index.html. Now displaying money transaction for incoming and outgoing chat messages :-)

screenshot from 2017-10-14 14-01-23

jaros1 commented 6 years ago

Done. Money transactions are displayed OK for jro / new laptop and jro test / old laptop