Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: InitSendTx does not always create a transaction log #158

Closed
quentinlesceller opened this issue Jun 20, 2019 · 3 comments

Comments

@quentinlesceller
Copy link
Member

commented Jun 20, 2019

I haven't been able to find out what exactly create this issue but here is the flow.

Sender: InitSendTx by API to http with post=false but finalize=true. Happens only with the API.

20190620 22:24:14.845 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:24:14.875 DEBUG grin_wallet_libwallet::internal::updater - Refreshing wallet outputs
20190620 22:24:14.887 DEBUG grin_core::libtx::build - Building input (spending regular output): 2280000850, 0300000000000000000000050900000000
20190620 22:24:14.888 DEBUG grin_core::libtx::build - Building input (spending coinbase): 60000000000, 030000000000000000000004a400000000
20190620 22:24:14.888 DEBUG grin_wallet_libwallet::internal::selection - Building change outputs: total change: 3781000881 (1 outputs)
20190620 22:24:14.905 DEBUG grin_core::libtx::build - Building output: 3781000881, Commitment(09861e60455f7be3aceab3beff9ff47f566d8e61a0b50e2771b2c1799b09ca3bfc)
20190620 22:24:14.978 DEBUG grin_wallet_impls::adapters::http - Posting transaction slate to http://100.26.68.39:13415/v2/foreign
20190620 22:24:15.069 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:24:15.096 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:24:15.115 DEBUG grin_wallet_libwallet::slate - Validating final transaction
20190620 22:24:15.169 DEBUG grin_wallet_libwallet::api_impl::owner - api: post_tx: successfully posted tx: fefc6dd82029, fluff? true

Receiver:

20190620 20:54:29.483 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /home/ubuntu/.grin/floo/wallet_data/wallet.seed
20190620 20:54:29.484 DEBUG grin_store::lmdb - DB Mapsize for /home/ubuntu/.grin/floo/wallet_data/db/lmdb is 134217728
20190620 20:54:29.485 INFO grin_wallet_impls - Using LMDB Backend for wallet
20190620 20:54:29.485 WARN grin_wallet_controller::controller - Starting HTTP Foreign listener API server at 0.0.0.0:13415.
20190620 20:54:29.485 WARN grin_wallet_controller::controller - HTTP Foreign listener started.
20190620 20:54:39.030 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /home/ubuntu/.grin/floo/wallet_data/wallet.seed
20190620 20:54:39.051 DEBUG grin_core::libtx::build - Building output: 10000000000, Commitment(08ae4d2652b0b0347f9bda53c2bb7c27751d28bf1016d513b769527ecf95099f24)
20190620 22:24:14.986 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /home/ubuntu/.grin/floo/wallet_data/wallet.seed
20190620 22:24:15.009 DEBUG grin_core::libtx::build - Building output: 58491999969, Commitment(09d2f80d4597781f719b7fcebe0bd62ad3c38887322e18ce960443ccdef1fdf80f)

grin-wallet txs

ubuntu@ip-172-31-24-77:/opt/grin-wallet$ grin-wallet --floonet txs
20190620 22:29:13.823 INFO grin_util::logger - log4rs is initialized, file level: Debug, stdout level: Debug, min. level: Debug
20190620 22:29:13.823 INFO grin_wallet - Using wallet configuration file at /opt/grin-wallet/grin-wallet.toml
20190620 22:29:13.823 INFO grin_wallet - This is Grin Wallet version 2.0.0-beta.1 (git v2.0.0-beta.1), built for x86_64-unknown-linux-gnu by rustc 1.35.0 (3c235d560 2019-05-20).
20190620 22:29:13.823 DEBUG grin_wallet - Built with profile "release", features "".
Password:
20190620 22:29:13.953 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:13.953 DEBUG grin_store::lmdb - DB Mapsize for /opt/grin-wallet/wallet_data/db/lmdb is 134217728
20190620 22:29:13.954 INFO grin_wallet_impls - Using LMDB Backend for wallet
20190620 22:29:13.954 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:13.978 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:14.001 DEBUG grin_wallet_libwallet::internal::updater - Refreshing wallet outputs

Transaction Log - Account 'default' - Block Height: 181096
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Id  Type         Shared Transaction Id                 Creation Time        Confirmed?  Confirmation Time    Num.    Num.     Amount      Amount   Fee    Net         Tx
                                                                                                              Inputs  Outputs  Credited    Debited         Difference  Data
============================================================================================================================================================================
 1   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 3   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 4   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 5   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 6   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 7   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 8   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 9   Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 10  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 11  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 12  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 13  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 14  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 15  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 16  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 17  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 18  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 19  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.024      0.0      None   60.024      None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 20  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 21  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 22  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 23  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 24  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.007      0.0      None   60.007      None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 25  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 26  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 27  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 28  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 29  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 30  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 31  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 32  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 33  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 34  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 35  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 36  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 37  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 38  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 39  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 40  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.007      0.0      None   60.007      None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 41  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 42  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 43  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 44  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 45  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 46  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 47  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 48  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 49  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 50  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 51  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 52  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 53  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 54  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.008      0.0      None   60.008      None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 55  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 56  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 57  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 58  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 59  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 60  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 61  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 62  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 63  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 64  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 65  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 66  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 67  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 68  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 69  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 70  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 71  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 72  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 73  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 74  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 75  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 76  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 77  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 78  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 79  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 80  Confirmed    None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        60.0        0.0      None   60.0        None
     Coinbase
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 0   Received Tx  None                                  2019-06-20 20:53:15  true        2019-06-20 20:53:15  0       1        2.28000085  0.0      None   2.28000085  None
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 81  Sent Tx      784dc0c9-4c20-4477-be76-706ce8e6932c  2019-06-20 20:54:39  true        2019-06-20 22:19:12  1       1        49.992      60.0     0.008  -10.008     Yes
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Command 'txs' completed successfully

grin-wallet outputs

ubuntu@ip-172-31-24-77:/opt/grin-wallet$ sudo ./grin-wallet --floonet outputs
20190620 22:29:36.567 INFO grin_util::logger - log4rs is initialized, file level: Debug, stdout level: Debug, min. level: Debug
20190620 22:29:36.567 INFO grin_wallet - Using wallet configuration file at /opt/grin-wallet/grin-wallet.toml
20190620 22:29:36.567 INFO grin_wallet - This is Grin Wallet version 2.0.0-beta.1 (git v2.0.0-beta.1), built for x86_64-unknown-linux-gnu by rustc 1.35.0 (3c235d560 2019-05-20).
20190620 22:29:36.567 DEBUG grin_wallet - Built with profile "release", features "".
Password:
20190620 22:29:36.696 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:36.697 DEBUG grin_store::lmdb - DB Mapsize for /opt/grin-wallet/wallet_data/db/lmdb is 134217728
20190620 22:29:36.698 INFO grin_wallet_impls - Using LMDB Backend for wallet
20190620 22:29:36.698 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:36.721 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 22:29:36.745 DEBUG grin_wallet_libwallet::internal::updater - Refreshing wallet outputs

Wallet Outputs - Account 'default' - Block Height: 181098
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 Output Commitment                                                   MMR Index  Block Height  Locked Until  Status   Coinbase?  # Confirms  Value         Tx
=============================================================================================================================================================
 096e0790374111bf356966728ece352c88e360620b58806f644a9508294857e55c  492596     171220        172660        Unspent  true       9879        60.000000000  2
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 081a60fda3a55f3d4020214cbe37f7892640fa6e2330056534682319fb9b3b85c9  492611     171227        172667        Unspent  true       9872        60.000000000  3
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0812aac3b9824736fa31473e1e64006398a77c2458061687faa9efe1d375e37e17  492626     171235        172675        Unspent  true       9864        60.000000000  4
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08b14083328ed5f1949fee9fdbe0be8c310a3a7d38db22c4cd27118d8b85fa88ac  492634     171238        172678        Unspent  true       9861        60.000000000  5
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08f0d81f3eb64bbcfe1660eec1637c5e82a44d23885c20c1b5d0546c1f9079a568  492641     171242        172682        Unspent  true       9857        60.000000000  6
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09165f1efdec2285207e1bb06cd878d00045f94c1d6fabdf764de2ec7ddfb422a4  492660     171253        172693        Unspent  true       9846        60.000000000  7
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 094928bfd9b2d32a938f8730200c2371d29eeaeac8d871dd382755f33947d4d165  492772     171274        172714        Unspent  true       9825        60.000000000  8
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09cd5de98d29afb8051c750fcc60e8c9fd4aa87c58a7e9a954a7b1f81ae68d54d7  492829     171294        172734        Unspent  true       9805        60.000000000  9
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08855ed4738b26e23ddfcafc50a723a7654c60f7ac4e6d83e8028bc88f9d880cab  492836     171298        172738        Unspent  true       9801        60.000000000  10
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0954f2a8fd5bccfbef394233d0e797f4f221dcfd3d53d9815a3aecc6322e0b9a5a  492852     171307        172747        Unspent  true       9792        60.000000000  11
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08055dcde13373a4ab04db3d897ece1b80da15b6b87adb687088445c2fc2466010  492861     171310        172750        Unspent  true       9789        60.000000000  12
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0900b6c930e37a4e271ce98a2c8d3d87f67473b753e943ac2d61c0733ab3d13952  492877     171319        172759        Unspent  true       9780        60.000000000  13
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08941f7143db73b2dc09117e304b5e6b4d52b737534797dbe6c53e5dc631d59166  492896     171328        172768        Unspent  true       9771        60.000000000  14
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08ecfc3e1c2ebf92a1ef04788a65dd7b72cccda02e34583dc78f95d8188b6b0db6  492964     171355        172795        Unspent  true       9744        60.000000000  22
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 088e5230bac4189d13a09d72a3a3f814d12e902dd5ddaa87c7262903e81b297087  492911     171336        172776        Unspent  true       9763        60.000000000  15
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09335cb7629f0844824bfecfd3c0401e64f88b78bed6f667604af27ad5accd6889  492912     171337        172777        Unspent  true       9762        60.000000000  16
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08e69fbf6412126f879753922733829f680ca98efaafd02aa2948f539862f043de  492915     171339        172779        Unspent  true       9760        60.000000000  17
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08cfd211659529f0714bcf4c6360952e22653d17cefc07f8790ced40cafe744c1f  492922     171340        172780        Unspent  true       9759        60.000000000  18
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0909a147034fc3cab861e7deabe0d8937f60d2bc3e14672ab4ca35a2d7c3a1f5b2  492930     171342        172782        Unspent  true       9757        60.024000000  19
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08de881daeccf8620e7a01939b27ad730cde917afc3bf70f1b0a0539cf8935c5a7  492945     171347        172787        Unspent  true       9752        60.000000000  20
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0936f585824fa49460ae433ead974ec0d3ac5c16f93ba84b1c68421fbd19ab2e29  492947     171348        172788        Unspent  true       9751        60.000000000  21
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 093e5dff6ec48b95e31e709d021e7bae2b1f078aa0eea8483cec17ec8b608a5f55  492988     171363        172803        Unspent  true       9736        60.007000000  24
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08d312c1eef170c776e3cc5c12c84cc69c1e84445d2f75344b307dee525f9545a0  492975     171358        172798        Unspent  true       9741        60.000000000  23
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0984beaa91061c68730660faf640eb8b1497027ca667c1573852b079631a15c87e  493008     171373        172813        Unspent  true       9726        60.000000000  28
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 084a5216deac2f781e136d8629ea305038c3d64b5f335c6543ce111d801654b05c  492992     171364        172804        Unspent  true       9735        60.000000000  25
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08f820299b8ed2777e3e76c476a3d894eddb3cee02758020085b9ddecd591c6b0a  492993     171365        172805        Unspent  true       9734        60.000000000  26
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 080012b75056ccee20a2d82beaaec46e8a5fd6344322dee86820a4aa2341213398  492995     171366        172806        Unspent  true       9733        60.000000000  27
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09405b4d6a7ba0e13b4ed62f6af9ec971e90f7c1b5227b6b7a6461fd2b51e6f7e9  493058     171396        172836        Unspent  true       9703        60.000000000  33
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0835995a328f483c520c74612c126936a13c17d46266e9f42d8ea26289893bf50c  493031     171384        172824        Unspent  true       9715        60.000000000  29
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 080e1bd8fffa9f02655d1c5b737efc9ae0e5b9481da5c47d4efcff3f7010e910ca  493034     171386        172826        Unspent  true       9713        60.000000000  30
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09738e8e4ae9d93d2b378fae73a4ccc027eec3a5866206cd4ea1e937ca58b561a8  493035     171387        172827        Unspent  true       9712        60.000000000  31
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 096668ae7870c28267c3f0e4c04fe606f0d4b66aee20291e06b795a0d80ce20d7f  493039     171389        172829        Unspent  true       9710        60.000000000  32
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08c445ae031a2dd7f3123b9e15d9580755e10b878ad43b983826999440f44b8de5  493314     171509        172949        Unspent  true       9590        60.000000000  63
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08a0ac8acbf7a1b9e23dcacd295a770e979d5a88f1f6b8a8f5ea740f078fdc4e1b  493074     171405        172845        Unspent  true       9694        60.000000000  36
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 087317c3d63bf7b2f54bb8ec1524127c7ba4c43102c3c8cbf53eafedf171276776  493059     171397        172837        Unspent  true       9702        60.000000000  34
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 085d2c64c5570b078b97a1a66c5875986f7b895133cf0d47a5294b57e30ed980f9  493061     171398        172838        Unspent  true       9701        60.000000000  35
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08e74a6517b9c5cc1c241d432056b43aab50e0c6a714171e46e22e4ee77879e363  493092     171412        172852        Unspent  true       9687        60.000000000  37
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 082920a94326cdcea55381b14669461dbffef01803856deca49be796ba9ff29f6b  493267     171489        172929        Unspent  true       9610        60.000000000  57
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0937ba09e47264caab48e9d4c57701c64af524fcfc01be3a69d21a9079005a6046  493115     171422        172862        Unspent  true       9677        60.007000000  40
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0913e34f44dd323f8656726a92603385715ff25c0ac9ef8dbc63e13bed0ddd8f92  493275     171492        172932        Unspent  true       9607        60.000000000  58
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09ac3cd9bf58192e94d2dea20a09e4cf3ad8b26de056ab1e24735083ad6aa41bdc  493093     171413        172853        Unspent  true       9686        60.000000000  38
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 084878b57258ae3101fbd55d15765991c9ce90345620b1134ce55ca4e7572c38f1  493105     171419        172859        Unspent  true       9680        60.000000000  39
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0845c3c2d311a4b54837e14962b82daf9cad1124a08cc88a62a065cac8c4c13048  493133     171431        172871        Unspent  true       9668        60.000000000  42
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 091067e21ff1ace3c668d8289e824a1160e514a11c9ed9aa08439f7a88ede58f9f  493287     171496        172936        Unspent  true       9603        60.000000000  59
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09dbe08ccc90b28b23dfe8d311effa54de68a219f24b2cdc587207b22e63065067  493121     171424        172864        Unspent  true       9675        60.000000000  41
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09b28aee4845fa57657103eb15edfaa36ec762816ffa8ca534af8a1d02b516d752  493152     171440        172880        Unspent  true       9659        60.000000000  44
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09c0f7a7e992360cf4e7c3ece3f7ef3d190e912739105242b4c6ed281e714d5275  493136     171432        172872        Unspent  true       9667        60.000000000  43
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09da534767d5c220707c31cbef24332abf43abb50474c9cd8e1afc1b313592ec05  493290     171498        172938        Unspent  true       9601        60.000000000  60
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 096e899d908fcb933b566014f0f5a896626c1d6cc747f446cf16b42ce82fa64342  493297     171502        172942        Unspent  true       9597        60.000000000  61
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 093067c19b3b7828e9da8083c23bae685b298f07e64abe2c21a0872e99dbb31f15  493153     171441        172881        Unspent  true       9658        60.000000000  45
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0933412e0ecbe936f2bfdb5b57cdb087b081009a430e87a3873712da0ee85a2ca2  493309     171506        172946        Unspent  true       9593        60.000000000  62
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 097e667f6b8d6551525f0058b8c18787e06c5136650122d704bff7fa8af27d7650  493155     171442        172882        Unspent  true       9657        60.000000000  46
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08c19d8fc562d3907f0c7eb10a7eec8a4cae4aa703c18ab1bca5418a0aa5785a6b  493156     171443        172883        Unspent  true       9656        60.000000000  47
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 086dda4bcfdf7b8f024a296b54c56bf2beffc9fe0e7667333b6560ae363527cd9a  493160     171444        172884        Unspent  true       9655        60.000000000  48
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 095b698c36f50b3e6dba5e890831eabb8a5bfaa646d40ab7804bf3675dbdcf09c9  493163     171446        172886        Unspent  true       9653        60.000000000  49
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09b1841be4457641606ff36741f3847072872671987046ed8fdc60a85ebf602417  493178     171452        172892        Unspent  true       9647        60.000000000  50
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09f9407ef697d172355fd7b596497453fe23ee16a9a13b9653db80453cce3c3439  493185     171456        172896        Unspent  true       9643        60.000000000  51
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 090e97ee3db489210b25adbdab98b5f4d10cd63b40bd50b1628391100519fcc058  493210     171467        172907        Unspent  true       9632        60.000000000  52
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08cceb4737df6536e3eec894e072687e3d97482bcf7a832423042790e1b4c6b58c  493213     171469        172909        Unspent  true       9630        60.000000000  53
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08eed61b2062a3228b4c13b9b90740c9835b33a75d17959b4cad4655d19e4781b9  493231     171475        172915        Unspent  true       9624        60.008000000  54
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 084a4883607c2fa670c62c691641d7cb16cb0a375f64254d4a5ee1afd3a010ecd8  493331     171518        172958        Unspent  true       9581        60.000000000  64
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0917ecf4c70caae3ff2171a3eeb16efde12dfea71cecd020ae525ac236ee88b71b  493347     171526        172966        Unspent  true       9573        60.000000000  65
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 091deeb31700ef5825d94334e2cfa20785976c9e4724a14dee7b0aad403b503778  493234     171476        172916        Unspent  true       9623        60.000000000  55
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 090203813a69b5992f0094c7bcd4ac9e9feee184a35b45e8da9f252ed26eaa5338  493235     171477        172917        Unspent  true       9622        60.000000000  56
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08dbfc2dfbe13457817ab03cf3a84528e6995bbe232eb0656d56d071d8da49a4c4  493348     171527        172967        Unspent  true       9572        60.000000000  66
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08f3055124c937d3c84e7d78480934b49e411f9e067967a4d30f4efa7531f9619f  493353     171529        172969        Unspent  true       9570        60.000000000  67
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0819da1b4bf60c4d227cb8419fe9a895ff91aad68b88690572ea71842fececf691  493356     171531        172971        Unspent  true       9568        60.000000000  68
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08cb0744a31e9eec5b4c2614a42b1dd4c422cf3644caaca01e61da46365aa8c25b  493359     171532        172972        Unspent  true       9567        60.000000000  69
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09039ef58695f24d73830cf4169f682ee4ac3c26e6b021a5131c069cb8f306a3b5  493369     171536        172976        Unspent  true       9563        60.000000000  70
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08be216f06146b55eb0a516eec81c4802bf4c63f915bb6842d98d674ea5d824c95  493370     171537        172977        Unspent  true       9562        60.000000000  71
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09adb5aba0e6115635e4ed6b8e6c80035256344ceabd55a3e2e5049ac9d87a2411  493376     171540        172980        Unspent  true       9559        60.000000000  72
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 088ab6a36297630c8b8909ac7a9765c5ea22cf9b0a25d06fe8501640b5c1cc96d9  493379     171542        172982        Unspent  true       9557        60.000000000  73
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0999561c9ee1c88b2842940ea5e7232a3e18e8edbcc6ff4b2683f0c485af6c4d09  493385     171545        172985        Unspent  true       9554        60.000000000  74
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08ae4542cab9d22e7e32b125fe6c1c3449abe0d1a9ecbad6ecf3f9fc2cbd8c44f0  493408     171557        172997        Unspent  true       9542        60.000000000  75
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0943e6cf35107a76a435606311d4ea2bc27d4401c6d4acb28641159e8e1d26404b  493436     171570        173010        Unspent  true       9529        60.000000000  76
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09eb5c95331321af535fe0123a6d13cf5d58326be68f0a0ef2e06619f5c1b137e2  493437     171571        173011        Unspent  true       9528        60.000000000  77
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 0953ad9cd70533993e4cfc30d4c2d13394d662ac60e0622e73dcf2692364baabe0  493449     171577        173017        Unspent  true       9522        60.000000000  78
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09436e5bc54f39356608415fc0c7fbbb218458a2733639664c17312e535867ea97  493459     171583        173023        Unspent  true       9516        60.000000000  79
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08f5ab509abe221f12e0a69b26cfe0ebcda677f80f8f53397566547af9bb2bb109  493464     171584        173024        Unspent  true       9515        60.000000000  80
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 08a3dddafec301d9062d3fc47a900a4becff0c0f9ff60d1e9140c51f37a0fd9186  512360     180970        180970        Unspent  false      129         2.280000850   0
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 09b9bcf792f759e826dde675098ff709041935a070eba0d937386fa412d0a9930f  None       180990        0             Unspent  false      109         49.992000000  81
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Command 'outputs' completed successfully

