public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] What's what with addr relaying?
@ 2015-02-19 11:33 Thy Shizzle
  2015-02-19 11:37 ` Thy Shizzle
  0 siblings, 1 reply; 2+ messages in thread
From: Thy Shizzle @ 2015-02-19 11:33 UTC (permalink / raw)
  To: "bitcoin-development@lists•sourceforge.net" ; 

[-- Attachment #1: Type: text/plain, Size: 1953 bytes --]

 Hi, plugging away at my C# Bitcoin node "Lego.NET" Thashiznets/Lego.NET now I am currently working on addr relaying. I am as we speak wiring up my DB in Azure, and ready to start plopping net_addrs in my DB, all good however I'm reading two different specification docs that seem to be wildly varying. I mean the first one here Developer Reference - Bitcoin didn't mention that version message now has the 4 byte checksum and no time in the net_addrs and I was getting reject malformed messages until I found the other document which informed me we now use the 4 byte checksum in version and no time in the net-addrs in version message. So I solved that and here is the other doco. I have found other variances like one document said that the heartbeat AND disconnect were 30 minutes, but then in the other document I read that Heartbeat is 30 minutes and disconnect is 90 minutes which seems far more sensible so I went with that and modified my code. Is there any other variations between these two spec docos that perhaps some of you devs know about that I need to look out for! Thanks! Shizzle.
|   |
|   |  |   |   |   |   |   |
| Thashiznets/Lego.NETLego.NET - A C# full node for processing the Bitcoin block chain |
|  |
| View on github.com | Preview by Yahoo |
|  |
|   |

  
|   |
|   |  |   |   |   |   |   |
| Developer Reference - BitcoinBETA: This documentation has not been extensively reviewed by Bitcoin experts and so likely contains numerous errors. Please use the Issue and Edit links on the bot... |
|  |
| View on bitcoin.org | Preview by Yahoo |
|  |
|   |

  
|   |
|   |   |   |   |   |
| Satoshi Client Node Discovery - BitcoinContents 1 Overview 2 Handling Message "getaddr" 3 Discovery Methods 3.1 Local Client's External Address 3.2 Connect Callback Address 3.3 IRC Addresses 3.4 DNS Addresses  |
|  |
| View on en.bitcoin.it | Preview by Yahoo |
|  |
|   |

    

[-- Attachment #2: Type: text/html, Size: 24366 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bitcoin-development] What's what with addr relaying?
  2015-02-19 11:33 [Bitcoin-development] What's what with addr relaying? Thy Shizzle
@ 2015-02-19 11:37 ` Thy Shizzle
  0 siblings, 0 replies; 2+ messages in thread
From: Thy Shizzle @ 2015-02-19 11:37 UTC (permalink / raw)
  To: bitcoin-development@lists•sourceforge.net" ; 

[-- Attachment #1: Type: text/plain, Size: 2491 bytes --]

Oh and I realised I stuffed up the subject and it talks about the addr relay but I actually answered my own question on the addr relaying, I had just miss interpreted one document I thought it was talking about subtracting 2 hours before relaying but I see we subtract 2 hours on receipt not relay because the if it hadn't been seen for 60 minutes previously it now becomes 3 hours and we use but don't relay makes sense. 

     On Thursday, 19 February 2015, 22:33, Thy Shizzle <thashiznets@yahoo•com.au> wrote:
   
 

  Hi, plugging away at my C# Bitcoin node "Lego.NET" Thashiznets/Lego.NET now I am currently working on addr relaying. I am as we speak wiring up my DB in Azure, and ready to start plopping net_addrs in my DB, all good however I'm reading two different specification docs that seem to be wildly varying. I mean the first one here Developer Reference - Bitcoin didn't mention that version message now has the 4 byte checksum and no time in the net_addrs and I was getting reject malformed messages until I found the other document which informed me we now use the 4 byte checksum in version and no time in the net-addrs in version message. So I solved that and here is the other doco. I have found other variances like one document said that the heartbeat AND disconnect were 30 minutes, but then in the other document I read that Heartbeat is 30 minutes and disconnect is 90 minutes which seems far more sensible so I went with that and modified my code. Is there any other variations between these two spec docos that perhaps some of you devs know about that I need to look out for! Thanks! Shizzle.
|   |
|   |  |   |   |   |   |   |
| Thashiznets/Lego.NETLego.NET - A C# full node for processing the Bitcoin block chain |
|  |
| View on github.com | Preview by Yahoo |
|  |
|   |

  
|   |
|   |  |   |   |   |   |   |
| Developer Reference - BitcoinBETA: This documentation has not been extensively reviewed by Bitcoin experts and so likely contains numerous errors. Please use the Issue and Edit links on the bot... |
|  |
| View on bitcoin.org | Preview by Yahoo |
|  |
|   |

  
|   |
|   |   |   |   |   |
| Satoshi Client Node Discovery - BitcoinContents 1 Overview 2 Handling Message "getaddr" 3 Discovery Methods 3.1 Local Client's External Address 3.2 Connect Callback Address 3.3 IRC Addresses 3.4 DNS Addresses  |
|  |
| View on en.bitcoin.it | Preview by Yahoo |
|  |
|   |

    

 
   

[-- Attachment #2: Type: text/html, Size: 28450 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-19 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 11:33 [Bitcoin-development] What's what with addr relaying? Thy Shizzle
2015-02-19 11:37 ` Thy Shizzle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox