Malte Kraus
|
b666474c36
implement transaction fees
|
8 жил өмнө |
Malte Kraus
|
b974681130
add logging import to tests
|
8 жил өмнө |
Malte Kraus
|
0500290a97
stop mining in protocol test even if an error occurs
|
8 жил өмнө |
Malte Kraus
|
94ebc182a1
avoid race condition for validity checking in protocol test
|
8 жил өмнө |
Malte Kraus
|
bc9decda1d
only monkey-patch the proof of work for the duration of the verificatin test cases
|
8 жил өмнө |
Malte Kraus
|
7b7cd4e7cd
verify the height of blocks
|
8 жил өмнө |
Malte Kraus
|
508c3ff9c5
avoid validation warnings when genesis block is sent over the network
|
8 жил өмнө |
Malte Kraus
|
dcbe795044
implement basic wallet functionality
|
8 жил өмнө |
Malte Kraus
|
eb31cfe6da
fix JSON serialization in protocol
|
8 жил өмнө |
Malte Kraus
|
2c36aaabfd
add a Signing.has_private flag
|
8 жил өмнө |
Malte Kraus
|
4d104a0803
add a Signing.from_file factory function
|
8 жил өмнө |
Malte Kraus
|
bb3e2b624b
add JSON conversion functions to Signing and TransactionInput
|
8 жил өмнө |
Malte Kraus
|
4323dfad7e
have the block chain keep track of unspent coins (for more efficient accesses)
|
8 жил өмнө |
Malte Kraus
|
f06274515c
make _int_to_bytes handle negative values properly
|
8 жил өмнө |
Malte Kraus
|
793c588ba4
make failing tests actually fail
|
8 жил өмнө |
Malte Kraus
|
cfd267ad8a
avoid money created out of thin air
|
8 жил өмнө |
Malte Kraus
|
37241163b3
fix key comparison in src.crypto.Signing
|
8 жил өмнө |
Malte Kraus
|
5ad7b0cc6f
get sphinx to properly interpret type hints
|
8 жил өмнө |
Malte Kraus
|
709f797647
fix type hint in _verify_single_sig
|
8 жил өмнө |
Malte Kraus
|
6699e44225
encode timestamp float as 8 byte little endian in hash
|
8 жил өмнө |
Malte Kraus
|
b22e599a10
make sure that objects are definitely hashed to unique values
|
8 жил өмнө |
Malte Kraus
|
5c4afaa0ea
properly stop miner in stop_mining(), use condition variable instead of busy waiting
|
8 жил өмнө |
Malte Kraus
|
bd2d844afe
hash raw bytes of integers, not their string representations
|
8 жил өмнө |
Malte Kraus
|
5e67f8ce47
use pytest for testing
|
8 жил өмнө |
Malte Kraus
|
c02f887982
document everything
|
8 жил өмнө |
Malte Kraus
|
ff0a23e251
add option to print the connected peers to the wallet
|
8 жил өмнө |
Malte Kraus
|
d5db126211
start implementing a wallet
|
8 жил өмнө |
Malte Kraus
|
c1b72924bf
cache transaction hash value once it is computed
|
8 жил өмнө |
Malte Kraus
|
a498bbcd8e
add tests checking double spends are not allowed
|
8 жил өмнө |
Malte Kraus
|
20b99cbc15
add logging for verification issues
|
8 жил өмнө |