Hot answers tagged

8 votes
Accepted

How does one checks which customer made a payment?

Do you really care which customer paid, or do you care which bill was paid? Say you have customers Anna and Bob, who both order something. Bob notices he's out of money, so Anna says she'll pay for ...
Pieter Wuille's user avatar
6 votes
Accepted

How can I recognize a bitcoin transaction from a given person?

It would be possible if you can generate multiple receiving address for each transaction. That can be done using your public and private keys. Give each user a separate address of yours. Then you ...
jgm's user avatar
  • 758
6 votes
Accepted

Is signature/private-key required to accept payment over Lightning Network?

Yes invoices are signed according to bolt 11. One reason we do this is to fight dos attacks. If I would not have to sign my invoice I could create an Invoice for any node. That node would not have the ...
Rene Pickhardt's user avatar
5 votes

How does one checks which customer made a payment?

The payer's identity is often irrelevant in Bitcoin payments. The important check is that the payment was authorized by the owner. In Bitcoin, whoever controls the private key owns the funds, and ...
Murch's user avatar
  • 72.6k
5 votes
Accepted

In LN, how could a payer prove to 3rd party that he indeedly made a payment to the payee?

In lightning the receiver of the money comes up with a random secret and comits to it via the payment hash. Once all the hashed time lock contracts (htlcs) are set up along a path through the network ...
Rene Pickhardt's user avatar
5 votes
Accepted

Is it possible to assign a single "from" and a single "to" address to Bitcoin transactions?

No, Bitcoin transactions cannot be cleanly projected on a single "from address" or a single "to address". Bitcoin can facilitate many payments in a single transaction and there may ...
Murch's user avatar
  • 72.6k
4 votes
Accepted

Transact Bitcoin with no internet

To transact in Bitcoin you will need to broadcast the transaction to the Bitcoin network. At this time an internet connection on your phone is going to be a requirement, a wifi hotspot at the cafe is ...
Dustin Butler's user avatar
4 votes

Whats the use of QR-codes during wallet to wallet transfer?

The QR code is simply a convenient way of sharing an address, to avoid having to type it. It encodes exactly the same information as the alphanumeric address and provides no additional security. If ...
Nate Eldredge's user avatar
4 votes

What happens when the sent amount doesn't match the payment request exactly?

There are no rules. Once you share an address with someone, they can send arbitrary amounts of bitcoin to that address. They can also send further transactions to that address any time in the ...
Nate Eldredge's user avatar
4 votes

What's the advantage of using bitcoin to buy coffee?

There are billions of people that don't have access to credit cards and banking facilities that the privileged people take for granted. There are also people that get into financial trouble and lose ...
John Singh's user avatar
4 votes
Accepted

How to read a transaction from a block? Who paid whom?

When you send a Bitcoin transaction, your wallet software will use one or more existing Unspent Transaction Outputs (UTXO) to fund the transaction. The transaction will then specify the new owners of ...
Murch's user avatar
  • 72.6k
4 votes

What happens when a request expires in Electrum, then I am paid?

Your wallet will receive the Bitcoin. Your wallet is still watching for transactions to that address and will be able to receive Bitcoin at that address at any point in time. The expiration is only ...
Andrew Chow's user avatar
  • 68.5k
4 votes

Blockchain.com payments

Yes, this is a common process used by scammers. It ends up in you paying them lots to withdraw your money that has never been yours without receiving even 1 cent from them. Don't write to them but ...
MCCCS's user avatar
  • 10.1k
4 votes
Accepted

Trusting only the proof of work to receive payments

That's certainly possible, but this type of validation is called "lightweight verification" or "simplified payment verification" (SPV). There are several wallet implementations ...
Pieter Wuille's user avatar
3 votes
Accepted

How can I detect which customer has made a payment using only one receiving address?

You said you can't create new addresses on the fly but you also said you're using PHP. It's really easy to do it, just take a look at bitwasp/bitcoin-lib and give out a new address for every purchase. ...
UTF-8's user avatar
  • 3,224
3 votes

How does one checks which customer made a payment?

Different orders have different Bitcoin payment addresses. The order is paid when the address in question receives the requested amount of Bitcoins.
Mikko Ohtamaa's user avatar
3 votes

What is the largest company that has ceased accepting fiat payments in favor of Bitcoin?

The largest company that accepts Bitcoin, and no longer accepts fiat, is BackPage. However they didn't stop accepting fiat of their own choice, but because Visa and MasterCard blocked them from ...
Кира Кисловская's user avatar
3 votes
Accepted

Offline payments with Android wallet

You can simply send the signed transaction to the other entity (e.g. via Bluetooth) who then can send it to the Bitcoin network. The transaction doesn't need to be sent to the Bitcoin network by you, ...
UTF-8's user avatar
  • 3,224
3 votes

Is there any protection against receiver's address masquerading attack?

Bitcoin provides no protection against such attacks. It is up to each user to verify that an address belongs to the person they really want to send money to.
Nate Eldredge's user avatar
3 votes

How do I pay Utility Bills anonymously with Bitcoin?

If you are in canada, Bylls.com is exactly what you are looking for. It is for Canadians only though.
user55955's user avatar
3 votes
Accepted

Is possible specify who can send bitcoins to me?

Not possible. Anyone who can spend a utxo can create a transaction sending those coins to any address, or any script, that they wish. There is no way to forbid people from sending coins to your ...
Nate Eldredge's user avatar
3 votes
Accepted

Why would apps use Lightning over an on-chain TX?

I think these are two questions. 1.) Why charge with lightning in real time instead of once? I guess the main reason would be the convenience for the consumer. It is much nicer if I don't continue ...
Rene Pickhardt's user avatar
3 votes

Can a Lightning channel's initial BTC value be updated?

Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you ...
Rene Pickhardt's user avatar
3 votes

Throughput of Lightning Network

as explained here I showed that the betweeness centrality of a node on the fee graph is proportional to the expected routing fees which again is proportional to the throughput of your node. So ...
Rene Pickhardt's user avatar
3 votes

How can I get more than 1 BTC on testnet?

There are no exchanges or services which sell testnet which I know of. Instead of purchasing directly, mining hardware can be borrowed or rented to directly mine testnet coins. CPU mining is no longer ...
Dave's user avatar
  • 216
3 votes

How to add money

Bitcoin is like cash, you can only spend it if you have some already. Since the Bitcoin network doesn't transfer dollars or other government currencies, but sends bitcoins, you cannot just link up a ...
Murch's user avatar
  • 72.6k
3 votes
Accepted

Rationale behind accepting btc as a mode of payment?

Sending a Bitcoin payment incurs a fee relative to the weight of the transaction. Every transaction must have at least one input and one output. Assuming a minimal transaction weight for either, it ...
Murch's user avatar
  • 72.6k
3 votes

Is it possible to cancel a lightning invoice?

Yes. The payments on the Lightning Network are necessarily interactive, therefore the payee can just refuse the incoming payment. Invoices are configured with an expiration date, such as the sender's ...
Antoine Poinsot's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible