79 Commits (main)
 

Author SHA1 Message Date
QiTao Weng a701d4c3b9 Add exposure check endpoint and made check blocks external
3 years ago
Garrett Mills 27c6619d8a
Fix incorrect path to data
3 years ago
Garrett Mills d8da4e012f
Debug fetch requests
3 years ago
Garrett Mills 5555d63f5d
Better debugging for network access
3 years ago
Garrett Mills 63a172209c
Add debug output
3 years ago
Garrett Mills 7fcde77bbe
Replace axios with node-fetch
3 years ago
Garrett Mills 327d1a6ebd
Fix transaction deletion
3 years ago
QiTao Weng b8bf02bc12 Forgot to stop putting transaction back
3 years ago
QiTao Weng 4d687efa76 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main
3 years ago
QiTao Weng 52132e3bd0 Modify removal of transaction
3 years ago
Garrett Mills eb0da4a28a
Remove debugging
3 years ago
QiTao Weng 3cb0a91d2a Fix param in remove exposure
3 years ago
QiTao Weng 105e460812 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main
3 years ago
QiTao Weng c66baddc50 Added ability to remove exposure
3 years ago
Garrett Mills 546663901a
Implement longest-block consensus algo
3 years ago
Garrett Mills 0580d2274f
Fid Blockchain.validate for genesis blocks
3 years ago
Garrett Mills 0cb78fef35
Comments and fix to registerPeer()
3 years ago
QiTao Weng 942d175495 Added removal of transactions on submit for new version
3 years ago
Garrett Mills 8745dc8b2b
Account for null chain from database
3 years ago
Garrett Mills b68c961046
Increase block times for testing
3 years ago
Garrett Mills 6f24822a5a
Start refactor to improve concurrent performance
3 years ago
Garrett Mills d8e7a85122
Reduce locking on block ref
3 years ago
Garrett Mills d79d0f38f4
Convert on subscriptions to once for FirebaseResource
3 years ago
Garrett Mills 78287fcc2a
Make logging of locks more descriptive
3 years ago
Garrett Mills d07feccd14
Exchance transaction for set() in Blockchain
3 years ago
Garrett Mills 0a512170cc
Reduce proof-of-time-elapsed waiting time
3 years ago
Garrett Mills 323c9408a0
Remove date fiddley bits
3 years ago
Garrett Mills 1a114d5e8d
Break refresh cycle
3 years ago
Garrett Mills 0aac7161df
Prevent circular refresh from peer-triggered refresh
3 years ago
Garrett Mills 8b3905fd5c
Responsible bug fixes
3 years ago
Garrett Mills 70aa8c6a5e
Add trylock for push and fix seqID generation bugs
3 years ago
Garrett Mills 092f3d49f1
Force trylock to write description to rtdb
3 years ago
Garrett Mills 1423e1961e
Properly trylock consensus DB writes
3 years ago
Garrett Mills f072d81b5f
Wrap complex push in trylock
3 years ago
Garrett Mills 1bba0a18ec
Lovely band-aids
3 years ago
Garrett Mills 313fdb65e9
Basic infrastructure for remote peering
3 years ago
QiTao Weng 46131e2219 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main
3 years ago
QiTao Weng 377cc81093 Added server token verification
3 years ago
Garrett Mills 8f34fd3be0
Add time-based penalty system for repeat block-pushers
3 years ago
Garrett Mills 9e4164632c
Add proof-of-elapsed-time based consensus algorithm
3 years ago
QiTao Weng fbc3711560 Added check api to retrieve blocks for certain timeframe
3 years ago
Garrett Mills 71b4fefef7
Comment
3 years ago
Garrett Mills a3c60a1951
Fix logic for validating blockchain and expose debugging endpoint
3 years ago
Garrett Mills f0005a9ed3
Add exposure notification example to reference implementation
3 years ago
Garrett Mills d8cae0f559
Add realtime subscription and debug endpoint for pushing exposure notifications to chain
3 years ago
Garrett Mills 69c441ba56
Make realtime database concurrency-safe using mutex-style locking
3 years ago
Garrett Mills 5f3a1940e5
Add /api/v1/chain endpoint to read blockchain
3 years ago
Garrett Mills f0570a6101
Comment all the things and remove unnecessary files
3 years ago
Garrett Mills 6ba038e4bf
Clean up transaction logging logic for encounters
3 years ago
Garrett Mills 934b322835
Update reference client implementation to make requests to test endpoint
3 years ago