go-ethereum/internal
willian.eth 52ed3570c4
cmd: migrate to urfave/cli/v2 (#24751)
This change updates our urfave/cli dependency to the v2 branch of the library.
There are some Go API changes in cli v2:

- Flag values can now be accessed using the methods ctx.Bool,
  ctx.Int, ctx.String, ... regardless of whether the flag is 'local' or
  'global'.

- v2 has built-in support for flag categories. Our home-grown category
  system is removed and the categories of flags are assigned as part of
  the flag definition.

For users, there is only one observable difference with cli v2: flags must now
strictly appear before regular arguments. For example, the following command is
now invalid:

   geth account import mykey.json --password file.txt

Instead, the command must be invoked as follows:

   geth account import --password file.txt mykey.json
2022-06-27 18:22:36 +02:00
..
build all: more linters (#24783) 2022-06-13 16:24:45 +02:00
cmdtest all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
debug cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
ethapi all: remove public field from rpc.API (#25059) 2022-06-27 13:33:13 +03:00
flags cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00
guide all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
jsre core, eth, internal, rpc: implement final block (#24282) 2022-05-18 17:30:42 +03:00
shutdowncheck eth, les: update unclean shutdown markers regularly (#24077) 2021-12-17 15:18:51 +01:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog internal/testlog: print file+line number of log call in test log (#20528) 2020-01-08 17:11:51 +02:00
utesting all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
web3ext ethdb/remotedb, cmd: add support for remote (readonly) databases (#24836) 2022-05-18 17:27:17 +03:00