I am looking for a core software component in python (v3.7 or v3.6) that will help to scale the bitcoin payments processing at any store without headaches while the payments privacy remains undisclosed by third party services.
In resume a simple function that takes as parameter one BTC public address and the minimum numbers of confirmations required. This function will return the confirmed and unconfirmed total BTC received by the provided public address in few milliseconds. Note that amount spend by the address are not taken in consideration.
For example see the received amount for below address is lower than current balance at address. [login to view URL]
In the function we need the received amount.
Example of function signature>>
get_address_total_btc_received( public_address, minimum_network_confirms )
return [total btc received confirmed, total btc received unconfirmed]
The solution should be standalone and as simple as possible, without dependencies to block explorers, or external services.
One approach idea:
1) Write a python helper service that will connect to local bitcoin daemon by the RPC protocol. This service will be moving transactions info to mysql or postgress database in real time.
1.1) Note the service need track if block get discarded by the BTC network and adjust properly the transactions info.
2) Write a python module that will query the database and retrieve the total btc received as described above.
2.1) Note this approach need an optimal SQL database design to allow achieve the performance required of few milliseconds while the total btc received is calculated.
Hi Dear Client I can provide you blockchain 1 million leads with full detail verified and cleaned collected from [login to view URL] we discuss more with sample thanks