ripple / ripple-client

A UI for the Ripple payment network built using web technologies
ISC License
1.34k stars 494 forks source link

Money to wrong issuer disappears #486

Closed Bikae closed 11 years ago

Bikae commented 11 years ago

It look like money disappears if you send them to one issuer but happens to have an other issuer as current issuer. I tried to send USD several times (no path) to Weexchange but the USD diddnt arrive in my Weexchange account. I have sucessfully sent USD and BTC between these 2 accounts earlier. Later I relaized that I had bitstamp as issuer so I tried to see if that was the problem.

I have 2 ripple account on 2 differerent computers so I tested this: test 1: Send 1USD from Account2 to Account1 - Ok, send 1USD from Account1 to Weexchange with bitstamp as issuer - it disappears. test 2: Send 1USD from Account2 to Account1 - Ok, send 1USD from Account1 to Weexchange with Weexchange as issuer - it shows up in my Weex account.

So where did the USD go, did they go to Weexchange but they cant connect them to my account beacuse the Destinatio Tag is a 'bitstamp destination tag'

Where and how can i search in all ledgers to find my transactions?

Thanks!

adaptive commented 11 years ago

The only way to figure out is if you post your ripple addresses. Note that bitstamp trusts/accept weexhange issued USD, not sure the other way around.

Dorson commented 11 years ago

Weexchange is often low on volume. There is trouble to withdraw or sell anything except of XRP.

Try to reload and re-login. Maybe then your balance will finally show off.

I had a lot of lag with Weexchange and they also have higher fees for trading. Every time you trade with them, you loose on fees.

I hope it helps.

Bikae commented 11 years ago

Tnx for the answers. My Ripple adress is r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM This happend 1-2 days ago, I tried top login logout and wait.

Where and how can i search in all ledgers to find my transactions?

BR

JoelKatz commented 11 years ago

You can always get your 200 most recent transactions (with metadata explaining what they did) as a JSON object with this command, assuming curl is installed and is in your path:

 curl -X POST -d '{ "method" : "account_tx", "params" : [ { "account" : "r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM", "ledger_index_min" : "-1", "ledger_index_max" : "-1" } ] }' 

Note that this includes all transactions that affect you, not just transactions you performed.

Bikae commented 11 years ago

Update

Hi, an update in my issue. Thanks JoelKatz , now i learnd how to use curl. with the comand curl -X POST -d '{ "method" : "account_tx", "params" : [ { "account" : r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM", "ledger_index_min" : "-1", "ledger_index_max" : "-1" } ] }' http://s1.ripple.com:51234>account_tx_522209-.txt i got the ~200 oldest 522209 - 532108 for my account and with the command curl -X POST -d '{ "method" : "account_tx", "params" : [ { "account" : "r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM", "ledger_index_min" : "532108", "ledger_index_max" : "-1" } ] }' http://s1.ripple.com:51234>account_tx_fuji_532108-.txt I got the next 200.

I have for now concentrated on my 2 USD i sent as a test. The are in ledger 563789 and 563884 the first one disappeared but the other on did arrive to my weexchange-account.

When I compare these 2 ledgers I see that there are a lot of difference in hash valus, dates, index etc but that looks normal and 1$ differenc in FinalFields":{"Balance":{"currency":"USD and that is my 1$.

I can also see that both transfers had correct desstination adress and DestinationTag.

The destination in both cases were WeExchange and the issuer is Bitstamp but I know I changed the issuer to WeExchange before I sent the second 1$ transfer, it was the purpose of the test.

My account is r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM The only major differance I can see is this: ( I have changed all rippleadressed so WeExchange r9vbV3EHvXWjSkeQ6CAcYVPGeq7TuiXY2X is named: r9vbV3EHvXWjSkeQ6CAcYVPGeq7TuiXY2X-issuadr-1767013175-USD-WeExchange)

First dollar: 1 [{"account":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "currency":"USD", 2 "issuer":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "type":49, "type_hex":"0000000000000031"}, 3 {"account":"r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk-mustkillidiots-Banzai", "currency":"USD", 4 "issuer":"r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk-mustkillidiots-Banzai", "type":49, "type_hex":"0000000000000031"}], 5 [{"account":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "currency":"USD", 6 "issuer":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "type":49, "type_hex":"0000000000000031"}, 7
8 {"account":"rDc9zKqfxm43S9LwpNkwV9KgW6PKUPrT5u-fuji", "currency":"USD", "issuer":"rDc9zKqfxm43S9LwpNkwV9KgW6PKUPrT5u-fuji", 9 "type":49, "type_hex":"0000000000000031"}]], 10 "SendMax":{"currency":"USD", "issuer":"r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM-mimo", "value":"1.01"},

Second dollar

1  [{"account":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "currency":"USD", 
2  "issuer":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "type":49, "type_hex":"0000000000000031"},
3  {"account":"r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk-mustkillidiots-Banzai", "currency":"USD", 
4  "issuer":"r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk-mustkillidiots-Banzai", "type":49, "type_hex":"0000000000000031"}],
5  [{"account":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "currency":"USD", 
6  "issuer":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B-issuadr-45784-USDBTC-Bitstamp", "type":49, "type_hex":"0000000000000031"},
7  "SendMax":{"currency":"USD", "issuer":"r9JS9fLbtLzgBCdFCnS3LpVPUBJAmg7PnM-mimo", "value":"1.01"}, 
8  {"account":"rDc9zKqfxm43S9LwpNkwV9KgW6PKUPrT5u-fuji", "currency":"USD", "issuer":"rDc9zKqfxm43S9LwpNkwV9KgW6PKUPrT5u-fuji", 9  "type":49, "type_hex":"0000000000000031"}]],
10

the difference is that row 10: "SendMax":{... moves to row 7 in the second case. the adress rDc9zKqfxm43S9LwpNkwV9KgW6PKUPrT5u-fuji is my other,newer account its on on other computer. the adress r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk-mustkillidiots-Banzai is unknown to me, I dont think i sent or recived any from that adress, i Guess it just happens to bi in the path or something.

Im going to contact WeExchange and ask them if they can explain this.

BR

PS I hope the formatting code works, I cant see a prewiev (Iceweasle Debian stable)

Dorson commented 11 years ago

This is rather fishy. I have done trades with them and noticed a small deduction after each trade, I thought that were the fees.

Now you bring this up and it starts to be a little suspicious.

JoelKatz commented 11 years ago

If you have funds from one issuer and pay to someone who doesn't accept funds from that issuer, the network will find liquidity where it can, presumably in this case from r9YcKijXfPWsKrgEP9Ekq3HDCVy53fELDk. That's not unusual.