Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: VelhoDoRio on October 21, 2017, 04:17:02 PM



Title: Full node validating tx?
Post by: VelhoDoRio on October 21, 2017, 04:17:02 PM
I'm using linux and my server doesn't have X running.

My full node runs with the following command:

Code:
bitcoind -daemon -disablewallet

I'm still validating tx and enforcing the network rules?

And at the time that lighting network goes online I have to run a wallet with some bitcoin to make PoS on lighting network?

Running my node like this will work on lightning network?

Code:
bitcoind -daemon

My concern if running a full node without a wallet still validates tx and enforcing the network rules, or I'm just keeping a backup of the blockchain?




Title: Re: Full node validating tx?
Post by: ranochigo on October 21, 2017, 05:12:37 PM
My full node runs with the following command:

Code:
bitcoind -daemon -disablewallet

Code:
bitcoind -daemon

My concern if running a full node without a wallet still validates tx and enforcing the network rules, or I'm just keeping a backup of the blockchain?
Yes. The disable wallet functionality basically just prevents you from using the wallet tools; getbalance etc.

As long as you are relaying transactions and blocks, you are validating them.


Title: Re: Full node validating tx?
Post by: VelhoDoRio on October 21, 2017, 07:39:51 PM
Thanks!
Skipping the GUI and use less cores on bitcoin.conf make possible to a RPi3 run a full node.
And if you download the blockchain previous using a desktop is even faster and less resource demanding. 


Title: Re: Full node validating tx?
Post by: aleksej996 on October 22, 2017, 09:20:57 AM
And at the time that lighting network goes online I have to run a wallet with some bitcoin to make PoS on lighting network?

Running my node like this will work on lightning network?

Lightning network is not going to be added any time soon to Bitcoin Core, as far as I know. Guys that came up with it are developing a client for lightning network called lnd, that will have to be run along side the Bitcoin client. They also made a full node client with segwit support and light client as a back-end for lnd. I am not sure if you will be able to use Core as a back-end, but I hope so. Either way, their full node client doesn't have wallet functionality, so wallet is not necessary for that.

Also there is no PoS in the Lightning network, that wouldn't be safe and could lead to centralization. LN just uses special Bitcoin transactions that it doesn't publish on the blockchain in a safe way that a double spend is not easy and can lead to loss of funds, as opening of a channel requires a form of security deposit. You can read more about it in this 3 part article https://bitcoinmagazine.com/articles/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791/ (https://bitcoinmagazine.com/articles/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791/)