As you can see the transaction and the change outputs does not appears. Could it be because in this test environment this wallet is also used as a coinbase wallet?

@quentinlesceller

This comment has been minimized.

Copy link
Member Author

commented Jun 20, 2019

Even after stopping the coinbase wallet side still encountering this issue.

grin-wallet.log:

20190620 23:35:30.502 DEBUG grin_core::libtx::build - Building input (spending coinbase): 60000000000, 030000000000000000000004a600000000
20190620 23:35:30.502 DEBUG grin_wallet_libwallet::internal::selection - Building change outputs: total change: 1500000031 (1 outputs)
20190620 23:35:30.514 DEBUG grin_core::libtx::build - Building output: 1500000031, Commitment(08de593a9e861e1913816985f08494b201c13580424db13e2e903254840383bae3)
20190620 23:35:30.583 DEBUG grin_wallet_impls::adapters::http - Posting transaction slate to http://100.26.68.39:13415/v2/foreign
20190620 23:35:30.681 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 23:35:30.707 DEBUG grin_wallet_impls::seed - Using wallet seed file at: /opt/grin-wallet/wallet_data/wallet.seed
20190620 23:35:30.726 DEBUG grin_wallet_libwallet::slate - Validating final transaction
20190620 23:35:30.811 DEBUG grin_wallet_libwallet::api_impl::owner - api: post_tx: successfully posted tx: 393f08c29424, fluff? true

receiver:

---------------------------------------------------------
 8   Received Tx  9c25337c-14d7-4db7-b6a3-12389f147db5  2019-06-20 23:35:30  false       None                 0       1        58.491999969  0.0      None  58.491999969  None
-----------------------------------------------------------

nothing on the sender side, no outputs locked and no tx log. All done after a restore.

@quentinlesceller quentinlesceller changed the title InitSendTx does not always create a transaction log API: InitSendTx does not always create a transaction log Jun 20, 2019

@yeastplume

This comment has been minimized.

Copy link
Member

commented Jun 24, 2019

Okay, so trying to track this down I've tried:

  • Running sends via the wallet CLI - no issues
  • Modifying the main wallet integration tests to send multiple times - no issues found
  • Modifying the main wallet integration test to start up a listener on one wallet, and modify the cli 'send' command to behave exactly as the API call does (i.e. call init_send_tx with the send_args field out, run multiple times with no issue, whether the post_tx field is set or not.

It would really help to have some exact steps taken under which this occurs, also any info about the environment that might be relevant.

@quentinlesceller quentinlesceller removed the bug label Jun 24, 2019

@quentinlesceller

This comment has been minimized.

Copy link
Member Author

commented Jun 24, 2019

Issue is internal and not related to grin-wallet. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.