wallet/ now only dev-depends on core/

This commit is contained in:
Michael Vines
2019-03-16 17:43:39 -07:00
parent ad252fe4c5
commit e2c24481e4
15 changed files with 29 additions and 17 deletions

View File

@ -8,6 +8,7 @@ pub mod native_loader;
pub mod native_program;
pub mod packet;
pub mod pubkey;
pub mod rpc_port;
pub mod shortvec;
pub mod signature;
pub mod system_instruction;

5
sdk/src/rpc_port.rs Normal file
View File

@ -0,0 +1,5 @@
/// Default port number for JSON RPC API
pub const DEFAULT_RPC_PORT: u16 = 8899;
/// Default port number for JSON RPC pubsub
pub const DEFAULT_RPC_PUBSUB_PORT: u16 = 8900;