Skip to content

Commit

Permalink
Added protocol handling for pitData (new TIV implementation).
Browse files Browse the repository at this point in the history
Updated gitignore to skip .vs folder.
  • Loading branch information
ashkante committed Feb 12, 2020
1 parent 277a3ec commit c04c079
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/IxianLiteWallet/.vs/IxianLiteWallet/v15
/IxianLiteWallet/bin/
/IxianLiteWallet/packages
/IxianLiteWallet/.vs/
6 changes: 6 additions & 0 deletions IxianLiteWallet/Network/NetworkProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ public static void parseProtocolMessage(ProtocolMessageCode code, byte[] data, R
}
break;

case ProtocolMessageCode.pitData:
{
Node.tiv.receivedPIT(data, endpoint);
}
break;

case ProtocolMessageCode.newTransaction:
{
Transaction tx = new Transaction(data, true);
Expand Down

0 comments on commit c04c079

Please sign in to comment.