51 Commits (b8bf02bc12acee78462e364908c4f7063c204a2d)

Author SHA1 Message Date
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 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 1bba0a18ec
Lovely band-aids
3 years ago
Garrett Mills 313fdb65e9
Basic infrastructure for remote peering
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
Garrett Mills a3c60a1951
Fix logic for validating blockchain and expose debugging endpoint
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
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
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