Skip to main content
added 4 characters in body; edited tags; edited title
Source Link
Stéphane Gimenez
  • 5.1k
  • 3
  • 33
  • 38

Why does the Satoshi client does not use blocking synchronous communication with peers?

Why does the Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

I mean after a node sends out a request, it waits for the response in a blocking manner, with a timeout deadline. After the response has arrived, it starts to send the next request. Doesn't this way have better control of communication context?

Why Satoshi client does not use blocking synchronous communication with peers?

Why Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

I mean after a node sends out a request, it waits for the response in a blocking manner, with a timeout deadline. After the response has arrived, it starts to send the next request. Doesn't this way have better control of communication context?

Why does the Satoshi client not use blocking synchronous communication with peers?

Why does the Satoshi client not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

I mean after a node sends out a request, it waits for the response in a blocking manner, with a timeout deadline. After the response has arrived, it starts to send the next request. Doesn't this way have better control of communication context?

Tweeted twitter.com/#!/StackBitcoin/status/427977628705128448
added 248 characters in body
Source Link

Why Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

I mean after a node sends out a request, it waits for the response in a blocking manner, with a timeout deadline. After the response has arrived, it starts to send the next request. Doesn't this way have better control of communication context?

Why Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

Why Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.

I mean after a node sends out a request, it waits for the response in a blocking manner, with a timeout deadline. After the response has arrived, it starts to send the next request. Doesn't this way have better control of communication context?

Source Link

Why Satoshi client does not use blocking synchronous communication with peers?

Why Satoshi client does not use blocking synchronous communication with peers? I think that is mush simpler than the current asynchronous scheme.