You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// processStageLastestBlockDownload is the third catchpoint catchup stage. It downloads the latest block and verify that against the previously downloaded ledger.
cs.log.Infof("processStageLastestBlockDownload: block %d verification against catchpoint failed, another attempt will be made; err = %v", blockRound, err)
372
386
continue
373
387
}
374
388
returncs.abort(fmt.Errorf("processStageLastestBlockDownload failed when calling VerifyCatchpoint : %v", err))
Copy file name to clipboardexpand all lines: catchup/ledgerFetcher.go
+17-8
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ import (
27
27
"strconv"
28
28
"time"
29
29
30
+
"github.com/algorand/go-algorand/config"
30
31
"github.com/algorand/go-algorand/data/basics"
31
32
"github.com/algorand/go-algorand/ledger"
32
33
"github.com/algorand/go-algorand/logging"
@@ -39,12 +40,8 @@ var errNoLedgerForRound = errors.New("No ledger available for given round")
39
40
const (
40
41
// maxCatchpointFileChunkSize is a rough estimate for the worst-case scenario we're going to have of all the accounts data per a single catchpoint file chunk.
Copy file name to clipboardexpand all lines: cmd/goal/asset.go
+4-4
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ func init() {
67
67
createAssetCmd.MarkFlagRequired("creator")
68
68
69
69
destroyAssetCmd.Flags().StringVar(&assetManager, "manager", "", "Manager account to issue the destroy transaction (defaults to creator)")
70
-
destroyAssetCmd.Flags().StringVar(&assetCreator, "creator", "", "Account address for asset to destroy")
70
+
destroyAssetCmd.Flags().StringVar(&assetCreator, "creator", "", "Creator account address for asset to destroy")
71
71
destroyAssetCmd.Flags().Uint64Var(&assetID, "assetid", 0, "Asset ID to destroy")
72
72
destroyAssetCmd.Flags().StringVar(&assetUnitName, "asset", "", "Unit name of asset to destroy")
73
73
@@ -256,7 +256,7 @@ var createAssetCmd = &cobra.Command{
256
256
vardestroyAssetCmd=&cobra.Command{
257
257
Use: "destroy",
258
258
Short: "Destroy an asset",
259
-
Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset owner, who must hold all outstanding asset tokens.`,
259
+
Long: `Issue a transaction deleting an asset from the network. This transaction must be issued by the asset manager while the creator holds all of the asset's tokens.`,
260
260
Args: validateNoPosArgsFn,
261
261
Run: func(cmd*cobra.Command, _ []string) {
262
262
checkTxValidityPeriodCmdFlags(cmd)
@@ -603,8 +603,8 @@ var infoAssetCmd = &cobra.Command{
0 commit comments