Author

Topic: Payment notifications on SPV (Read 648 times)

legendary
Activity: 1526
Merit: 1134
February 18, 2013, 04:41:42 AM
#5
What do you mean with: "the wallet doesn't scale all that well".

For instance, it has to be held in RAM. Right now there's no way (without modifying the code a lot) to hold a huge wallet in a database.

Even if there was, the wallet code is written for simplicity and correctness, not speed. It has a bunch of quadratic and worse algorithms in it. So if you have a giant wallet creating spends would take a long time, things like that.

Nothing that can't be fixed, it's just not been a priority.
legendary
Activity: 1896
Merit: 1353
February 18, 2013, 03:34:48 AM
#4
Electrum has a merchant script that does that.
checkout scripts/merchant.py
https://github.com/spesmilo/electrum/tree/master/scripts
sr. member
Activity: 426
Merit: 250
February 18, 2013, 02:58:13 AM
#3
What do you mean with: "the wallet doesn't scale all that well".
legendary
Activity: 1526
Merit: 1134
February 18, 2013, 02:39:31 AM
#2
This is a common request. There's no out of the box way to do it but if you want to help build one I'll help you with the design work. Right now bitcoinj is quite mobile focused and the wallet doesn't scale all that well. Somebody stepping up to make it work better for the "nano merchant" use case would be appreciated.
sr. member
Activity: 369
Merit: 250
February 17, 2013, 11:00:35 PM
#1
I'd like to set up bitcoin payment notifcations but my VPS cannot run the bitcoind full daemon.  Is it possible to run a SPV client as a daemon/cli process to provide payment notifications with a small process footprint?  BitcoinJ looks like the library of choice but I cannot find any daemon/cli implementation of it.

I realise there are many payment notifcation providers and I will probably give them a try. But running my own SPV daemon would remove that dependancy.

Cheers
Jump to: