Omg, you guys have gone deeper than blackholes.
Can we put a stop to this cock measurement?
So this is my final solution after doing some research.
1. I use electrum daemon in my server.
2. Using my wallet xpub for the daemon (later will use xpub from my ledger nano s, gona buy one)
3. Using blockchain.info to supply raw tx hash for notification.
4. no more own nodes, because the purpose of it was to get transaction notification, since we cant get it right and already found another solution. I guess im shutting it down.
================================================
There are several guides available online on how to accept payments (either via core or electrum).
Electrum probably is a bit easier.
If you don't explicitly want to have a validating full node (but still want to use it trustless and with being in full control over your funds), i'd choose electrum to accept payments.
Thank you for your suggestion. I found out electrum for server. and use it instead.
But I have problem in notifying payments. I cant get it with electrum.
================================================
FYI:
Non-mining nodes Relay the blockchain , all you are doing is viewing a receipt of your transaction with your node.
You could just view a receipt by just confirming your transaction in a block explorer with zero costs of maintaining a node.
So I use this to solve my payment notification thing. Now I can get instant payment notification with 1,2,3 confirmation. I use blockchain.info explorer in a hacky way. (without applying from blockchain.info I mean. I dont know why they want people to apply for this, we only want the txhash)
And yes you are right, I only want raw txhash (receipt as you called it). But from what I read, to help the community I have to run my own nodes.
As per your question what is my business model, its a copycat of localbitcoin. p2p exchange service.
================================================
Electrum's default gap limit is 20, I'm not sure what a sane maximum gap limit is though. If you can't see transactions until you've changed the gap limit to 200 you should review your application logic. While increasing the gap limit is a quick temporary fix there may be a deeper underlying issue with how your application works (eg. needless generation of new addresses that are then left empty).
Apparently in the server we dont need to change the gap limit, all balance are appearing. I dont know why total balance wont show in electrum desktop without increasing gap.
================================================
Thank you everyone for helping. Your cock measurement competition are really helping me.
I cant believe I use both side of the argument to solve my problems. it saved me months of try and error.
Please help me whats wrong with my solution. (if any)
I thought by creating a paper wallet and receive private key and public key, I can use it to place in any wallet to generate million of deposit address.
My concept understanding was right but I was looking at the wrong thing.
Private key and public key are one thing.
MasterPrivate key and MasterPublic key are the main culprit here. My focus should be here from the beginning.
MasterPrivate key and MasterPublic key are "wallet technology", the purpose of it is to "zip" addreses/privatekeys.
This "zipping" can be in a few form which is,
Seed word,
Masterprivate key (xprv), or
wallet.dat .
This wallet technology is called Bip32.
MastePublic key is the main source to generate addresses.
I think people was saying a wrong mantra like "if you dont own private key, you dont own bitcoin"
what they need to say instead is, "if you dont own XPRV, you dont own bitcoin"
================================================
*I cant give out merit, I would spend it all if I could.
** If it was this easy, why everyone wants to use 3rdparty merchant?? cant they use their own electrum? or is there any security reason? and what block.io really charging fees on there? Im really confused, are they selling security? I saw 2,500 Wallet Addresses per Network, why I need to pay for this?