-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase batch size #1349
Merged
Merged
Increase batch size #1349
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hitenjain14
requested review from
peterlimg,
dabasov and
guruhubb
as code owners
December 31, 2023 16:00
dabasov
approved these changes
Dec 31, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
dabasov
pushed a commit
that referenced
this pull request
Jan 4, 2024
* wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com>
dabasov
added a commit
that referenced
this pull request
Jan 4, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com>
Hitenjain14
added a commit
that referenced
this pull request
Jan 5, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com>
dabasov
added a commit
that referenced
this pull request
Jan 12, 2024
* wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com>
dabasov
added a commit
that referenced
this pull request
Jan 21, 2024
* wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com>
dabasov
pushed a commit
that referenced
this pull request
Jan 21, 2024
* wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com>
dabasov
added a commit
that referenced
this pull request
Jan 21, 2024
* wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com>
dabasov
added a commit
that referenced
this pull request
Jan 22, 2024
* feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com>
dabasov
added a commit
that referenced
this pull request
Feb 8, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * fix req complete cb (#1381) * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com>
dabasov
added a commit
that referenced
this pull request
Feb 10, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * add signature in header * fix lint * add url in sig hash * fix hashData * check verify in v2 * fix req complete cb (#1381) * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * add v2 for sig --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com>
dabasov
added a commit
that referenced
this pull request
Feb 14, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix: change downloadBlocks param: alloc -> allocId * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * fix req complete cb (#1381) * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com>
dabasov
added a commit
that referenced
this pull request
Feb 14, 2024
* add signature in header (#1378) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb7023d93c1601970433089ceea0b0731ba280) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260aa3c2be34fdc0aca58582b27247528333b. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143fe842e6c88fec1a6bc5fa0ced2ca84682) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260aa3c2be34fdc0aca58582b27247528333b. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143fe842e6c88fec1a6bc5fa0ced2ca84682) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bdc4f94b2aeb5eda3ce16f91b4327023654. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260aa3c2be34fdc0aca58582b27247528333b. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143fe842e6c88fec1a6bc5fa0ced2ca84682) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 257188873db1d21ccdb04eb7e5a35ff6ef6d7696) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f52815dcd930f760f20a4c7e3e669d73fb. * Revert "experiment" This reverts commit d4821f8e28c4efce59775129b4f25eaa1df2905d. * Revert "experiment" This reverts commit 9f65b2eef30528662b59482a6c59d6a633f1ff77. * Revert "experiment" This reverts commit 6313cb8a49d211ab8a6c476ca839922be7c31288. * Revert "experiment" This reverts commit b6be0b51767f39cb53a9439c3a34fe2f828b2dfc. * Revert "experiment" This reverts commit 68d41905a3aaf1c094d50f7b418349d7c78663cc. * Revert "experiment" This reverts commit 3a23f3f33b9446cf5711f950b0cd80a40993e429. * Revert "experiment" This reverts commit 6b6578bb857c9e4351db941fc84e65fac0994c15. * Revert "experiment" This reverts commit 65a0152adc10754977a479e09cdb8d577ca8aefb. * Revert "experiment" This reverts commit 6834b058a99bba80621c756292f7f4205b24e936. * Revert "experiment" This reverts commit 8446894c579f5acd14db1b09b5966f92ca1588be. * Revert "hotfix" This reverts commit 48cf793a70f754f44c662d839bdde4e191ec2748. * Revert "hotfix" This reverts commit 895c7f0012837d2f9a0cbfdcddf47f8dbe0d13b7. * Revert "added logging" This reverts commit fafce3c9b90c0863e574a2609a202f962ecb90ac. * Revert "added logging" This reverts commit 10b6a4afbdecc1e8a201d5ac80c4d12f0b97c411. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3edd1a43dce1cfd1a700adcb33fb03a883f9. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f52815dcd930f760f20a4c7e3e669d73fb. * Revert "experiment" This reverts commit d4821f8e28c4efce59775129b4f25eaa1df2905d. * Revert "experiment" This reverts commit 9f65b2eef30528662b59482a6c59d6a633f1ff77. * Revert "experiment" This reverts commit 6313cb8a49d211ab8a6c476ca839922be7c31288. * Revert "experiment" This reverts commit b6be0b51767f39cb53a9439c3a34fe2f828b2dfc. * Revert "experiment" This reverts commit 68d41905a3aaf1c094d50f7b418349d7c78663cc. * Revert "experiment" This reverts commit 3a23f3f33b9446cf5711f950b0cd80a40993e429. * Revert "experiment" This reverts commit 6b6578bb857c9e4351db941fc84e65fac0994c15. * Revert "experiment" This reverts commit 65a0152adc10754977a479e09cdb8d577ca8aefb. * Revert "experiment" This reverts commit 6834b058a99bba80621c756292f7f4205b24e936. * Revert "experiment" This reverts commit 8446894c579f5acd14db1b09b5966f92ca1588be. * Revert "hotfix" This reverts commit 48cf793a70f754f44c662d839bdde4e191ec2748. * Revert "hotfix" This reverts commit 895c7f0012837d2f9a0cbfdcddf47f8dbe0d13b7. * Revert "added logging" This reverts commit fafce3c9b90c0863e574a2609a202f962ecb90ac. * Revert "added logging" This reverts commit 10b6a4afbdecc1e8a201d5ac80c4d12f0b97c411. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb4d669566acc8cfc6e2940170d2da813fa. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * add signature in header * fix lint * add url in sig hash * fix hashData * check verify in v2 * fix req complete cb (#1381) * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * add v2 for sig --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * fix: downloadBlocks wasm error (#1371) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix: change downloadBlocks param: alloc -> allocId * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb7023d93c1601970433089ceea0b0731ba280) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260aa3c2be34fdc0aca58582b27247528333b. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143fe842e6c88fec1a6bc5fa0ced2ca84682) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f25a6ca63d6e205eac418d031bba428eb29. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitl…
dabasov
added a commit
that referenced
this pull request
Feb 22, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * upload chunks in parallel * fix upload wg * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * fix dataBuffers * add logs and dec workers * discard body is status ok * set idle connections * fix lint * fix content type header * fix req complete cb (#1381) * set blocks to 60 and add fasthttp * set updated in progress * rmv in load * fix lint * add mock for fasthttp * cleanup * add worker support * fix import * rmv alreadyUploaded * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * set fs next * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * fix lint false positive * upload chunks in parallel * fix upload wg * fix dataBuffers * add logs and dec workers * discard body is status ok * set idle connections * fix lint * fix content type header * set blocks to 60 and add fasthttp * set updated in progress * rmv in load * fix lint * add mock for fasthttp * cleanup * add worker support * fix import * rmv alreadyUploaded * fix lint false positive * set fs next * add timer * add timer --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com>
dabasov
added a commit
that referenced
this pull request
Feb 23, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * fix req complete cb (#1381) * use custom fasthttp * release request * use writeAt * use custom fasthttp * release request * use writeAt * fix offset * rmv file sync * add writeAt to memFile and file writer * fix js writeAt * use hostClient * rm fastClient * add chan buffer * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * download progress storer * fix naming * fix resume download * fixed resp format * rmv log * fixed resp format * fix last block size * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * merge sprint-1.13 * fixed merge error * fix file callback (#1391) * priority download (#1399) * add option to select all * priority download * fix download with auth ticket * regenerated mocks --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com>
Jayashsatolia403
added a commit
that referenced
this pull request
Sep 8, 2024
* Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Merge staging (#1365) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * fix err msg (#1361) * fix err msg * calc root hash once --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats (#1356) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * Fix stake pool stats --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * list pagination (#1368) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add pagination in list --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix sync in windows (#1370) * Add option for mimeType (#1372) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * add mimeType as option --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix shutdown blobber (#1374) (cherry picked from commit 0fbb702) * Cancel upload (#1332) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag (#1220) * Feature/ Challenge based on rounds (#1191) * Fix * Fix * Fix * Fix * Fix * Debug * Debug * Debug * Fix * Heavy logging * Fix * More logging * Changed logging * Removed logging * Debug * Fix * Fix * Fix * expose send in wasm (#1225) * fix rename dir err (#1226) * Txnfee send (#1227) * add txnfee for send function * return txn verify output * add rename dir (#1230) * Async read (#1213) * basic timings for download * upload timings * to seconds * more timings for upload processing * display ms properly * cleanup * fix merge * fix merge * add more timing logs * fix dur to ms * add timings to read and build data * async read * range over errChan * fix unit test * rmv ctx cancel from multi upload * wait for last chunk * fix loop * rmv readChunk timing * increase buffer size * rmv timing logs * cleanup * updated go to version 1.20 * use -buildvcs=false --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Wasm for `move`, `rename`, `copy` (#1233) * add demo for move, rename and copy * remove debug logs --------- Co-authored-by: Yury <yuderbasov@gmail.com> * Feat/streaming server in winsdk (#1228) * fix move when srcPath is same as destPath (#1239) * fix(upload):fixed invalid ffmpeg command in transcode feature (#1236) * fix(upload):fixed invalid ffmpeg command in transcode feature * fix(upload): always delete transcode output file * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(upload): fixed HideWindow issue * fix(devops): fixed build-windows * fix(mobilesdk): add logging for MultiUpload * fix(mobilesdk): fixed file permission issue on transcode * fixed lint error --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Fix web streaming - wasm (#1237) * Do not send GET http request with body * Use downloadBlocks to download in player_file * Call ListDir to get file meta * Format * Download 100 blocks each time by default * Fix downloadBlocks Track the downloaded bytes and trunk the padding 0 bytes * Update downloadBlocks to download blocks concurretly Use the same download method with downloadFileByBlocks * Add ActualFileSize in PlayListFile * Update wasm_exec.js to go 1.21.0 * Update version * Replace alloc.DownloadBlocks with DownloadBlocksToFileHandler * Add concurrency control (#1245) * control file ops concurrency * cleanup * add batch size to multi op * Fix/stream tests (#1247) * fix(upload): fixed file name issue in webstreaming * removed unused code * fix share consensus (#1246) * List optimization (#1240) * list optimization * list optimization * fix list hash * add to wg * fix list test * check consensus * fix listDir test * use once for mock calls * added sharders keep list (#1231) * added sharders keep list * added holder to zboxcore * removed duplicated sharder call * fixed lint * fixed panic * fixed panic * fixed panic * fixed panic * fixed panic * added consensus * added consensus * added consensus * refactored * refactored * refactored * chec alloc and prev alloc root (#1250) * add check for chunkNumber (#1253) * add check for chunkNumber * add err log * fix save progress * split-key handler implemented in wasm sdk * chnaging go version for cdn * bumped version * minor refactoring * bumping wasm_exec.js version * Refactoring unnecessary structs * create new conID (#1256) * debugging consoles added * fix statusbar update (#1257) * lint fixes * lint ignore * nolint: unused added * use httpdo for create connection (#1259) * Add create dir in repair (#1262) * fix delete dir err in cb * add way to create dir in repair * add desc for transaction data (#1263) * Feature: provide audit zcnswap and refactor if needed (#1205) * feature: modifies zcnswap to be consitent with zcnbridge * fix: fixed bugs * fix: removed dead code * feature: extended key store logic * fix: fixed bugs * fix: fixed conflicts * fix: removed dead code * fix: fixed bugs * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * fix * updated wasm binary build fix. * feature: added test case for swap logic * fix: resolved dependency conflicts * fix: fixed bugs * feature: added zcn eth rate fetch logic * Update blobber.go * Update authorizers_query.go * feature: replaced confusing param naming * fix: updated bridge initialization in wasm bridge integration * fix: replaced value amount with correct value * fix: wrong test case values * feature: switch to the usage of zcn token smart contract * fix: fixed bridge tests --------- Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> * Feat/exposed cli methods in winsdk (#1248) * feat(winsdk): added CreateWallet * feat(winsdk): added RecoverWallet * feat(winsdk): added logging in CreateWallet and RecoverWallet * feat(winsdk): split InitSDK into InitZCNSDK and InitWallets * feat(winsdk): fixed zboxApiClient initialization issue * feat(winsdk): renamed init sdks * feat(winsdk): fixed init zboxApiClient issue * fix(winsdk): fixed RecoverWallet naming * fix(winsdk): fixed file name issue in GetUploadStatus for transcode feature * feat(winsdk): added GetFileContentType in winsdk * feat(winsdk): added ListAllocations * feat(winsdk): added CreateFreeAllocation * feat(winsdk): added allocation methods * fix(winsdk): added logs * feat(zboxapi): added GetFreeStorage * feat(zboxapi): also send X-App-ID-Token in header * fix(winsdk): skip TestGetFreeStorage * fix(winsdk): added getAllocationWith * fix(zboxapi): used local signHash instead of sys.SignFunc * fix(zboxapi): fixed token issue in GetFreeStorage * fix(list): exported ThumbnailHash and ThumbnailSize in ListResult * fix(0box): fixed GetFreeStorage/CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * fix(winsdk): renamed jwtToken with token in CreateFreeAllocation * feat(winsdk): added GetFreeMarker * feat(winsdk): added AddSharedInfo/DeleteSharedInfo/GetSharedToMe/GetSharedByMe * feat(winsdk): added CreateAuthTicket/DeleteAuthTicket * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): fixed GetSharedToMe/GetSharedByMe * feat(winsdk): exported CreateAuthTicket/DeleteAuthTicket/CreateSharedInfo/DeleteSharedInfo/GetSharedByMe/GetSharedByPublic/GetSharedToMe * Fix/fail shardedr on bad code (#1264) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * updated wasm binary build fix. * README grammar and formatting tweaks. * Merge remote-tracking branch 'origin/feature/sharder-keep-list' into feature/sharder-keep-list --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> * Fix/roll logs (#1266) * Added lumberjack logger * Added lumberjack logger * fix:download file/thumbnail by authticket in winsdk (#1265) * feat(winsdk): added GetWalletBalance (#1267) * enabled gosdk update for sprint branches (#1268) * Revert "enabled gosdk update for sprint branches (#1268)" (#1269) This reverts commit 201b8bd. * fix in progress callback (#1270) * Cleanup update terms from update allocation (#1274) * Improve download performance (#1271) * improve download performance * add read buffer size * add hash option * fix lint test * set default to true * log for data * fix read * feature: add reset nonce for bridge (#1279) * Add registerAuthorizer to wasm (#1275) * Hotfix/parse hostname error (#1241) * Fix/remove path (#1221) * feature: added more test cases * fix: fixed existing test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added more test cases * feature: added more test cases * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * feature: added mocks * fix: fixed bugs * fix: fixed mocks * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: made components internal * Add webstreaming to multiupload (#1190) * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * fix dup upload consensus (#1195) * Fix multiupload completed callback (#1172) * remove unnecessary print * fix delete and createdir * return major error * add webstreaming * fix typos * add webstreaming to wasm multiupload * fix typo * cleanup * fix completed callback * Feat/update methods in WinSDK (#1198) * delete dir in repair (#1196) * delete dir in repair * replace ioutil * fix unit test * fix list worker test * fix rename dir error * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * Add NFT Config contract (#1212) * Silent the zcnbridge http request when --silent (#1207) * Change the return type of downloadBlocks to []byte in wasm (#1218) * change the order of exchanges to get the ZCN prices (#1216) * Deprecate non multi-operation functions (#1214) * remove CreateDir, Rename, Copy, Move * use docker build wasm * use @v4 version of git action * Revert "use @v4 version of git action" This reverts commit fbb93f2. * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml * remove path header, fix ws tag --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Revert "Fix/remove path (#1221)" (#1222) This reverts commit 464260a. * remove path header, fix ws tag * remove path header, fix ws tag (#1223) * remove path header, fix ws tag * fixed broken build --------- Co-authored-by: din-mukhammed <dimash.r53@gmail.com> * Updated self hosted macos runner (#1219) * Updated self hosted macos runner * fixed runner name build-sdks.yml (cherry picked from commit 1c9f143) * added logging * updated wasm binary build fix. * updated wasm binary build fix. (cherry picked from commit 2571888) * README grammar and formatting tweaks. --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> * Adding RegisterAuthorizer method in wasmsdk (#1273) * Adding RegisterAuthorizer method in wasmsdk * Fix:wasm test fail * Adding demo for RegisterAuthorizer handler in wasm * Js and Go bridge implementation * RegisterAuthorizer handler changes and adding Async Js bridge * golangci-lint fixes * Added error handling in setSplitKey and setAuthURL * Refactoring wasm exposed handlers * Setting split key wallet before setting auth url in setAuthURL's demo * Lint Fixes after resolving conflicts * upload optimization (#1281) * add sha256 simd and blake3 * add hash chan * fix lint and unit test * fix MHash * rmv timing log * fix thumbnail hash * added logging * added logging * hotfix * hotfix * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * experiment * Sprint 1.11 revert (#1284) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * rmv channel hasher (#1285) * Fix submit txn (#1287) * Feature: add BNT, USDC and EURC tokens for Swap (#1277) * feature: add multiple token support for swap * feature: add correct Bancor API calls * feature: added approve for swap of bancor token * fix: removed debug lines * fix: fixed swap approval * fix: fixed bug * fix: fixed bugs * change hasher (#1288) * change hasher * set max proc to 1 * set batch size to 2 * revert hasher lib changes * increase batch size to 4 * set batch size to 2 * fix build * update chunk reader * run gc * add sleep and decrease batch size * change blake3 * fix operation slice * fix batch size * increase sleep time * add memory pool * increase swg for wasm * reuse chunk reader * fix read chunk * rmv unused package * Remove sleep and GOMAXPROCS=1 * Increase batch size a little --------- Co-authored-by: peterlimg <peterlimg@protonmail.com> * Import eth wallet with index (#1292) * Add import account address index * Make it optional * Feat/import-account-idx (#1294) * Add import account address index * Make it optional * Add account index option * Add account bip32 option (#1295) * Fix allocation min lock (#1297) * create PRs to dependent repos when a PR is merged to sprint branches (#1283) * create PRs to dependent repos when a PR is merged to sprint branches * add branch name * move wasm-build to build-sdk.yml * cleanup sdk-release.yml * Removed padding from the CryptoJS Encrypt and Decrypt functions functions. (#1300) Co-authored-by: Manohar Reddy <b.manu199@gmail.com> * Fix allocation min lock * change chunkNumber for wasm (#1304) * change numBlock for wasm * change numBlocks * revert sdk changes * Feature: implement fork per run strategy (#1299) * feature: added fork creation * fix: fixed bug * feature: improved Tenderly fork creation flow * fix parse error (#1309) * fix parse error * fix log * add swg * Fix memory usage (#1311) * fix memory usage * change hasher to sha2 256 * fix unit test * increase numBlocks * fix thumbnail hash * Fix iso header (#1314) * add ISO check * remove filename field from authticket * fix typo * log auth token * cleanup * Fix zboxcore min submit (#1315) * Fix zboxcore min submit * Fix min submit and min confirmation default configs * Fix unit tests * Fix unit tests * Revert "Fix iso header (#1314)" (#1317) This reverts commit 218d3ed. * Add upload for empty file (#1316) * add upload for empty file * fix hash * check ref * fix actual size * fix empty upload (#1320) * fix read auth ticket (#1319) * allocation validation for data parity shards (#1321) * fix git action to raise PRs to update gosdk (#1313) * test gosdk update * test-gosdk-update * use binary operators instead of terinary * use github.ref * use github ref * add branch name * use quotes * prepare for PR * test work flow dispatch * test extract branch * print env * prepare for PR * feature: added custom block number during Tenderly fork creation (#1323) * Fix/retry tx on nonce error (#1322) * Revert "experiment" This reverts commit 050270f. * Revert "experiment" This reverts commit d4821f8. * Revert "experiment" This reverts commit 9f65b2e. * Revert "experiment" This reverts commit 6313cb8. * Revert "experiment" This reverts commit b6be0b5. * Revert "experiment" This reverts commit 68d4190. * Revert "experiment" This reverts commit 3a23f3f. * Revert "experiment" This reverts commit 6b6578b. * Revert "experiment" This reverts commit 65a0152. * Revert "experiment" This reverts commit 6834b05. * Revert "experiment" This reverts commit 8446894. * Revert "hotfix" This reverts commit 48cf793. * Revert "hotfix" This reverts commit 895c7f0. * Revert "added logging" This reverts commit fafce3c. * Revert "added logging" This reverts commit 10b6a4a. * retry failed transaction in zbox with nonce error * Fix wm rollback (#1324) * fix wm rollback * fix rb check * version logs * fix prev version * cleanup * Cleanup free storage update allocation (#1325) * remove batch size (#1327) * fix retry op callback (#1329) * Revert "remove batch size (#1327)" (#1328) This reverts commit 310edbb. * fix cancel upload * Add `force` param for getAllocationBlobbers wasm (#1330) * fix retry callback (#1331) * Fix fill panic (#1334) * fix fill shards panic * add log for fill err * fix err * add cancel upload to wasm * fix proxy * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) * Sprint changes (#1355) * Update sprint 1.12 (#1341) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix trailing whitespace (#1343) * Merge staging changes (#1346) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * fix upload select (#1351) * fix workdir in mobile sdk (#1345) * fix mobile workdir * set multi op batch size * set option to download to disk in wasm (#1348) * fix panic in hash chan (#1352) * Fix merge conflict in sprint-1.12 (#1354) * wait for repair and increase numBlocks (#1338) * reorder wait group done (#1340) * hotfix / remove hard coded prefix handling of encrypted upload (#1344) * remove hard coded prefix handling of encrypted upload * fix for other parts of the file * increase batch size (#1349) --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * repair in batches (#1347) * repair in batches * fix lint * fix unit test * fix batch size --------- Co-authored-by: Yury <yuderbasov@gmail.com> --------- Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> * fix repair after update (#1357) * use mo ctx as parent * fix wasm build * empty commit * fix ctx --------- Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> * Fix auth response on wasm (#1359) * Fix auth response on wasm * Fix verifyHandler * Fix auth sign wasm * Update pkg for gomobile * Remove test code * fixed lint --------- Co-authored-by: dabasov <yuderbasov@gmail.com> * Download buffer (#1363) * revert index changes * revert close changes * rmv data buffer * download buffer * fix write to file * rmv len check * fix decodeEC ut * fix remaining size * cleanup * fix mem chan file * fix req complete cb (#1381) * get hardfork round by name (#1385) * get hardfork round by name * fix naming * fix default hardfork round * made GetFreeAllocationBlobbers public * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder * fixed resp format * fixed resp format * [wasm] Expose minersc - stakePool/unstakePool collect rewards (#1386) * replaced coingecko url with internal price url (#1379) * Add miner/sharder stake and unstake support * Add collect rewards for miner/sharder --------- Co-authored-by: Gaurang Patel <gbp301195@gmail.com> * Use zcncore transaction for storagesc to support 2fa * Remove duplicate Execute transaction in packages * Expose claim rewards to wasm * Fix collect rewards * Fix transaction output * Fix send token * 2FA file operation support * Fix 2FA copy/rename operations * Differ 2FA Sign and normal Sign * Add SplitKeysWallet to split keys and return wallet * Add methods to set split keys and persist * Add isSplit field to wallet to indicate whether the wallet is split or not * Fix send with zauth * Add zauth functions * Add zauth config for zboxcli * Resolve conflicts for setClientInfoWithSign * Update to support zauth server signing * Add zauth wasm * Update CallZauthSetup func * Add wasm methods to support zvault and zauth * Adjust zvault callback funcs * Update setWallet to introduce isSplit and peerPublicKey * Register zauth server properly * Init ZCNSDK with split option * Clean up debug logs * Fix write marker signature verify * Adjust wasm auth sign * Adjust wasm auth common sign * ScryptEncrypt key does not have to be 32, it's the derivate key from salt need to be 32. * Add passphrase requirement for auth keys store and generate * Add multiple users support zauth server * Fix wasm panic on auth error * Fix invalid signature after updating allocation * Fix errors after meging staging * Add missing functions for wasm worker mode * Add revoke and expiredAt field to split wallet for zauth * Add CallZauthRevoke * Add CallZauthDelete method * Add zauthServer address env to web worker * Add more zvault wasm methods * Remove pubkey from registerZauthServer * Fix BLE with web worker - Communicate the auth and response via web worker event data, from worker to main thread and vice verse. - Add msgType to differ the event data * Fix none BLE sign * Comment unused method * Update worker wallet with event * Fix conflicts after cherry-pick * Fix sign * fix: renamed header used for jwt session creation (#1553) * Feature: add additional zvault endpoints for WASM (#1554) * fix: renamed header used for jwt session creation * feature: added wasm functions for zvault endpoints * fix: fixed signature hash function (#1564) * feature: added shared wallets retrieval calls (#1567) * feature: migrated to use user id instead of phone number to issue jwt tokens * hotfix: fixed mobilesdk signature * fix merge errors * fix: debug * fix: debug * fix: debug * fix: debug * fix: debug * fix: debug * fix: debug * fix: debug * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed bugs * fix: fixed sign function initialization * add customMeta field for upload * add callback for repair progress in update with reapir * fix start processor for upload in wasm * initalize sub map * fix: failing dex transaction * fix: return transaction nonce if certain status code received * fix: fixed wallet info initialization * Remove unnecessary print statement * Remove unnecessary print statement * More cleanup (#1597) * remove debug print statements from NewTransaction method. * Revert "Repair progress" * fix merged changes * fix error output while executing a sc. * Fix * Fix * Fix * Fix * Fix tests * Fix lint * Fix * Empty commit --------- Co-authored-by: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Co-authored-by: Ebrahim Gomaa <ebrahim.gomaa.hg@gmail.com> Co-authored-by: peterlimg <54137706+peterlimg@users.noreply.github.com> Co-authored-by: Yury <yuderbasov@gmail.com> Co-authored-by: Roshan Kumar <56060325+Roshan-Mehta@users.noreply.github.com> Co-authored-by: Manohar Reddy <b.manu199@gmail.com> Co-authored-by: YarikRevich <yariksvitlitskiy2@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <53532703+YarikRevich@users.noreply.github.com> Co-authored-by: Dinmukhammed Kambarov <52813950+din-mukhammed@users.noreply.github.com> Co-authored-by: Lz <imlangzi@qq.com> Co-authored-by: Yaroslav Svitlytskyi <yariksvitlitskiy81@gmail.com> Co-authored-by: Kishan Dhakan <42718091+Kishan-Dhakan@users.noreply.github.com> Co-authored-by: shahnawaz-creator <117025384+shahnawaz-creator@users.noreply.github.com> Co-authored-by: din-mukhammed <dimash.r53@gmail.com> Co-authored-by: shahnawaz-creator <msac8225@gmail.com> Co-authored-by: Ash-KODES <choudharykumarashutosh1209@gmail.com> Co-authored-by: Yaroslav Svitlytskyi <yaroslavsvitlytskyi@Yaroslavs-MacBook-Pro.local> Co-authored-by: UncertainBadg3r <139782199+UncertainBadg3r@users.noreply.github.com> Co-authored-by: peterlimg <peterlimg@protonmail.com> Co-authored-by: Tanishq Gupta <52757132+tanishq67@users.noreply.github.com> Co-authored-by: GuruHubb <sbasu999@gmail.com> Co-authored-by: Gaurang Patel <gbp301195@gmail.com> Co-authored-by: Hitenjain14 <hitenjain146@gmail.com> Co-authored-by: yash10019coder <yashverma10019@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Fixes
Tests
Tasks to complete before merging PR:
Associated PRs (Link as appropriate):