55 Commits (working-state)
 

Author SHA1 Message Date
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
Garrett Mills 887a2afe77
Fix reference client implementation - swapped hash gen
3 years ago
Garrett Mills 0cb38027a1
Add reference client implementation for testing
3 years ago
Garrett Mills 67fd01c9e9
Update libraries
3 years ago
Garrett Mills 6043f0de46
Remove unnecessary ORM code
3 years ago
Garrett Mills 3fa360a96b
Update libraries
3 years ago
Garrett Mills 7e15291806
Add API endpoint for testing transaction
3 years ago
QiTao Weng 5ae20e945f Reformat
3 years ago
QiTao Weng 025bc58869 Added signing for genesis block
3 years ago
Garrett Mills 9e4821c296
Add timestamps to block interfaces and clean up genesis block generation
3 years ago
Garrett Mills 5dc6db0b8e
Add support for checking for genesis block
3 years ago
Garrett Mills c067216af3
Clean up and add comments
3 years ago
Garrett Mills 3b7e72adab
Add Blockchain.submitTransactions
3 years ago
QiTao Weng 6441a5cad7 Implemented proof of work
3 years ago
Garrett Mills 33f34d733b
Add proof property to block interface
3 years ago
Garrett Mills 27e161ed44
Add config passthrough for GPG keys
3 years ago
Garrett Mills 29f9fe9f1f
Implement basic chain validation and stub PoW
3 years ago
QiTao Weng 289f184b4d Submit transaction and remove from database
3 years ago
Garrett Mills 16ebe6158a
Add firebaseID to interface
3 years ago
Garrett Mills f797cd0e25
Include firebase ID on resource
3 years ago
QiTao Weng e569841356 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main
3 years ago
QiTao Weng 172a088e4a Implemented transaction verification check
3 years ago
Garrett Mills df8584f4b8
Add basic block object interfaces
3 years ago
Garrett Mills 5734863c7a
Add firebase collection and transaction item
3 years ago
Garrett Mills b81e571901
Add firebase user auth middleware
3 years ago