aboutsummaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: place guy files under network directoriesYigit Sever2022-04-261-38/+43
| | | | | | | | | | guy files were getting written in the correct directory but were getting updated on the parent directory (/users) this moves the "update guy file" logic to its own function so this sort of thing doesn't happen again writing blocks to disk got moved to its own function as well
* Implement gas feeYigit Sever2022-04-251-48/+105
|
* Add new endpoint /versionYigit Sever2022-04-251-0/+13
| | | | | | Use this endpoint to compare the live version to the version on vcs From here on, the version should be updated regularly as well
* Separate duplicate tx check from tx idsYigit Sever2022-04-231-15/+18
| | | | Use source and target instead
* Add timestamp to transaction fingerprint hashYigit Sever2022-04-231-1/+1
| | | | | This should include some randomness and prevent someone just simulating the whole chain on their own
* Add temporary clippy allowsYigit Sever2022-04-231-0/+3
|
* Format, refactor, succinct errorsYigit Sever2022-04-231-51/+68
|
* Print the name of the config in warn logsnecrashter2022-04-231-4/+4
|
* Configurable hash zero hexadecimal character countnecrashter2022-04-231-5/+10
|
* GET /config endpointnecrashter2022-04-231-0/+6
|
* Save different networks to different foldersnecrashter2022-04-231-2/+5
|
* Remove constants in handlers, use db.confignecrashter2022-04-231-22/+13
|
* Add logging to coinbase rewardsYigit Sever2022-04-231-0/+1
|
* Fix coinbase block rewardsnecrashter2022-04-231-5/+5
|
* add the forgotten `mut` to variable holdingOzan Akın2022-04-181-1/+1
|
* fix overwriting the reciprocated transaction during block acceptanceOzan Akın2022-04-181-1/+1
|
* final touches for 2022 springYigit Sever2022-04-161-19/+17
|
* [WIP] first part of lazy users overhaulYigit Sever2022-04-151-4/+5
|
* [WIP] more spring cleaningYigit Sever2022-04-111-9/+0
|
* [WIP] Spring cleaningYigit Sever2022-04-111-83/+75
|
* Implements stakingYağız Şenal2021-09-081-2/+11
|
* Lazyload the private keyYigit Sever2021-05-101-16/+17
|
* Invalid sig. more errorYigit Sever2021-05-061-1/+1
|
* Bot tx bugfixYigit Sever2021-05-051-1/+10
|
* MORE ERROR MESSAGEsYigit Sever2021-05-051-1/+1
|
* Add verbose error messageYigit Sever2021-05-041-1/+4
|
* Increase tx limit, decrease block sizeYigit Sever2021-05-011-4/+4
| | | | Thank you Abdelrahman Abounegm for suggestions
* No empty txs anymoreYigit Sever2021-04-271-4/+8
|
* Write guys to fileYigit Sever2021-04-261-7/+25
|
* fix coinbaseYigit Sever2021-04-261-7/+7
|
* Increase block capacityYigit Sever2021-04-261-1/+1
|
* BugfixYigit Sever2021-04-261-0/+12
|
* Implement nicenetYigit Sever2021-04-251-150/+236
| | | | | | | - There are bot accounts that return what you sent them - Sending a transaction generates some coin out of thin air - No more one tx per person per block limit - Unused transactions do not disappear anymore
* Better error messages in authYigit Sever2021-04-231-6/+16
|
* Change block proposal, fix testsYigit Sever2021-04-201-6/+7
|
* BugfixYigit Sever2021-04-201-6/+6
| | | | Users cannot authenticate twice now
* BugfixYigit Sever2021-04-191-4/+26
| | | | | It was possible (and hilarious) to mint a new block with just one transaction, by repeating it 5 times, lol
* Transaction hashing should be easierYigit Sever2021-04-181-4/+7
|
* Verbose JWT error message in transactionsYigit Sever2021-04-181-2/+3
|
* Bugfix and useful error messagesYigit Sever2021-04-181-8/+20
|
* New user and verbose JWT errorsYigit Sever2021-04-181-1/+1
|
* Temporarily reduce block limitYigit Sever2021-04-181-1/+1
|
* Fix transaction blocking bugYigit Sever2021-04-181-1/+1
| | | | | | We used to insert transactions by their source field. Then we started using by (actually unique). This bug caused only one bank transaction to exist at any time
* Rename functions and move checksYigit Sever2021-04-171-31/+21
| | | | Proposals are authenticated, no need to parrot
* Implement block/tx boundsYigit Sever2021-04-171-9/+39
|
* Add existing user get supportYigit Sever2021-04-161-9/+20
|
* Passing auth testYigit Sever2021-04-161-5/+4
|
* Almost passsing authYigit Sever2021-04-161-5/+9
|
* work on post auth transaction 201 testalpaylan2021-04-161-4/+1
|
* Merge remote-tracking branch 'origin/main'Yigit Sever2021-04-161-2/+4
|\