Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
add deps
Browse files Browse the repository at this point in the history
  • Loading branch information
musalbas committed Apr 5, 2019
1 parent 54092d8 commit 845f8d9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 14 deletions.
41 changes: 29 additions & 12 deletions app_currency.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app_currency.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ message CurrencyTransaction {
required bytes from = 2;
required uint64 amount = 3;
required bytes signature = 4;
repeated bytes dependencies = 5;
}

message CurrencyTransactionMessage {
required bytes to = 1;
required uint64 amount = 2;
repeated bytes dependencies = 3;
}
4 changes: 2 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package lazyledger

const namespaceSize = 32
const flagSize = 64
const namespaceSize = 8
const flagSize = 16

var codedNamespace [namespaceSize]byte
var codedFlag [flagSize]byte
Expand Down

0 comments on commit 845f8d9

Please sign in to comment.