This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature: Add solidification stage to pipeline and only broadcast solid transactions #1646
base: dev
Are you sure you want to change the base?
Feature: Add solidification stage to pipeline and only broadcast solid transactions #1646
Changes from 4 commits
53ea166
be7c132
6593388
33f193f
ff58495
1a0ea43
ad3a203
2283fb0
24e31a5
03590dd
06242eb
1ec3794
bc5897f
62a2330
9fc4cba
ccca691
f0c1955
fa72acc
c3b1417
1538b36
a34c5e8
14e784d
89ec550
8801ef2
26b9521
16170cf
7e34c91
778c833
0b61c89
1a2d950
864c2db
4bfb138
d623d1d
48258b1
1cde4bf
6543981
7b4d3c5
5e0a974
f86fe55
de08907
4086fce
b16c752
f5de8fe
30f226e
303648b
7e36e1c
eb53b2f
0409d3e
1b5294a
ab6e628
839d9cb
031180b
f61e6ff
6e0a383
4126903
ff4a13c
5bd3066
10baada
4327b10
092cfa5
cc220b0
82359a7
7adfdc5
d3baeee
ffea048
0f29416
0084b48
4664000
cc5e8b8
d488a1d
9ad4886
9ab2a7d
5663d30
b2cb269
31223b3
ea3bbf8
e4feaf6
059e7e4
7528b22
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if I understand correctly, you still add transactions that are not solid...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@galrogo Just to address this comment and subsequently issue #1512, currently transaction requests are dependent on broadcasting, so if you do not broadcast unsolid transactions, you will never send a transaction request. So it is necessary to pass on transactions before they are solid in the current framework. May be worth discussing a new method of transaction requesting from neighbours to avoid this dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just broadcast random solid tips like before?
I guess moving on to the new messages that were developed for hornet will solve this problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, you implemented my suggestion above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you say before are you referring to before the refactor? Because as is, after a transaction is placed into the solidifier, the solidify stage will fetch a random solid tip and broadcast it. If the tip is not solid the pipeline goes straight to
FINISH
instead. As it was before it was:Transaction -> Pre-Processing -> Hashing/Validation -> Received (store) -> Broadcast (pass transaction on before verification of solidity) -> Finish
But now it would be:
Transaction -> Pre-Processing -> Hashing/Validation -> Received (store) -> Solidify (check if solid, if so pass on to broadcast, if not, place in solidification queue and fetch random tip for broadcasting) -> Broadcast -> Finish
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DyrellC, marking this as point to discuss before merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never mind, I am good