public function setLostTransactions($blockId, $lostTransactions) {
public function setLostTransactions(int $blockId, int $lostTransactions) {
try {
try {
@ -162,7 +162,7 @@ class SQLite {
}
}
}
}
public function addNameSpace($hash) {
public function addNameSpace(string $hash) {
try {
try {
@ -179,7 +179,7 @@ class SQLite {
}
}
}
}
public function addData($blockId, $nameSpaceId, $time, $size, $txid, $key, $value, $ns, $deleted = false) {
public function addData(int $blockId, int $nameSpaceId, int $time, int $size, string $txid, string $key, string $value, string $ns, bool $deleted = false) {
try {
try {
@ -234,7 +234,7 @@ class SQLite {
}
}
}
}
public function setDataKeyDeleted($nameSpaceId, $key, $deleted) {
public function setDataKeyDeleted(int $nameSpaceId, string $key, bool $deleted) {