Bitcoin Forum
May 26, 2024, 12:50:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 4 5 6 7 8 »
21  Bitcoin / Electrum / Re: Electrum - Why my confirmation is negative? on: January 04, 2019, 10:14:26 AM
Seems like the transaction has been confirmed while checking through the block explorer. Negative confirmations is a well known bug present in the electrum software. Resyncing/re-connecting to a newer server will probably solve your issue I guess.

I use electrum, im not using my own nodes. why it not sync?
Electrum is a light wallet and it doesn't download the whole blockchain. Rather your wallet syncs to a server running a full node to broadcast transactions and update your balances. Servers can go down at times.

To restart/resync electrum do I need to reboot the server? Electrum daemon was running all the time. Shouldn't it sync?
Press the green button present on the bottom right of your client interface to resync with new server. When you click that, Press the server tab and select a new server from the list.

If that doesn't solve your issue and if it still persists you better need to delete the block headers.  Sad


are you a troll?
22  Bitcoin / Electrum / Re: Electrum - Why my confirmation is negative? on: January 04, 2019, 05:07:22 AM
Try to restart/resync your server.


To restart/resync electrum do I need to reboot the server? Electrum daemon was running all the time. Shouldn't it sync?
23  Bitcoin / Electrum / Re: Electrum - Why my confirmation is negative? on: January 04, 2019, 04:17:56 AM
Try to restart/resync your server.


so the problem is its not sync?

I use electrum, im not using my own nodes. why it not sync?
24  Bitcoin / Electrum / Electrum - Why my confirmation is negative? on: January 03, 2019, 05:45:53 PM
Quote
{"status": "success", "status_code": 200, "message": "", "data": {"partial": false, "version": 1, "segwit_ser": false, "inputs": [{"prevout_hash": "9f36aa1d9e6c24b5570290766ad2ba402a31ad0e30fe62e0ad4b607b549ac63c", "prevout_n": 1, "scriptSig": "47304402200b900e57472ca6e0c081c17ffc65e96ef130346e7c8a6baaec71b2aa05a55b4402202 e2913d7cfc202896506630daf7d1fb2a6ffe54c8cde9b267290c4476747a2700121034af2b495a6 2750f5e0b7aa13badf858fe48bfa30c436debfae3dc206c062486e", "sequence": 4294967295, "type": "p2pkh", "address": "1MtCJ1uvApDcj9YkGSmnzQc2DPUBiiXjWD", "num_sig": 1, "x_pubkeys": ["034af2b495a62750f5e0b7aa13badf858fe48bfa30c436debfae3dc206c062486e"], "pubkeys": ["034af2b495a62750f5e0b7aa13badf858fe48bfa30c436debfae3dc206c062486e"], "signatures": ["304402200b900e57472ca6e0c081c17ffc65e96ef130346e7c8a6baaec71b2aa05a55b4402202e2 913d7cfc202896506630daf7d1fb2a6ffe54c8cde9b267290c4476747a27001"]}], "outputs": [{"value": 1000, "type": 0, "address": "18yYUxDEG4uEebiGcLVSPfxCFqeEa8X1Qq", "scriptPubKey": "76a914577a74426272ccf6299ebaa32965dc46171f5cec88ac", "prevout_n": 0}, {"value": 22659, "type": 0, "address": "1Luj34vrE8bRgv1ukeK5kSCJg9MrBykdqC", "scriptPubKey": "76a914da631c081cdbe466aa9a0d945d46ee82e3ea0e6f88ac", "prevout_n": 1}], "lockTime": 0, "input": "1MtCJ1uvApDcj9YkGSmnzQc2DPUBiiXjWD", "confirmations": -13}}


Hello there, Im using electrum server for my apps, im trying to notify user that their payment has been successful.

but why I get negative comfirmations everytime? can somone help me out? (was using blockchain.info as block comfirmation before, but they limit our data call)
25  Other / Serious discussion / Re: Can speculation destroy Bitcoin? on: December 03, 2018, 06:15:57 AM
As long as there are many people using bitcoin as method of payments, nothing to worry about.

but most of icos are only promising x10 x20 without any real uses or value. Icos owner keep the fund in hoping to start the project when the price is higher.

Even after they completed their project, there is no strong value in their product that will inputs outside value into their system.

This is the most destructive.
26  Bitcoin / Development & Technical Discussion / Re: Someone says about "running your own full node" but.. on: November 11, 2018, 06:49:27 AM
** If it was this easy, why everyone wants to use 3rdparty merchant?? cant they use their own electrum? or is there any security reason?

Quote

However since you are using a separate block explorer to confirm receipts, you should be ok,
just be sure to wait 3 to 6 confirmations to be sure it's valid and never trust the electrum wallet without verifying with the block explorer and you should be ok.

Good Luck.  Smiley

Oh I updated a question about block.io. what are they charging really? and why should I pay?
same with blockcypher. why we need to pay to use their api?
27  Bitcoin / Development & Technical Discussion / Re: Someone says about "running your own full node" but.. on: November 11, 2018, 06:27:32 AM
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.  Grin
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?
28  Bitcoin / Electrum / Re: Why am I receiving a negative? - electrum on: November 10, 2018, 05:39:11 AM


Which mean, channel all deposit to my cold wallet (ledger nano for example)

but by using my ledger nano xpub will mean there will be 10,000 addresses too, sending from here to a hot wallet for example will cost me huge fees too right?

*anyway is that how exchangers like binance do? channel all deposit to cold wallet first and sign for hot wallet later?
1. Yes it'll be more efficient fee wise.
2. No. They get you to send to an online wallet:
1. If the payment is say more than 0.01BTC a transaction is automatically broadcast to move the coins to cold storage.
2. If it's 0.01BTC or less then it'll store the input in a list ready to broadcast a transaction once enough funds are in that wallet to make it worth moving (say 0.05BTC).

I have seen sites send no fee transactions with dust and just hope they'll confirm at some point.

Some sites like you to message them first if you send high amounts to them so they can give you an address on their cold storage (its normally for 50BTC+ transactions though).

I bet your number 2 is the answer for binance. may I do follow up question,  when user pay more than x amount, it will broadcast. what is broadcast mean? is broadcast means to sign transaction to send btc to new wallet/address?

is online wallet same meaning to hotwallet ?

If so, will this be the flow of your said example?:

Quote
userdeposit>>hotwallet/onlinewallet>>if-more-than-x>>cold wallet

what I did now is almost the same:

Quote
userdeposit>>Hotwallet>>90% of amount send to cold wallet.

so user withdrawal will use the same wallet that user deposit.

but the other guy in this thread say its better to move all to cold wallet like this

Quote
userdeposit>>coldwallet (ledgernano)>>send 10% to hotwallet


side note, I honestly thought bitcoin are like paper money. if you collect $1 from million people, you can spend 1million.

but in bitcoin if you collect 0.00001 from a million people, you cannot spend 10 bitcoin, you can only like spend maybe 50% of it or maybe you cant spend at all.
(because I made some test with 0.00001, it will cost like 225byte times 10sat = 2250 satoshi to send out 0.00001)
29  Bitcoin / Electrum / Re: Why am I receiving a negative? - electrum on: November 10, 2018, 01:47:13 AM
I have a question, let say I have 10,000 users.

each on of them deposit to my wallet (xpub generate 10,000 address for each user for deposit)

After receiving their bitcoin, I will instantly forward it to my cold wallet.

If I want to send from my cold wallet to one address, is that mean my output will be 10,000 addresses, and I will need to pay huge fees?
Yes. But instead of sending a transaction (to your cold wallet) every time you receive coins in your hot wallet, you can:

a. Receive them directly in your cold wallet and consolidate the funds from time to time with a low fee (making all inputs become just one that can be spent in the future).
b. Wait until you get a few transactions and send all of your coins to your cold wallet with just one big transaction (e.g: instead of 10 transactions of 1 input - resulting in 10 outputs -, you can do 1 transaction of 10 inputs - resulting in just 1 output).

Which mean, channel all deposit to my cold wallet (ledger nano for example)

but by using my ledger nano's xpub in my server to receive deposit, which mean there will be 10,000 addresses too, sending from here to a hot wallet for example will cost me huge fees too right?

*anyway is that how exchangers like binance do? channel all deposit to cold wallet first and sign for hot wallet later?
30  Bitcoin / Electrum / Re: Why am I receiving a negative? - electrum on: November 09, 2018, 07:11:02 PM
Essentially, you just wasted 0.00001600 BTC. Undecided
It would even have been better to never use the 10k sat at all. What OP did was throw away 10k sat to turn 20k sat into 14k sat.
I've seen much worse when fees were very high: some wallets send dust when it would be cheaper to exclude the dust.

I have a question, let say I have 10,000 users.

each on of them deposit to my wallet (xpub generate 10,000 address for each user for deposit)

After receiving their bitcoin, I will instantly forward it to my cold wallet.

If I want to send from my cold wallet to one address, is that mean my output will be 10,000 addresses, and I will need to pay huge fees?
31  Bitcoin / Bitcoin Discussion / Re: Succeed placing xpub to generate unlimited receiving address. But how to pay? on: November 09, 2018, 07:05:05 PM
can we ran this electrum daemon if we have pruned bitcoin core(prune=5000)

also, can you point the link for electrum daemon?

