Bitcoin Forum
June 24, 2024, 09:05:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain.info Receive payments API V2, xpub keys, and gap limit woes.  (Read 1357 times)
Rmcdermott927 (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 1140


View Profile
March 08, 2016, 03:44:51 PM
 #1

So, I am wondering if anyone has faced this issue before or if anyone can think of a solution or alternative as I am slightly stumped.

I am using the blockchain.info receive payments API V2 for a script of mine.   It uses a BIP32 xpub key to generate receiving addresses.   However, it seems like blockchain.info uses the standard gap limit of 20.   There are a lot of addresses generated for the site that uses the xpub key, so having 20 addresses in a row where there is no payments, is not all that uncommon.   Once that magic number of 20 passes, addresses are still generated but they are no longer monitored for payments. 

Currently, I work my way back and send a small amount of BTC to an earlier address to get it to "see" payments to later generated addresses.

Other than programatically sending dust when there have been x number of receiving addresses without payments, is there any other way to make this more manageable?

Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2912
Merit: 2347


View Profile
March 08, 2016, 11:16:45 PM
 #2

https://docs.google.com/document/d/1-2l6xOqcbjs9QWEqSh72RD1d8EEdvG_hQuEXw_f_o6w/edit

^^I received this from a zendesk representative when I was attempting to retrieve my xpriv key of my HD blockchain.info wallet. 
Rmcdermott927 (OP)
Legendary
*
Offline Offline

Activity: 2254
Merit: 1140


View Profile
March 08, 2016, 11:51:46 PM
 #3

https://docs.google.com/document/d/1-2l6xOqcbjs9QWEqSh72RD1d8EEdvG_hQuEXw_f_o6w/edit

^^I received this from a zendesk representative when I was attempting to retrieve my xpriv key of my HD blockchain.info wallet. 


Do you know of any programs that allow adjusting of the gap limit so that I can continue using this method?   Id like to not have to recode the payments receiving function in the script.   The v1 API was fine.   I didn't even mind paying the Tx fee. 

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!