pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
114 stars 28 forks source link

Update bitcoin code #121

Closed andyoknen closed 1 year ago

lostystyg commented 2 years ago

Notes

Commits:

Workflow:

Progress:

Currently there are critical issues (generally could be found by searching "losty-critical" in codebase) that should be resolved before testing stage:

Testing stage issues:

Other issues:

tawmaz commented 2 years ago

One request I would have is to port the refactored utility functions from bitcoin in src/util (https://github.com/bitcoin/bitcoin/tree/0.21/src/util). These often present conflicts when trying to port over or compare code from Bitcoin and they are typically are OS helper functions which do not need to be modified for Pocketcoin. There has been a lot of refactoring to clean up these functions over what we have now in util.h/util.cpp. Perhaps this part could be split out to it's own task.

lostystyg commented 2 years ago

@tawmaz all source code has been already ported, check #156

lostystyg commented 2 years ago

It seems like node is performing very good on testnet. Staking, new logic of accessing transaction from sqlite, validating blocks and more is working without errors. Next stage is trying to use frontend on updated node.

lostystyg commented 2 years ago

Node is fully usable with frontend on testnet. This had required to fix some rpc methods (typo in name or something like that). I think there will be further issues with rpc but they are all one-second-fixable and they only need to be noticed to fix them. I have started sync in main net with blocksonly=1 and listen=0, will update this issue with results.

andyoknen commented 2 years ago

I can ask our testers to check the functionality of the node from different sides - can you ensure its operation 24/7 or do you need to allocate one of the test servers in the cloud?

lostystyg commented 2 years ago

I can ask our testers to check the functionality of the node from different sides

I think it is not necessary to do this right now because we are targeting 0.21 only after 0.20.19 and there will be a lot other things for testers to check instead of spending time on this "pre-alpha". Also there are still things that i can test myself and i can do this with my personal node without cloud even that i can't run it 24/7. I suggest involve testers afterwards when we will have time for this and i would have already performed basic testing. However, it is good idea and if it won't distract anyone from other useful tasks, i would prefer cloud server.

andyoknen commented 2 years ago

I support it, we will start testing later

SSLvzaimodaystvie1 commented 2 years ago

Извините по ходу мне, здесь не комфортно ключевое слово, вчерашней проблемы. Заблудился хочу выполнить требование обновиться, а где это чудесное для "чайников" место, не ужели на газовой плите!? И нам опять к Адольфу на поклон, что бы он о бабушке своей, не так сильно переживал, в среде "чайников" в обновлениях открытых дорог, в светлое будущие приятного и комфортного общения Яндекс с каналом Кью, передразнивает "Кинд дзадзу" с приветствием "КУ". Простите великодушно, за отвлечение ВАС от серьёзной задачи, в процесс разрешения которой я так нелепо попал. Где выход к обновлению, сегодня последний день или меня в очередной раз ввели в блуд!?

lostystyg commented 1 year ago

The update has been finished. See 0.21 branch history for details.