@@ -45,14 +45,17 @@ public partial class ApiSpecification : BddSpecification
4545
4646 // BlockStore
4747 private const string BlockUri = "api/blockstore/block" ;
48+
4849 private const string GetBlockCountUri = "api/blockstore/getblockcount" ;
4950
5051 // ConnectionManager
5152 private const string AddnodeUri = "api/connectionmanager/addnode" ;
53+
5254 private const string GetPeerInfoUri = "api/connectionmanager/getpeerinfo" ;
5355
5456 // Consensus
5557 private const string GetBestBlockHashUri = "api/consensus/getbestblockhash" ;
58+
5659 private const string GetBlockHashUri = "api/consensus/getblockhash" ;
5760
5861 // Mempool
@@ -63,21 +66,25 @@ public partial class ApiSpecification : BddSpecification
6366
6467 // Node
6568 private const string GetBlockHeaderUri = "api/node/getblockheader" ;
69+
6670 private const string GetRawTransactionUri = "api/node/getrawtransaction" ;
6771 private const string GetTxOutUri = "api/node/gettxout" ;
6872 private const string StatusUri = "api/node/status" ;
6973 private const string ValidateAddressUri = "api/node/validateaddress" ;
7074
7175 // RPC
7276 private const string RPCCallByNameUri = "api/rpc/callbyname" ;
77+
7378 private const string RPCListmethodsUri = "api/rpc/listmethods" ;
7479
7580 // Staking
7681 private const string StartStakingUri = "api/staking/startstaking" ;
82+
7783 private const string GetStakingInfoUri = "api/staking/getstakinginfo" ;
7884
7985 // Wallet
8086 private const string AccountUri = "api/wallet/account" ;
87+
8188 private const string GeneralInfoUri = "api/wallet/general-info" ;
8289 private const string BalanceUri = "api/wallet/balance" ;
8390 private const string RecoverViaExtPubKeyUri = "api/wallet/recover-via-extpubkey" ;
@@ -425,7 +432,7 @@ private void a_full_list_of_available_commands_is_returned()
425432 {
426433 var commands = JsonDataSerializer . Instance . Deserialize < List < RpcCommandModel > > ( this . responseText ) ;
427434
428- commands . Count . Should ( ) . Be ( 32 ) ;
435+ commands . Count . Should ( ) . Be ( 33 ) ;
429436 commands . Should ( ) . Contain ( x => x . Command == "stop" ) ;
430437 commands . Should ( ) . Contain ( x => x . Command == "getrawtransaction <txid> [<verbose>] [<blockhash>]" ) ;
431438 commands . Should ( ) . Contain ( x => x . Command == "gettxout <txid> <vout> [<includemempool>]" ) ;
@@ -471,14 +478,14 @@ private void status_information_is_returned()
471478 statusResponse . DataDirectoryPath . Should ( ) . Be ( statusNode . Settings . DataDir ) ;
472479
473480 List < string > featuresNamespaces = statusResponse . FeaturesData . Select ( f => f . Namespace ) . ToList ( ) ;
474- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Base.BaseFeature" ) ;
475- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.Api.ApiFeature" ) ;
476- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.BlockStore.BlockStoreFeature" ) ;
477- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.Consensus.PowConsensusFeature" ) ;
478- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.MemoryPool.MempoolFeature" ) ;
479- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.Miner.MiningFeature" ) ;
480- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.RPC.RPCFeature" ) ;
481- featuresNamespaces . Should ( ) . Contain ( "Stratis.Bitcoin .Features.Wallet.WalletFeature" ) ;
481+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Base.BaseFeature" ) ;
482+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.Api.ApiFeature" ) ;
483+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.BlockStore.BlockStoreFeature" ) ;
484+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.Consensus.PowConsensusFeature" ) ;
485+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.MemoryPool.MempoolFeature" ) ;
486+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.Miner.MiningFeature" ) ;
487+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.RPC.RPCFeature" ) ;
488+ featuresNamespaces . Should ( ) . Contain ( "Blockcore .Features.Wallet.WalletFeature" ) ;
482489
483490 statusResponse . FeaturesData . All ( f => f . State == "Initialized" ) . Should ( ) . BeTrue ( ) ;
484491 }
0 commit comments