I rewrote the transaction file to not use classes for everything, since it's unnecessary and OOP in JS can lead to problems that would otherwise be avoided.
What's still needed
From #15
DB support -- I use a mock for testing
Hashing -- even though it's a oneliner, I think it's best added in #15, but can commit it here if you want. It's used for DB interfacing.
What works
Transaction type and all other relevant data types
Tx validation according to spec
Tx gossiping -- although it will require #15 to work properly!
closes #16
Big PR, go commit by commit.
I rewrote the transaction file to not use classes for everything, since it's unnecessary and OOP in JS can lead to problems that would otherwise be avoided.
What's still needed
From #15
What works
Transaction
type and all other relevant data types