Skip to content

Commit 6760e09

Browse files
committed
Bug & doc fixes.
- Fix missing TTL bug. - Tidy up readme slightly.
1 parent dcb4073 commit 6760e09

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
PseudoNode 0.5
2-
==============
1+
PseudoNode 0.5.0
2+
================
33

4-
When is a full node a full node?
4+
PseudoNode is a cryptocurrency full node "emulator".
55

6-
PseudoNode is a proof-of-concept cryptocurrency full node "emulator". On the
7-
network, PseudoNode behaves the same way as a normal full node by relaying
8-
transactions, blocks, addresses, etc., etc. However, unlike a normal full
6+
To the network, PseudoNode behaves the same way as a full node by relaying
7+
transactions, blocks, addresses, etc. However, unlike a normal full
98
node, PseudoNode does *not* verify data (txs & blocks) itself. Rather,
109
PseudoNode relies on neighboring peers (with configurable confidence levels)
1110
to do the verification on PseudoNode's behalf. As a result, PseudoNode is

pseudo_node.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ static void pend_fetch(uint256_t hsh, uint32_t type, bool sync, uint64_t nonce,
14851485
return; // Give up...
14861486
struct fetch *req = (struct fetch *)mem_alloc(sizeof(struct fetch));
14871487
req->time = time(NULL) + 10;
1488-
req->ttl = 3;
1488+
req->ttl = ttl;
14891489
req->nonce = nonce;
14901490
req->sync = sync;
14911491
req->type = type;

0 commit comments

Comments
 (0)