Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Anubis13 on January 23, 2014, 09:22:47 PM



Title: Relay transactions and blocks how to and rules
Post by: Anubis13 on January 23, 2014, 09:22:47 PM
I would like to understand more how the network, specially a node decides about which transactions will relay and which blocks and how it does achieve that. Is there something more than the wiki I can read?

Also I have not understood. Messages are the first thing a client does when connection to the network and after it has the info it needs it starts relaying? Also is it possible for a node not to relay blocks and transactions?


Title: Re: Relay transactions and blocks how to and rules
Post by: DannyHamilton on January 27, 2014, 03:51:55 PM
I would like to understand more how the network, specially a node decides about which transactions will relay and which blocks and how it does achieve that. Is there something more than the wiki I can read?

http://bitcoin.org/bitcoin.pdf

Messages are the first thing a client does when connection to the network and after it has the info it needs it starts relaying?

I'm not sure why this detail matters to you.  It would be better to ask about what you actually want to know. How will this information be useful?

If you really want to know, you can look at the source code here:
https://github.com/bitcoin/bitcoin

If you aren't able to read the source code, then again I ask, "Why do you want to know?"

Also is it possible for a node not to relay blocks and transactions?

Yes, but why?


Title: Re: Relay transactions and blocks how to and rules
Post by: Sonny on January 27, 2014, 04:10:21 PM

Also is it possible for a node not to relay blocks and transactions?

Yes, but why?

Maybe someone want to minimize the bandwidth usage?