yes, electrum can be run next to core, eventough i'm wondering why you'd use electrum if you're also running bitcoin core... I have no experience with btcpayserver, but if it's using core in the background i wonder if btcpayserver is also able to handle payouts if you import the xprv instead of the xpub??? If not, you should be able to import the xprv into the bitcoin core instance you're running anyways and use core's json-rpc interface to handle payouts (i've never done this myself, but iirc, it should be possible, altough i don't know if the derivation path is the same between both implementations???)

Here's the link you were asking for: http://docs.electrum.org/en/latest/merchant.html

Hi thanks for your suggestion. we use electrum daemon now. but electrum cant notify incoming payments. so we need to hack blockchain.info to receive txhash for spesific payment and get notification from there.

(was thinking on using a stupid trick like selenium automation to check every transaction)
32  Bitcoin / Development & Technical Discussion / Re: Someone says about "running your own full node" but.. on: November 08, 2018, 11:25:56 AM
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.



Hello guys,

Someone told me if im serious about my business I should run my full nodes.


The people that told you that , were idiots.
Their are btc religious fanatics with alot of stupid ideas.


The hate is real  Grin

OP, don't listen to this moron. He is a known flamer on this forum, trying to speak the word of god btrash.



A non-mining node makes little difference in the real scheme of things.

Pick a vendor that offers you that as a service and let them worry with the headaches of BTC IT Maintenance.

That's a retarded statement.

Full node means that you have full control over the funds and can verify everything yourself (how BTC is intended to be).
Using a 'service' to accept payments means you do NOT have control over your funds and that you are trusting a 3rd party to give you correct information.



* The drop of btc from $20000 to ~$6000 in less than a year should make that apparent to all. *

Same as the rise from 1k to 20k within a year.. +1900% compared to -66%.
But hey.. everyone is free to decide it for himself.

I was whining about the truth of decentralization, the complication, the 3rd party, and he talk about fiat at the end. NO.

im not giving my money to the government or the fucking taliban.

*merchant who want to accept payment who process only fucking bitcoin needs a 3rd party?? WTF am a missing here.
33  Bitcoin / Development & Technical Discussion / Re: Someone says about "running your own full node" but.. on: November 07, 2018, 02:39:18 PM
First setting up full nodes. I use prune 5000, it took me 5 days to sync.

Pruning only reduce storage space used by only store x latest blocks, you still need to download (and verify) all blocks. That's why it took so long.

are all these people are only parroting what others said and never do it themselves?

Only running full nodes is easy, but configure it for specific usage (such as payment services) is tricky.

why the fuck is this so fucking hards?

Because you chose the hard way, there are some better alternatives which don't involve 3rd party such as :

gap limit should be what? 100 maximum?

I cant see my latest transaction without changing it to 200
34  Bitcoin / Development & Technical Discussion / Re: Someone says about "running your own full node" but.. on: November 07, 2018, 01:43:01 PM
First setting up full nodes. I use prune 5000, it took me 5 days to sync.

Pruning only reduce storage space used by only store x latest blocks, you still need to download (and verify) all blocks. That's why it took so long.

are all these people are only parroting what others said and never do it themselves?

Only running full nodes is easy, but configure it for specific usage (such as payment services) is tricky.

why the fuck is this so fucking hards?

Because you chose the hard way, there are some better alternatives which don't involve 3rd party such as :

thank you, nbxplorer was from btcpayserver.
Im moving on to electrum daemon now.
will try also the payment-gateway later.
35  Bitcoin / Development & Technical Discussion / Someone says about "running your own full node" but.. on: November 07, 2018, 12:56:52 PM
Hello guys,

Someone told me if im serious about my business I should run my full nodes.

But since 1 month ago, problem after problems arise, I cant seems to make it work.

First setting up full nodes. I use prune 5000, it took me 5 days to sync.

and then setting up wallet, After 3 days, painfully understanding bitcoin, the bip32 and bitcoin addresses, I understand that I need xpub to generate billions of addresses to receive payments. (3 days because clearly my bitcoin understanding solely from my friends are actually a fucked up, never ever listen to your friends, they dont know nothing, they only want to show how big their cock is)

and then after succeeding setting up deposit addresses, new problem arise, which is payment notification. I cant notify payments. using walletnotify (fuck you). using nbxplorer (also fuck you), blockchain.info api need to wait for application to approve (motherfucking fuck you), block.io needs to pay (fuck you), blockcyhper.com lure you in and ask you pay later (pedophile style fuck you)

I am wondering, why the fuck is this so complicated like fuck? thousands of people are using bitcoin to accept payments, how do they do that? are they all are only using 3rd party merchant to accept payments?

I read on the internet, all people say running your own nodes are better, run your own machine better, buy your own mining machine better, fuck your own wife better, fuck your cat better.

are all these people are only parroting what others said and never do it themselves?

What I want to do is fucking simple.

I want to receive payments and I want to send payouts.

why the fuck is this so fucking hards?
36  Bitcoin / Bitcoin Discussion / Re: Succeed placing xpub to generate unlimited receiving address. But how to pay? on: November 06, 2018, 12:31:30 PM
im using btcpay server. It allowed me to insert my xpub (created using elctrum) and generate deposit addresses. Detecting payments using nbxplorer.

Im pretty new to bitcoin, but I think I understand the basic of it. xpub=masterpublic key, xprv=masterprivate key.

So now for receiving payment I use btcpayserver that create millions of deposit addresses from my masterpublic key and directly sync with my elctrum.

now for payment I need to create a new wallet?

First things first, you are right:
xpub = master public key, which can be used to derive deposit addresses
xprv = master private key, which can be used to derive private keys, these private keys can be used to calculate the public key, the public key can be hashed to generate the address

I have never used btcpayserver, but if you created a wallet by entering your xpub, it's a watch-only wallet, so yes, you'll need a different wallet to handle payouts.
What you could do is use the electrum wallet from which you exported the xpub, if it's a "real" wallet (generated from a seed or an xprv), it should keep track of the same addresses as generated by your btcpayserver, so if you run electrum as a daemon, it should be able to function as a hot wallet.

If you run btcpayserver and electrum on the same machine, you might aswell directly import the xprv in btcpayserver? I don't know how safe btcpayserver is since i have never used it tough!

can we ran this electrum daemon if we have pruned bitcoin core(prune=5000)

also, can you point the link for electrum daemon?
37  Bitcoin / Bitcoin Discussion / Re: Succeed placing xpub to generate unlimited receiving address. But how to pay? on: November 06, 2018, 12:19:47 PM
There are to many unknown variables to answer your question...

MadGamer can be correct, but since you're talking about deriving addresses from an xpub, you might aswell derive them using the bitwasp library, use a python script or run an electrum daemon.

The first thing you should do is detect incoming payments... This can be done with the walletnotify option in core, or by querying an api, or with websockets if you're using an electrum daemon.

The next thing is: when you detect an address being funded, you should know which software you're using for a hot wallet... Depending on the software, there are different ways to initiate a payment. core: json-rpc, electrumd: websocket, python, bitwasp: creating + signing a transaction, online wallet: api

You'll probably need some kind of intermediate script that either polls for incoming transactions (either as a daemon, or from the crontab), or which is called by your wallet if a funding tx is detected (depending on your wallet). This script will probably need to call the payment function of whatever hot wallet you have.
I'd strongly suggest not putting your hot wallet on the same machine where you've put your xpub, it kind of defeats the purpose of using an xpub to derive new addresses to start from (unless i'm missing something here).


im using btcpay server. It allowed me to insert my xpub (created using elctrum) and generate deposit addresses. Detecting payments using nbxplorer.

Im pretty new to bitcoin, but I think I understand the basic of it. xpub=masterpublic key, xprv=masterprivate key.

So now for receiving payment I use btcpayserver that create millions of deposit addresses from my masterpublic key and directly sync with my elctrum.

now for payment I need to create a new wallet?
38  Bitcoin / Bitcoin Discussion / Succeed placing xpub to generate unlimited receiving address. But how to pay? on: November 05, 2018, 06:17:39 PM
Hello there,

I have succeeded creating unlimited address for my user for my website.

so now everytime they want to deposit, my xpub will generate addresses for them.

but how to do automatic payment? like when they request for withdrawal, fund from my hot wallet will pay them instantly.

Can someone explian?
39  Bitcoin / Electrum / Re: Why am I receiving a negative? - electrum on: November 04, 2018, 02:38:54 PM
the outgoing transaction is for 0.000016 not 0.00001. those 0.00001 transactions are incoming ones.

my head is spinning really fast now.  Huh Huh Huh Undecided

can you post the txid with the -0.000016 amount?
I just want to make sure that my previous post is correct on the situation
it was based on the assumption that you are sending all utxo back to your own wallet

here it is https://www.blockchain.com/btc/tx/c05e6d83a7891c997f906666ecb512f8448df7f2c2940f1a2001ea61b6fd6533

what makes me more confuse is, estimated btc transacted is zero.
40  Bitcoin / Electrum / Re: Why am I receiving a negative? - electrum on: November 03, 2018, 04:14:53 PM
the outgoing transaction is for 0.000016 not 0.00001. those 0.00001 transactions are incoming ones.

my head is spinning really fast now.  Huh Huh Huh Undecided
Pages: « 1 [2] 3 4 5 6 7 8 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!