Bitcoin Forum
September 24, 2024, 04:05:54 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 ... 126 »
81  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 13, 2021, 12:10:43 PM
Ah, for libbitcoin-server, it's best if you run the install.sh script.

Something like:
Code:
git clone https://github.com/libbitcoin/libbitcoin-server
cd libbitcoin-server
./install.sh --build-boost --build-zmq --disable-shared --prefix=$HOME/.local

These install scripts are made for easy deployment and a self-contained build process.

Actually i've used the install.sh and follow the guide step by step. I also tried Autotools, but there's error when i run ./configure which says libbitcoin-node is missing. But since you mention different parameter, i'll try it now.

Edit: Although there are many warning (such as "extra ;"), there's no single error. However, i can't find the executable bs even though i check $HOME/.local is on $PATH variable. Using find command, i also can't find the executable on $HOME/.local.

Strange. if this prefix is correct, then the binary should be in $HOME/.local/bin/bs, and the config file should be in $HOME/.local/etc/libbitcoin/bs.cfg
You can run it with the full path, after you configure bs.cfg. If they're not there, then something did error (or you perhaps ran install.sh with another user's privileges so it ended up in a different $HOME, like /root/.local).

If it's not a hassle for you, I can help you out if there's a way for you to share the install.sh build output somehow.

For what it's worth, the autotools is generally the tool that is ran in a standalone context. The install.sh script also downloads all other necessary dependencies, like libbitcoin-system, and libbitcoin-node and does all that for you transparently.
82  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 13, 2021, 11:31:13 AM
Ah, for libbitcoin-server, it's best if you run the install.sh script.

Something like:
Code:
git clone https://github.com/libbitcoin/libbitcoin-server
cd libbitcoin-server
./install.sh --build-boost --build-zmq --disable-shared --prefix=$HOME/.local

These install scripts are made for easy deployment and a self-contained build process.

By the way, if you're interested, also check out libbitcoin-explorer, which is complementary to libbitcoin-server and can be used for querying.
83  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 13, 2021, 10:21:26 AM

Bullish!
What is that device looks awesome?

It's a Raspberry Pi Zero with an eInk screen.
I published the source code here: https://github.com/parazyd/ticker/

And the display is this: https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT

(Cat photo not included)
84  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 13, 2021, 10:11:48 AM


Bullish!
85  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 13, 2021, 09:46:11 AM
Keep in mind that libbitcoin v4 is still not fully finished, but Eric and the community are working on it.

Yeah, the README.md isn't complete and didn't mention that libzmq is required for compiling. libzmq repository shows there's .deb file, but there are dependency problem when i attempt to install it with apt and dpkg. I would rather not risking broke my system right now.

In apt-based distros there is python3-zmq which should do the trick.

EDIT: I added some more notes in the Readme. Thanks for the feedback.
86  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 12, 2021, 05:54:42 PM
Yeah, 1.4 up to 1.4.2., but still a few things need to be finished which I need help with, or just more spare time.

Basically Electrum 3.3.0 and newer are supported, at least according to these
https://github.com/spesmilo/electrum/blob/3.3.0/electrum/version.py#L4
https://github.com/spesmilo/electrum/blob/3.2.4/electrum/version.py#L4

Will do @ setup.py
I've been planning to make such a thing so Obelisk can even be installed with pip.

That's great, i'll try it if i can setup libbitcoin-server without any major problem.

I'm still reading how to setup libbitcoin-server and found out how to make it connect only to my Bitcoin Core client with peer = localhost:8333 on bs.cfg. However, i can't find out how to configure RAM usage and whether HDD will cause bottleneck or not.

Thanks Smiley

Keep in mind that libbitcoin v4 is still not fully finished, but Eric and the community are working on it.
I'm not sure if RAM usage is configurable, but you shouldn't go OOM or something.

I'll try to get some setup.py ready soon. Done.
87  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 11, 2021, 08:33:57 AM
Yeah, 1.4 up to 1.4.2., but still a few things need to be finished which I need help with, or just more spare time.

Will do @ setup.py
I've been planning to make such a thing so Obelisk can even be installed with pip.
88  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 10, 2021, 07:43:27 AM
The eventual next step would be to merge Obelisk directly into Electrum and avoid the server boilerplate.

Do you think it's doable? Sure it would be nice if we could just fire up an Electrum server with a --server switch, but the libbitcoin dependency could be an obstacle to merging. You have to go to the package manager to install deps like Qt5 and libsecp256k1 so the logical thing to do is make sure that it's in distribution's official repositories, and not some PPA or community maintained repo.

libbitcoin is not a direct dependency. Obelisk simply uses zeromq to talk to a libbitcoin server and queries for information.

It is very much doable to have it merged into Electrum, but it will mostly depend on the maintainers and the community to choose if they want to move forward this way or not.
89  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 10, 2021, 06:43:20 AM
Wait we got above 60 finally? Cheesy

Good morning WO! The poll was correct!
90  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 05:44:10 PM
The eventual next step would be to merge Obelisk directly into Electrum and avoid the server boilerplate.
91  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 05:41:17 PM
That one requires Bitcoin Core. All servers like this that use Bitcoin core are inefficient in one way or another Wink

Oh, so how does your Electrum server work then? Where does it get it's blockchain data for the addresses and coins and all those other stuff?

*edit* oh, libbitcoin = is another full node, like Bitcoin Core but different?

Yes, libbitcoin-server is a full node and a query server.

The existing implementations do their separate indexing on top of Core which is extremely inefficient.
libbitcoin is the fastest implementation of Bitcoin and it already indexes everything that is necessary.

You can use your own libbitcoin server or public instances, it's up to the user to choose.
92  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 05:31:08 PM
That one requires Bitcoin Core. All servers like this that use Bitcoin core are inefficient in one way or another Wink
93  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 09, 2021, 04:04:56 PM
Yes that’s always true “Not your keys, Not your coins”

One question how much can we trust these third party wallets then? Specially these wallets on our mobile apps. Although they give us access to the private keys but still can we trust them? I have been using Jaxx. But often I will open my wallet to confirm my coins are still there or some developer of Jaxx have already transferred my funds to some cold wallet :p

Why use Jaxx when Bitcoin for Android and Electrum works? What do these other wallets have? I understand some like Casa and Unchained are multi-signature services but you can also do those on your own.

Does Jaxx publish their source code for the app? Can you compile it yourself and check?

And Electrum have been promising easy multisig for a while. I expect they'll deliver when it's tested appropriately.


Thank you so much guys... I'm using Electrum now.

I have been using iPhone but for my bitcoins today I bought second phone Samsung galaxy S8... just for using Electrum and for the safety of my bitcoins and finally transferred my Jaxx bitcoins to Electrum wallet.

I'm sure bitcoin will pay off this little investment too.

Good stuff Smiley
Today I also just published my implementation of an Electrum server: https://bitcointalk.org/index.php?topic=5329445
94  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 02:45:25 PM
Well it's still a work in progress since the methods for peers and drawing a histogram are stuns.

Histograms can be drawn with matplotlib but I don't think libbitcoin can help with making a list of peers or inserting yourself into other people's peer lists. I wonder how many more lines of Python will that electrum-specific functionality take plus the existing 1000.

The peer stuff is trivial, since it's just about telling other servers about itself, and other servers can be retrieved through DNS seeds.
I didn't implement this yet because I don't really need it, and because I want the code reviewed first.

The mempool fee histogram stuff is deprecated since protocol 1.4.2, so I'll just drop that. The 1.5 protocol is going to have some new additions which I will have to follow up after the spec is written.
95  Bitcoin / Electrum / Re: Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 11:40:39 AM
Since i never use libbitcoin, i'll just give basic feedback,
1. Have you compare the performance with ElectrumX or other Electrum server implementation?
2. AFAIK Electrum have it's own protocol and updated few times, so which Electrum (client wallet) version supported by Obelisk?
3. Is it right to assume Obelisk only support Linux?

1.
I haven't yet. This is something I would appreciate help with, ideally from someone who is experienced in this kind of profiling.

2.
Electrum uses the ElectrumX server protocol as found in https://electrumx-spesmilo.readthedocs.io/en/latest/protocol-methods.html
I followed and implemented the spec.

3.
I develop and use it on Linux, but there should be no blockers to running it on any system that can use Python 3.
96  Bitcoin / Electrum / Obelisk: An Electrum server using libbitcoin on: April 09, 2021, 10:10:26 AM
I've been working on an Electrum server implementation that uses ZeroMQ and libbitcoin as its backend so that I can use Electrum with my libbitcoin node/server.
It is written with using libbitcoin v4 in mind, so with public servers, only testnet is available because v4 is not yet finished, or if you have your own mainnet v4 server, then you can use mainnet.

The code can be found here: https://github.com/parazyd/obelisk

In total, it's about 1000 lines of Python code, which is relatively straightforward. This means it's 10 times smaller than ElectrumX for example.

If you're interested, I'd appreciate some feedback, help, and code review  Cheesy

Happy hacking!
97  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 06, 2021, 06:26:20 PM
So Signal is implementing some random shitcoin https://signal.org/blog/help-us-test-payments-in-signal/ instead of just doing LN or something.

This is sad, but I assume Moxie and folks just want to commit fraud.
98  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 03, 2021, 12:38:11 PM
99  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: April 03, 2021, 08:36:14 AM
Good morning WO!
Observing @ $59541

Each day I wake up a bit closer to 60k Smiley
100  Other / Meta / Re: Introducing NFTs for forum members on: April 01, 2021, 12:39:02 PM
Story of my life

Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 ... 126 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!