Bitcoin Forum
May 06, 2024, 05:11:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Web Wallets / Re: Blockchain.info API Lost money on generated addresses. How to return the money? on: July 15, 2019, 02:02:50 PM
This solution will probably work. If it doesn't and electrum do not scan after 20 unused address you may need to force it to scan.

Which can be done with command
Code:
wallet.change_gap_limit(3000)

If you can't find Console Tab, enable it by select "View" -> "Show Console"

On a side, why do you need blockchain.com API? If you're merchant who accept Bitcoin payment, you could set Electrum to accept payment (http://docs.electrum.org/en/latest/merchant.html) or BTCPay (https://btcpayserver.org/) if you need proper Point of Sales


Thank you very much!!!!
2  Economy / Web Wallets / Re: blockchain.info payments API bug! on: July 15, 2019, 08:37:33 AM
I have exactly such a problem, I figured out why they do not reach. Question in another, did you return the money? How?
My thread https://bitcointalk.org/index.php?topic=5164111.new#new
3  Economy / Web Wallets / Re: blockchain.info API: Payments not forwarded to main wallet on: July 15, 2019, 08:15:43 AM
I have exactly such a problem, I figured out why they do not reach. Question in another, did you return the money? How?
My thread https://bitcointalk.org/index.php?topic=5164111.new#new
4  Economy / Web Wallets / Blockchain.info API Lost money on generated addresses. How to return the money? on: July 11, 2019, 10:28:11 AM
Hello everyone, I started using this service(blockchain.info) to receive automated payments
I got access to api https://www.blockchain.com/ru/api/api_receive
Created a button on the site by which addresses were generated:
Code:
https://api.blockchain.info/v2/receive?xpub=xxx&callback=xxx&key=xxx&gap_limit=3000
I used it 
Code:
&gap_limit=3000
  because I found it in the example.

Only then I understood about it:
Quote
As defined in BIP 44, wallet software will not scan past 20 unused addresses. Given enough requests from this API that don't have a matching payment, you could generate addresses past this horizon, which would make spending funds paid to those addresses quite difficult. For this reason, this API will return an error and refuse to generate new addresses if it detects it would create a gap of over 20 unused addresses. If you encounter this error, you will either need to switch to a new xPub (within the same wallet is fine), or receive a payment to one of the previous 20 created addresses

A lot of money has come to the generated addresses, and all of them are not visible on the main wallet
I realized that the whole problem is due to the gap

In order to solve it, I need to throw off some money at previous addresses
How can I get all generated addresses via API?
Or what other ways you can get money?

I have already written in support, but they do not respond for a long time
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!